/* ==========================================================================
   Маркази рушди зеҳнӣ + Mukofot — дизайн-система (мавзӯи равшан)
   Шрифтҳо: Cormorant Garamond (сарлавҳаҳо) + Onest (матн) —
   ҳарду ҳарфҳои тоҷикии ғ ӣ қ ӯ ҳ ҷ-ро пурра дастгирӣ мекунанд.
   ========================================================================== */

:root {
  /* кабуд */
  --blue-900: #12306A;
  --blue-800: #163A7A;
  --blue-700: #1D4590;
  --blue-600: #2757B0;
  --blue-500: #3468C4;
  --blue-100: #E2EAF8;
  --blue-50:  #F1F5FC;

  /* тилло */
  --gold-800: #7E5820;
  --gold-700: #825C25;
  --gold-600: #A9782E;
  --gold-500: #C0913F;
  --gold-400: #D6AE62;
  --gold-300: #E9CC8D;
  --gold-200: #F4E3BB;
  --gold-100: #FAF0D9;

  /* заминаҳо */
  --white: #FFFFFF;
  --ivory-50: #FFFDF8;
  --ivory-100: #FBF6EC;
  --ivory-200: #F5ECDA;
  --sky: #F4F7FD;

  /* матн */
  --ink: #0F1D36;
  --ink-2: #2A3852;
  --muted: #5A6578;
  --line: rgba(15, 29, 54, .1);
  --line-2: rgba(15, 29, 54, .18);
  --line-gold: rgba(192, 145, 63, .38);

  --green: #1E9A61;
  --green-text: #167147;
  --amber: #D08A1E;
  --amber-text: #8F5A0E;
  --grey: #8E97A6;
  --num: #A07432;
  --wa: #188645;

  --gold-grad: linear-gradient(120deg, #F7E3AE 0%, #DDB566 32%, #B4843A 60%, #E8C987 84%, #C0913F 100%);
  --gold-text: linear-gradient(120deg, #A27632 0%, #A9762A 42%, #8A5D1E 68%, #A27632 100%);

  --font-display: "Cormorant Garamond", "Noto Serif", Georgia, "Times New Roman", serif;
  --font-body: "Onest", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;
  --section-y: clamp(80px, 9.5vw, 132px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 30px 60px -38px rgba(15, 29, 54, .35);
  --shadow-gold: 0 26px 50px -30px rgba(150, 105, 35, .55);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Cormorant ба таври пешфарз рақамҳои «кӯҳна» дорад — ҳамаро ҳамвор мекунем
   (!important лозим аст, чунки шартномаи `font:` ин хосиятро бозмегардонад) */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
ul[class], ol[class] { list-style: none; padding: 0; }
[class*="__grid"] > * { min-width: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold-300); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }
body.is-locked { overflow: hidden; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--gold-300); color: var(--ink);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 20px;
  font: 600 12px/1.45 var(--font-body);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before { content: ""; flex: 0 0 34px; height: 1.5px; background: var(--gold-grad); }
.eyebrow b { color: var(--blue-700); font-weight: 700; }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 em, .gold-text, .hero__title em {
  font-style: italic; font-weight: 600;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.lead {
  margin-top: 20px; max-width: 580px;
  font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
.section-head { margin-bottom: clamp(38px, 5vw, 60px); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; flex: 0 0 34px; height: 1.5px; background: var(--gold-grad); }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 28px;
  font: 600 15px/1.3 var(--font-body);
  text-align: center; text-decoration: none;
  border: 1px solid transparent; border-radius: 12px;
  cursor: pointer;
  transition: background-position .6s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease), border-color .3s, color .3s, background-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold {
  color: #2B1D06;
  background: var(--gold-grad); background-size: 220% 100%; background-position: 0 0;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn--blue { color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); box-shadow: 0 20px 40px -24px rgba(29, 69, 144, .8); }
.btn--blue:hover { transform: translateY(-2px); box-shadow: 0 26px 46px -24px rgba(29, 69, 144, .9); }
.btn--wa { color: #fff; background: var(--wa); box-shadow: 0 18px 36px -22px rgba(31, 175, 90, .9); }
.btn--wa:hover { background: #127D3E; transform: translateY(-2px); }
.btn--wa svg { width: 21px; height: 21px; }
.btn--wa:hover svg { transform: none; }
.btn--outline { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, .7); }
.btn--outline:hover { border-color: var(--gold-500); color: var(--gold-800); background: #fff; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--blue-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s;
}
.header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(15, 29, 54, .45); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 52px; height: 52px; flex: none; border-radius: 50%; filter: drop-shadow(0 6px 10px rgba(16, 38, 84, .18)); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font: 700 22px/1 var(--font-display); letter-spacing: .14em; white-space: nowrap; color: var(--ink); }
.brand__name small { font-size: 13px; letter-spacing: .1em; color: var(--gold-600); margin-left: 2px; }
.brand--cid .brand__name { font-weight: 700; font-size: 21px; letter-spacing: 0; line-height: 1.08; white-space: normal; color: var(--blue-800); }
.brand__tag { margin-top: 6px; font: 600 9.5px/1.2 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-700); white-space: nowrap; }

.nav { display: none; gap: 28px; margin-inline: auto; }
.nav a {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.nav__pill { padding: 7px 14px; border-radius: 999px; background: var(--gold-100); color: var(--gold-800); font-weight: 600; }
.nav a.nav__pill::after { display: none; }
.nav a.nav__pill:hover { background: var(--gold-200); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.header__cta { display: none; }

.lang { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  min-width: 34px; padding: 8px 8px; border-radius: 999px;
  font: 600 12px/1 var(--font-body); letter-spacing: .05em;
  color: var(--muted);
  transition: color .25s, background-color .25s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--blue-700); color: #fff; }

.burger {
  appearance: none; border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-content: center; gap: 6px; padding: 0; flex: none;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 18px var(--gutter) 32px;
  background:
    radial-gradient(500px 360px at 100% 0%, rgba(233, 204, 141, .35), transparent 60%),
    var(--white);
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 600 30px/1.15 var(--font-display); text-decoration: none; color: var(--ink);
}
.mobile-menu nav a b { font-weight: 600; }
.mobile-menu nav a span { font: 600 13px/1 var(--font-body); color: var(--gold-800); letter-spacing: .1em; }
.mobile-menu__foot { display: grid; gap: 12px; }
.mobile-menu__foot a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 15px; }

/* ---------- Breadcrumb (саҳифаи Mukofot) ---------- */
.crumb { background: var(--blue-50); border-bottom: 1px solid var(--blue-100); font-size: 13.5px; }
.crumb__inner { display: flex; align-items: center; gap: 10px; min-height: 42px; flex-wrap: wrap; padding-block: 6px; }
.crumb a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-weight: 600; text-decoration: none; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumb img { width: 22px; height: 22px; }
.crumb__inner > span { color: var(--muted); }

/* ==========================================================================
   MUKOFOT — саҳифаи озмунҳо
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(44px, 6.5vw, 92px) 0 clamp(60px, 7vw, 100px);
  background:
    radial-gradient(820px 600px at 80% 40%, rgba(233, 204, 141, .42), transparent 62%),
    radial-gradient(600px 420px at 0% 100%, rgba(52, 104, 196, .08), transparent 70%),
    linear-gradient(180deg, var(--ivory-50) 0%, var(--white) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(169, 120, 46, .16) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 60%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__title em { padding-right: .08em; }
.hero__lead { margin-top: 26px; max-width: 540px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__actions .btn { flex: 1 1 auto; }

.stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  margin-top: 46px; padding-top: 26px;
  border-top: 1px solid var(--line-gold);
}
.stats li { padding: 0 clamp(16px, 3vw, 38px); border-left: 1px solid var(--line-gold); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats b {
  display: block;
  font: 700 clamp(34px, 4vw, 50px)/1 var(--font-display);
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { display: block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.hero__visual { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 1.02; }
.hero__rings { position: absolute; inset: -4%; width: 108%; height: 108%; color: var(--gold-500); }
.hero__rings .spin { transform-origin: 50% 62%; animation: spin 80s linear infinite; }
.hero__glow {
  position: absolute; left: 50%; top: 62%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 236, 190, .95), rgba(255, 236, 190, 0) 66%);
}
.medal { position: absolute; inset: 0; margin: auto; width: 82%; height: 100%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 34px 34px rgba(140, 98, 30, .3)); }
.medal-shine { animation: shine 7s ease-in-out infinite; }

.chip {
  position: absolute; z-index: 2;
  padding: 13px 18px 14px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-gold); border-radius: 14px;
  box-shadow: 0 22px 40px -24px rgba(120, 85, 30, .45);
}
.chip small { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.chip strong { display: block; font: 700 clamp(19px, 2vw, 24px)/1.1 var(--font-display); color: var(--ink); white-space: nowrap; }
.chip--date { left: 0; bottom: 5%; }
.chip--place { right: 0; top: 30%; }

/* ticker */
.ticker {
  --band: #F4E4BE;
  position: relative; overflow: hidden;
  padding: 16px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 65%),
    linear-gradient(90deg, var(--band) 0%, #FCF3DD 50%, var(--band) 100%);
  border-block: 1px solid var(--line-gold);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(255, 255, 255, .7);
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; pointer-events: none;
  width: clamp(36px, 8vw, 140px);
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--band), rgba(244, 228, 190, 0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--band), rgba(244, 228, 190, 0)); }
.ticker__track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 16px; padding-right: 16px; flex: none; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 22px 7px 7px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(192, 145, 63, .4);
  border-radius: 999px;
  box-shadow: 0 12px 24px -18px rgba(120, 85, 30, .7), inset 0 1px 0 #fff;
  font: 700 clamp(18px, 1.8vw, 22px)/1.1 var(--font-display);
  color: var(--blue-800); white-space: nowrap;
}
.ticker__item::before {
  content: "★"; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font: 15px/1 var(--font-body); color: #fff;
  text-shadow: 0 1px 1px rgba(110, 76, 28, .55);
  background: radial-gradient(circle at 35% 30%, #F7E3AE 0%, #D2A452 55%, #A06F28 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 10px -4px rgba(140, 98, 30, .7);
}

/* values */
.values { padding: var(--section-y) 0; background: var(--ivory-100); }
.values__grid { display: grid; gap: 44px; }
.values__list { display: grid; gap: 16px; }
.value {
  position: relative; padding: 34px 30px 36px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 40px -34px rgba(15, 29, 54, .35);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.value:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: var(--shadow-soft); }
.value__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 26px;
  color: #2B1D06; background: var(--gold-grad);
  box-shadow: var(--shadow-gold);
}
.value__icon svg { width: 26px; height: 26px; }
.value__num { position: absolute; top: 30px; right: 28px; font: 600 24px/1 var(--font-display); color: var(--num); }
.value h3 { font: 700 31px/1.1 var(--font-display); color: var(--ink); }
.value p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* contests */
.contests { padding: var(--section-y) 0; background: var(--white); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  appearance: none; cursor: pointer;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: background-color .25s, color .25s, border-color .25s;
}
.filters button:hover { border-color: var(--gold-500); }
.filters button[aria-pressed="true"] { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.filters button .count { margin-left: 6px; font-size: 12px; opacity: .85; }

.cards { display: grid; gap: 20px; grid-auto-flow: dense; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 450px; padding: clamp(26px, 3vw, 36px);
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 50px -44px rgba(15, 29, 54, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card::before {
  content: ""; position: absolute; z-index: -1;
  width: 300px; aspect-ratio: 1; right: -150px; top: -120px; border-radius: 50%;
  border: 1px solid var(--line);
  outline: 1px solid rgba(15, 29, 54, .05); outline-offset: 34px;
  transition: transform .8s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-gold); box-shadow: var(--shadow-soft); }
.card:hover::before { transform: scale(1.12); }
.card.is-hidden { display: none; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card__label { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue-700); }
.card__num { font: 600 26px/1 var(--font-display); color: var(--num); }
.card__emblem {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 40px 0 28px;
  font: 700 32px/1 var(--font-display); color: var(--blue-700);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease);
}
.card:hover .card__emblem { background: var(--gold-grad); color: #2B1D06; border-color: transparent; transform: rotate(-8deg); }
.card__title { font: 700 clamp(28px, 2.5vw, 34px)/1.08 var(--font-display); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.card__text { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.card__body { padding-bottom: 30px; }
.card__foot { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }

.status { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grey); flex: none; }
.status--open { color: var(--green-text); }
.status--open::before { background: var(--green); animation: pulse 2.2s infinite; }
.status--soon { color: var(--amber-text); }
.status--soon::before { background: var(--amber); }
.status--done { color: var(--blue-700); }
.status--done::before { background: var(--blue-500); }

.card--done { background: linear-gradient(170deg, #fff 45%, var(--blue-50)); }
.card--done .card__emblem { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; border-color: transparent; }
.card__done-note { font-size: 13.5px; font-weight: 600; color: var(--muted); }

.card--featured {
  background:
    radial-gradient(520px 380px at 90% 0%, rgba(255, 255, 255, .85), transparent 60%),
    linear-gradient(150deg, #FFF8E7 0%, #F6E5BF 100%);
  border-color: var(--line-gold);
}
.card--featured::before { border-color: rgba(192, 145, 63, .3); outline-color: rgba(192, 145, 63, .15); }
.card--featured .card__emblem { background: var(--gold-grad); color: #2B1D06; border-color: transparent; box-shadow: var(--shadow-gold); }
.card--featured .card__title span { display: block; font-style: italic; font-weight: 600; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.card--featured .card__text { color: var(--ink-2); max-width: 520px; }
.card--featured .card__foot { border-color: var(--line-gold); }

/* 100 faces */
.faces { padding: var(--section-y) 0; background: var(--sky); }
.faces__grid { display: grid; gap: 52px; align-items: center; }
.faces__stats { display: flex; flex-wrap: wrap; margin-top: 36px; border-top: 1px solid var(--line-2); }
.faces__stats li { flex: 1 1 140px; padding: 24px 22px 0 0; }
.faces__stats li + li { padding-left: 22px; border-left: 1px solid var(--line-2); }
.faces__stats b { display: block; font: 700 clamp(54px, 6vw, 80px)/.95 var(--font-display); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.faces__stats span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.faces .btn { margin-top: 36px; }

.faces-card {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.faces-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.faces-card__head h3 { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--font-display); color: var(--ink); text-wrap: pretty; }
.faces-card__head span { font: 700 22px/1 var(--font-display); color: var(--gold-600); }
.faces-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(5px, 1vw, 10px); }
.faces-grid i {
  position: relative; display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: linear-gradient(150deg, #F7E3AE 0%, #D9AE5E 45%, #B4843A 100%);
  box-shadow: 0 6px 12px -8px rgba(140, 98, 30, .8), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.faces-grid i:nth-child(3n) { background: linear-gradient(150deg, #FBEAC0 0%, #E3BC70 50%, #BD8D40 100%); }
.faces-grid i::before { content: ""; position: absolute; width: 36%; height: 36%; left: 32%; top: 17%; border-radius: 50%; background: rgba(255, 255, 255, .95); }
.faces-grid i::after { content: ""; position: absolute; width: 66%; height: 42%; left: 17%; bottom: -8%; border-radius: 50% 50% 0 0 / 80% 80% 0 0; background: rgba(255, 255, 255, .95); }
.js .faces-grid i { opacity: 0; transform: scale(.4); }
.js .faces-grid.is-in i { opacity: 1; transform: none; transition-delay: calc(var(--i) * 12ms); }
.faces-card__note { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; }

/* process + ceremony */
.process { padding: var(--section-y) 0; background: var(--white); }
.steps { display: grid; gap: 0; }
.step { position: relative; padding: 0 0 38px 46px; }
.step::before { content: ""; position: absolute; left: 8px; top: 16px; bottom: -6px; width: 2px; background: linear-gradient(180deg, var(--gold-400), rgba(214, 174, 98, .15)); }
.step:last-child::before { display: none; }
.step__dot { position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--gold-500); }
.step__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold-grad); }
.step__num { font: 700 46px/1 var(--font-display); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-top: 12px; font: 700 30px/1.1 var(--font-display); color: var(--ink); }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 300px; }

.ceremony {
  position: relative; overflow: hidden;
  margin-top: clamp(52px, 7vw, 90px);
  padding: clamp(28px, 4vw, 52px);
  display: grid; gap: 34px; align-items: center;
  border: 1px solid var(--line-gold); border-radius: 26px;
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(255, 255, 255, .9), transparent 65%),
    linear-gradient(135deg, #FFF8E8 0%, #F5E3BB 100%);
  box-shadow: var(--shadow-gold);
}
.ceremony__date { font: 700 clamp(42px, 5.4vw, 72px)/1 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.ceremony__date em { font-style: italic; font-weight: 600; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.ceremony__place { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink-2); font-size: 16px; font-weight: 500; }
.ceremony__place svg { width: 19px; height: 19px; color: var(--gold-600); }
.ceremony .eyebrow { margin-bottom: 16px; }
.countdown__label { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-800); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div {
  min-width: 0; padding: 18px 6px 14px; text-align: center;
  background: #fff; border: 1px solid var(--line-gold); border-radius: 16px;
  box-shadow: 0 14px 28px -22px rgba(120, 85, 30, .6);
}
.countdown b { display: block; font: 700 clamp(36px, 4.2vw, 56px)/1 var(--font-display); font-variant-numeric: lining-nums tabular-nums !important; color: var(--blue-800); }
.countdown span { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.countdown-done { font: italic 600 26px/1.3 var(--font-display); color: var(--gold-800); }

/* partners */
.partners { padding: var(--section-y) 0; background: var(--ivory-100); }
.partners__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 34px; text-align: center; }
.partners__cta p { font: 700 clamp(22px, 2.2vw, 26px)/1.2 var(--font-display); color: var(--ink); }

/* лентаи логотипҳои шарикон (прокрутка) */
.logo-marquee {
  display: grid; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.logo-marquee__row { overflow: hidden; padding: 8px 0 18px; }
.logo-marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.logo-marquee__track--rev { animation-direction: reverse; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__group { display: flex; gap: 16px; margin: 0; padding: 0 16px 0 0; list-style: none; }
.logo-card {
  flex: none; width: 210px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 36px -30px rgba(15, 29, 54, .5);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s var(--ease);
}
.logo-card:hover { transform: translateY(-5px); border-color: var(--line-gold); box-shadow: var(--shadow-soft); }
.logo-card img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; }
.logo-card img.is-tile { width: auto; aspect-ratio: 1; border-radius: 14px; }
.logo-card--text { flex-direction: column; gap: 6px; text-align: center; padding: 12px 16px; }
.logo-card--text b { font: 700 36px/1 var(--font-display); letter-spacing: .04em; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-card--text small { font-size: 10.5px; line-height: 1.35; font-weight: 600; color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(calc(-1 * var(--shift, 50%))); } }

.partners-strip { padding: clamp(56px, 7vw, 84px) 0 clamp(48px, 6vw, 72px); background: var(--white); border-top: 1px solid var(--line); }
.partners-strip .eyebrow { margin-bottom: 26px; }

/* apply */
.apply { position: relative; overflow: hidden; isolation: isolate; padding: var(--section-y) 0; background: var(--sky); }
.apply__grid { display: grid; gap: 52px; align-items: start; }
.contacts { margin-top: 36px; display: grid; gap: 10px; }
.contacts a {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.contacts a:hover { border-color: var(--line-gold); transform: translateX(4px); box-shadow: 0 16px 30px -26px rgba(15, 29, 54, .5); }
.contacts i { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.contacts svg { width: 20px; height: 20px; }
.contacts small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contacts strong { display: block; margin-top: 2px; font-size: 16.5px; font-weight: 600; color: var(--ink); }

.form-card {
  position: relative; overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow-soft);
}
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold-grad); }
.form-card h3 { font: 700 clamp(28px, 3vw, 36px)/1.1 var(--font-display); color: var(--ink); }
.form-card > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.form { display: grid; gap: 18px; margin-top: 28px; }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font-size: 16px; line-height: 1.4;
  background: var(--sky); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #656F81; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(52, 104, 196, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C9412F; background: #FFF6F4; }
.field__error { display: none; font-size: 13px; color: #B3321F; }
.field.is-invalid .field__error { display: block; }
.form__note { font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.form-success { display: none; gap: 14px; grid-template-columns: auto 1fr; align-items: start; padding: 18px 20px; border: 1px solid rgba(30, 154, 97, .35); border-radius: 14px; background: #EFFAF4; }
.form-success.is-visible { display: grid; }
.form-success svg { width: 26px; height: 26px; color: var(--green); }
.form-success strong { display: block; font-size: 15.5px; }
.form-success p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* footer */
.footer { padding: clamp(60px, 7vw, 90px) 0 28px; background: var(--ivory-100); border-top: 1px solid var(--line-gold); color: var(--ink-2); }
.footer__grid { display: grid; gap: 38px; padding-bottom: 44px; border-bottom: 1px solid var(--line-gold); }
.footer__desc { margin-top: 18px; max-width: 360px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.footer h4 { margin-bottom: 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.footer ul { display: grid; gap: 11px; list-style: none; padding: 0; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--blue-700); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 13px; color: var(--muted); }
.footer__motto { font: italic 600 18px/1.2 var(--font-display); letter-spacing: .03em; color: var(--gold-700); }

/* ==========================================================================
   МАРКАЗИ РУШДИ ЗЕҲНӢ — саҳифаи асосӣ
   ========================================================================== */
.cid-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(44px, 6.5vw, 96px) 0 clamp(60px, 7vw, 104px);
  background:
    radial-gradient(760px 560px at 82% 38%, rgba(52, 104, 196, .16), transparent 62%),
    radial-gradient(540px 380px at 62% 92%, rgba(233, 204, 141, .38), transparent 66%),
    linear-gradient(180deg, var(--sky) 0%, var(--white) 100%);
}
.cid-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(29, 69, 144, .14) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 78% 40%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 78% 40%, #000 0%, transparent 60%);
}
.cid-hero__grid { display: grid; gap: 52px; align-items: center; }
.cid-hero .eyebrow { color: var(--blue-700); }
.cid-hero__title { font: 700 clamp(42px, 12vw, 104px)/.98 var(--font-display); letter-spacing: -.02em; color: var(--blue-900); text-wrap: balance; }
.cid-hero__title em { font-style: italic; font-weight: 600; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.cid-hero__lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); }

.orbit { position: relative; width: 100%; max-width: 470px; margin-inline: auto; aspect-ratio: 1; }
.orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__rings .spin { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
.orbit__glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%); }
.orbit__logo { position: absolute; left: 50%; top: 50%; width: 60%; transform: translate(-50%, -50%); animation: float-c 7s ease-in-out infinite; filter: drop-shadow(0 26px 30px rgba(120, 85, 30, .3)); }
.orbit__chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 18px 36px -24px rgba(15, 29, 54, .5);
  font: 700 clamp(17px, 1.7vw, 21px)/1 var(--font-display); color: var(--blue-800);
  white-space: nowrap;
}
.orbit__chip i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.orbit__chip svg { width: 18px; height: 18px; }
.orbit__chip--1 { left: 0; top: 12%; }
.orbit__chip--2 { right: -2%; top: 38%; }
.orbit__chip--3 { left: 4%; bottom: 20%; }
.orbit__mk {
  position: absolute; right: 0; bottom: 2%; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px;
  background: linear-gradient(150deg, #FFF9EA, #F5E3BB); border: 1px solid var(--line-gold); border-radius: 18px;
  box-shadow: var(--shadow-gold);
  text-decoration: none; color: var(--ink);
  transition: transform .35s var(--ease);
}
.orbit__mk:hover { transform: translateY(-3px); }
.orbit__mk i { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #2B1D06; background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.orbit__mk i svg { width: 23px; height: 23px; }
.orbit__mk b { display: block; font: 700 19px/1.1 var(--font-display); letter-spacing: .06em; }
.orbit__mk small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--gold-800); }

.quote-band {
  padding: clamp(56px, 7vw, 96px) 0; text-align: center;
  background: linear-gradient(90deg, var(--blue-50), #FBFCFF 50%, var(--blue-50));
  border-block: 1px solid var(--blue-100);
}
.quote-band svg { width: 40px; height: 40px; margin: 0 auto 18px; color: var(--gold-500); }
.quote-band__text { font: 600 clamp(32px, 4.6vw, 60px)/1.1 var(--font-display); color: var(--blue-900); text-wrap: balance; }
.quote-band__text em { font-style: italic; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.quote-band__sub { margin-top: 16px; font-size: 16.5px; color: var(--ink-2); text-wrap: balance; }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.keys li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); font-size: 13.5px; font-weight: 600; color: var(--blue-700); }

.cid-section { padding: var(--section-y) 0; }
.cid-about__grid { display: grid; gap: 34px; align-items: start; }
.cid-about__text { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: var(--ink-2); }
.cid-about__sign { display: flex; align-items: center; gap: 14px; margin-top: 30px; font: italic 700 22px/1.2 var(--font-display); color: var(--blue-800); }
.cid-about__sign img { width: 48px; height: 48px; flex: none; }

/* роҳбари марказ */
.leader {
  margin-top: clamp(44px, 6vw, 76px);
  display: grid; gap: 30px;
  padding: clamp(22px, 3.5vw, 44px);
  background: linear-gradient(160deg, #FFFFFF 0%, var(--sky) 100%);
  border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow-soft);
}
.leader__card { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.leader__photo { width: min(240px, 68vw); aspect-ratio: 1; padding: 6px; border-radius: 50%; background: var(--gold-grad); box-shadow: var(--shadow-gold); }
.leader__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; background: #fff; }
.leader__card figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.leader__badge { padding: 6px 12px; border-radius: 999px; background: var(--gold-100); color: var(--gold-800); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.leader__name { margin-top: 4px; font: 700 clamp(28px, 3vw, 36px)/1.1 var(--font-display); color: var(--blue-900); }
.leader__role { font-size: 15px; font-weight: 700; color: var(--blue-700); }
.leader__org { max-width: 290px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.leader__langs { width: 100%; display: grid; gap: 8px; text-align: left; }
.leader__langs li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.leader__langs b { color: var(--ink); }
.leader__langs span { color: var(--muted); text-align: right; }
.leader__lead { font: 600 clamp(22px, 2.3vw, 28px)/1.3 var(--font-display); color: var(--blue-900); text-wrap: pretty; }
.leader__text { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.leader__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.leader__stats li { padding: 16px 10px; text-align: center; background: #fff; border: 1px solid var(--line-gold); border-radius: 16px; }
.leader__stats b { display: block; font: 700 clamp(28px, 3vw, 40px)/1 var(--font-display); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.leader__stats span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.leader__cols { display: grid; gap: 26px; margin-top: 30px; }
.leader__cols h3 { margin-bottom: 12px; font: 700 23px/1.2 var(--font-display); color: var(--ink); }
.leader__list { display: grid; gap: 10px; }
.leader__list li { padding: 12px 14px 12px 16px; background: #fff; border-left: 3px solid var(--gold-400); border-radius: 0 12px 12px 0; }
.leader__list b { display: block; font-size: 15px; line-height: 1.45; color: var(--ink); }
.leader__list span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.leader__intro { margin-bottom: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.leader__events { display: grid; gap: 9px; }
.leader__events li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.leader__events li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #2B1D06; background: var(--gold-grad);
}

.cid-areas { background: var(--sky); }
.cid-cards { display: grid; gap: 18px; }
.cid-card {
  position: relative;
  padding: 34px 30px 38px; background: #fff;
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 50px -44px rgba(15, 29, 54, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.cid-card::before { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); transition: background .5s; }
.cid-card:hover { transform: translateY(-6px); border-color: var(--line-gold); box-shadow: var(--shadow-soft); }
.cid-card:hover::before { background: var(--gold-grad); }
.cid-card__top { display: flex; justify-content: space-between; align-items: center; }
.cid-card__num { font: 700 26px/1 var(--font-display); color: var(--num); }
.cid-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); box-shadow: 0 16px 30px -18px rgba(29, 69, 144, .8); }
.cid-card__icon svg { width: 26px; height: 26px; }
.cid-card h3 { margin-top: 34px; font: 700 clamp(28px, 2.6vw, 33px)/1.1 var(--font-display); color: var(--blue-900); }
.cid-card p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* Mukofot дар дохили саҳифаи марказ */
.mk-feature {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--section-y) 0;
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(233, 204, 141, .45), transparent 60%),
    radial-gradient(600px 420px at 0% 100%, rgba(233, 204, 141, .3), transparent 65%),
    var(--ivory-100);
}
.mk-feature__grid { display: grid; gap: 44px; align-items: center; }
.mk-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.mk-brand img { width: 84px; height: 84px; filter: drop-shadow(0 12px 16px rgba(150, 105, 35, .3)); }
.mk-brand b { display: block; font: 700 clamp(28px, 3vw, 36px)/1 var(--font-display); letter-spacing: .14em; color: var(--ink); }
.mk-brand b small { font-size: .5em; letter-spacing: .1em; color: var(--gold-600); }
.mk-brand span { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-700); }
.mk-list { margin-top: 30px; display: grid; gap: 10px; }
.mk-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap;
  padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.mk-list a:hover { border-color: var(--line-gold); transform: translateX(4px); box-shadow: 0 16px 30px -26px rgba(15, 29, 54, .5); }
.mk-list b { font: 700 20px/1.2 var(--font-display); color: var(--ink); }
.mk-feature .btn { margin-top: 30px; }
.mk-ticket {
  position: relative; text-align: center;
  padding: clamp(28px, 4vw, 44px);
  background: #fff; border: 1px solid var(--line-gold); border-radius: 28px;
  box-shadow: var(--shadow-gold);
}
.mk-ticket::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(192, 145, 63, .35); border-radius: 20px; pointer-events: none; }
.mk-ticket img { width: 132px; height: 132px; margin: 0 auto 18px; filter: drop-shadow(0 16px 20px rgba(150, 105, 35, .3)); animation: float 7s ease-in-out infinite; }
.mk-ticket .eyebrow { justify-content: center; }
.mk-ticket .eyebrow::after { content: ""; flex: 0 0 34px; height: 1.5px; background: var(--gold-grad); }
.mk-ticket__date { font: 700 clamp(36px, 4.4vw, 54px)/1 var(--font-display); color: var(--ink); }
.mk-ticket__date em { font-style: italic; font-weight: 600; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.mk-ticket .ceremony__place { justify-content: center; }
.mk-ticket .countdown { margin-top: 24px; }
.mk-ticket .countdown__label { margin-top: 24px; margin-bottom: 0; }

.cid-contact__grid { display: grid; gap: 38px; align-items: center; }
.cid-contact-card {
  position: relative; overflow: hidden;
  padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(150deg, #FFFFFF 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-100); border-radius: 26px;
  box-shadow: var(--shadow-soft);
}
.cid-contact-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.cid-contact-card a.cid-phone { display: block; margin-top: 10px; font: 700 clamp(32px, 4vw, 44px)/1.1 var(--font-display); color: var(--ink); text-decoration: none; }
.cid-contact-card .btn { margin-top: 24px; }
.cid-contact-card p { margin-top: 18px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal, .js .cid-hero .reveal {
  opacity: 1; transform: none; transition: none;
  animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s);
}

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-c { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 12px)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes shine { 0%, 55% { transform: translateX(-140px); } 85%, 100% { transform: translateX(560px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 154, 97, .5); } 70% { box-shadow: 0 0 0 9px rgba(30, 154, 97, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 154, 97, 0); } }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .hero__actions .btn { flex: 0 0 auto; }
  .form__row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .header__cta { display: inline-flex; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values__list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .cid-cards { grid-template-columns: repeat(3, 1fr); }
  .cid-hero__title { font-size: clamp(52px, 8vw, 104px); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 40px; }
  .hero__visual { margin-right: -20px; }
  .cid-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .faces__grid { grid-template-columns: 1fr 1.05fr; gap: 68px; }
  .apply__grid { grid-template-columns: .85fr 1.15fr; gap: 68px; }
  .ceremony { grid-template-columns: 1fr minmax(0, 520px); gap: 48px; }
  .cid-about__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .leader { grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
  .leader__cols { grid-template-columns: 1fr 1.15fr; }
  .mk-feature__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .cid-contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__grid > :first-child { grid-column: auto; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding: 46px 0 0; }
  .step::before { left: 0; right: -32px; top: 8px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold-400), rgba(214, 174, 98, .15)); }
  .step:last-child::before { display: block; right: 0; }
  .step__dot { top: 0; }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  html:not([lang="tg"]) .header .brand__tag { display: none; }
}

@media (min-width: 1100px) {
  .nav { display: flex; }
  .burger { display: none; }
  .header__actions { margin-left: 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .values__grid { grid-template-columns: .8fr 2.2fr; gap: 56px; align-items: start; }
}

@media (max-width: 559px) {
  :root { --header-h: 68px; }
  .brand { gap: 9px; }
  .brand img { width: 42px; height: 42px; }
  .brand__name { font-size: 18px; letter-spacing: .1em; }
  .brand__name small { font-size: 11px; }
  .brand--cid .brand__name { font-size: 17px; letter-spacing: 0; line-height: 1.02; }
  .brand__tag { display: none; }
  .header__inner { gap: 8px; }
  .header__actions { gap: 6px; }
  .lang button { min-width: 30px; padding: 8px 6px; font-size: 11.5px; }
  .burger { width: 42px; height: 42px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li { padding: 0 12px; }
  .stats span { font-size: 10px; letter-spacing: .08em; }
  .chip { padding: 10px 13px 11px; }
  .chip small { font-size: 9px; letter-spacing: .12em; }
  .card { min-height: 0; }
  .ticker { padding: 12px 0; }
  .ticker__group { gap: 10px; padding-right: 10px; }
  .ticker__item { gap: 10px; padding: 6px 16px 6px 6px; font-size: 17px; }
  .ticker__item::before { width: 28px; height: 28px; font-size: 13px; }
  .card__emblem { margin: 32px 0 22px; width: 70px; height: 70px; font-size: 28px; }
  .countdown { gap: 6px; }
  .countdown div { padding: 14px 3px 12px; border-radius: 12px; }
  .countdown span { font-size: 9.5px; letter-spacing: .06em; }
  .faces__stats li + li { padding-left: 18px; }
  .logo-marquee__group { gap: 12px; padding-right: 12px; }
  .logo-card { width: 158px; height: 96px; padding: 12px 18px; border-radius: 16px; }
  .logo-card img.is-tile { border-radius: 11px; }
  .logo-card--text b { font-size: 30px; }
  .logo-card--text small { font-size: 9.5px; }
  .orbit__chip { padding: 7px 12px 7px 7px; gap: 8px; font-size: 16px; }
  .orbit__chip i { width: 28px; height: 28px; }
  .orbit__chip svg { width: 15px; height: 15px; }
  .orbit__mk { padding: 8px 14px 8px 8px; gap: 10px; }
  .orbit__mk i { width: 38px; height: 38px; }
  .orbit__mk i svg { width: 19px; height: 19px; }
  .orbit__mk b { font-size: 17px; }
  .mk-brand img { width: 68px; height: 68px; }
  .mk-list a { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .crumb__inner { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .crumb__inner > span { display: none; }
  .crumb a { min-width: 0; }
  .crumb a span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .orbit__logo { width: 52%; }
  .orbit__chip--1 { top: 4%; left: 0; }
  .orbit__chip--2 { top: 4%; right: 0; }
  .orbit__chip--3 { left: 0; bottom: 14%; }
  .mk-list b { font-size: 18px; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 16px; letter-spacing: .06em; }
  .brand--cid .brand__name { font-size: 15px; }
  .stats li { padding: 0 8px; }
  .stats span { font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
  .logo-marquee__track { animation: none !important; }
  .logo-marquee__row { overflow-x: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Қабати «премиум»: тиллои зинда, ҷило, шарораҳо, пешрафти скролл
   ========================================================================== */

/* сарлавҳаҳо — пурқувваттар, бо хати тиллоӣ */
.h2 { font-weight: 700; }
.h2::after {
  content: ""; display: block; width: 76px; height: 4px; margin-top: 22px; border-radius: 4px;
  background: var(--gold-grad);
}
.section-head--center .h2::after { margin-inline: auto; }

/* тиллои «зинда» дар калимаҳои таъкидшуда */
.h2 em, .hero__title em, .cid-hero__title em, .quote-band__text em, .ceremony__date em, .mk-ticket__date em {
  background-size: 220% 100%;
  animation: gold-flow 7s ease-in-out infinite alternate;
}
@keyframes gold-flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ҷило дар тугмаҳо */
.btn--gold, .btn--blue, .btn--wa { overflow: hidden; isolation: isolate; }
.btn--gold::after, .btn--blue::after, .btn--wa::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .6) 50%, transparent 64%);
  transform: translateX(-120%);
}
.btn--gold::after { animation: btn-shine 5.5s ease-in-out infinite; }
.btn--blue:hover::after, .btn--wa:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
@keyframes btn-shine { 0%, 68% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* чаҳорчӯбаи тиллоӣ дар кортҳо */
.card:not(.card--featured):not(.card--done):hover, .cid-card:hover, .value:hover {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
}
.card--featured {
  border-color: transparent;
  background: linear-gradient(150deg, #FFF8E7 0%, #F6E5BF 100%) padding-box, var(--gold-grad) border-box;
  box-shadow: var(--shadow-gold);
}
.leader, .mk-ticket, .form-card, .faces-card {
  border-color: transparent;
  background: linear-gradient(160deg, #fff, #fff) padding-box, linear-gradient(140deg, rgba(214, 174, 98, .9), rgba(52, 104, 196, .35) 55%, rgba(214, 174, 98, .9)) border-box;
}
.leader { background: linear-gradient(160deg, #FFFFFF 0%, var(--sky) 100%) padding-box, linear-gradient(140deg, rgba(214, 174, 98, .9), rgba(52, 104, 196, .35) 55%, rgba(214, 174, 98, .9)) border-box; }

/* сарлавҳаи сайт — хати тиллоӣ, логотипи зинда */
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold-400) 18%, var(--gold-300) 50%, var(--gold-400) 82%, transparent);
}
.brand img { transition: transform .6s var(--ease); }
.brand:hover img { transform: translateY(-2px) scale(1.05); }

/* навори пешрафт ва тугмаи «ба боло» */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue-500), var(--gold-400) 55%, var(--gold-300)); }
.to-top {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 50;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  color: #2B1D06; background: var(--gold-grad);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .55);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* нури ҳаракаткунанда дар экрани аввал */
.hero::after, .cid-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 62vw; max-width: 780px; aspect-ratio: 1; left: -16%; top: -34%; border-radius: 50%;
  animation: drift 16s ease-in-out infinite alternate;
}
.hero::after { background: radial-gradient(circle, rgba(233, 204, 141, .5), rgba(233, 204, 141, 0) 66%); }
.cid-hero::after { background: radial-gradient(circle, rgba(52, 104, 196, .17), rgba(52, 104, 196, 0) 66%); }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(9%, 11%) scale(1.16); } }

/* шарораҳо */
.hero__visual::before, .hero__visual::after, .orbit::before, .orbit::after {
  content: "✦"; position: absolute; z-index: 3; pointer-events: none;
  font: 400 clamp(18px, 2.2vw, 28px)/1 var(--font-body); color: var(--gold-400);
  text-shadow: 0 0 14px rgba(233, 204, 141, .95);
  animation: sparkle 3.6s ease-in-out infinite;
}
.hero__visual::before { left: 13%; top: 27%; }
.hero__visual::after { right: 11%; bottom: 17%; animation-delay: 1.6s; font-size: clamp(14px, 1.6vw, 20px); }
.orbit::before { right: 15%; top: 13%; }
.orbit::after { left: 21%; bottom: 7%; animation-delay: 1.4s; font-size: clamp(14px, 1.6vw, 20px); }
@keyframes sparkle { 0%, 100% { transform: scale(.5) rotate(0deg); opacity: .25; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }

/* ҳалқаи гардон дар акси роҳбар */
.leader__photo { position: relative; background: none; padding: 7px; }
.leader__photo::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #F7E3AE, #C0913F, #3468C4, #E9CC8D, #A9782E, #F7E3AE);
  animation: spin 14s linear infinite;
}
.leader__photo img { position: relative; }

/* поёни сайт */
.footer { position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--gold-grad); }

/* «Ба наздикӣ» — бе сана */
.faces__stats li { display: flex; flex-direction: column; justify-content: flex-end; }
.faces__stats b.is-text { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; padding-bottom: .14em; }
.ceremony__note { display: grid; gap: 16px; justify-items: start; }
.ceremony__note p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.mk-ticket__note { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 559px) {
  .h2::after { width: 60px; margin-top: 16px; }
  .to-top { width: 44px; height: 44px; }
  .ceremony__note .btn { width: 100%; }
}

/* блоки роҳбар — дар экранҳои танг аз ҳад намегузарад */
.leader > * { min-width: 0; }
.leader__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.leader__stats span, .leader__langs span, .leader__org { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 380px) {
  .leader { padding: 18px 14px; }
  .leader__stats { gap: 6px; }
  .leader__stats li { padding: 12px 6px; }
  .leader__stats span { font-size: 11.5px; }
}

/* ==========================================================================
   v3 — сохтори нави сайт: мега-меню, саҳифаҳои бахшҳо, чорабиниҳо, зиндагинома
   ========================================================================== */
.section { padding: var(--section-y) 0; }
.section--sky { background: var(--sky); }
.section--ivory { background: var(--ivory-100); }
.i3d { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(15, 29, 54, .16)); }
.i3d.is-missing { display: none; }
.mega__icon:has(.is-missing), .page-hero__art:has(.is-missing) { display: none; }

/* ---- header: active link + «Ҳамаи бахшҳо» ---- */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.mega-toggle {
  appearance: none; cursor: pointer; flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  font: 600 14px/1 var(--font-body);
  transition: border-color .3s, box-shadow .3s;
}
.mega-toggle:hover { border-color: var(--gold-500); box-shadow: 0 10px 24px -18px rgba(150, 105, 35, .7); }
.mega-toggle__bars { position: relative; width: 18px; height: 14px; display: grid; align-content: space-between; }
.mega-toggle__bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .25s; }
.mega-toggle__bars i:nth-child(2) { width: 70%; justify-self: end; }
.mega-toggle[aria-expanded="true"] .mega-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mega-toggle[aria-expanded="true"] .mega-toggle__bars i:nth-child(2) { opacity: 0; }
.mega-toggle[aria-expanded="true"] .mega-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 58;
  overflow-y: auto; overscroll-behavior: contain;
  background: rgba(15, 29, 54, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mega__inner {
  margin-top: 14px; margin-bottom: 40px; max-width: 980px;
  padding: clamp(22px, 3.4vw, 40px);
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(233, 204, 141, .3), transparent 62%),
    radial-gradient(420px 300px at 0% 100%, rgba(52, 104, 196, .08), transparent 62%), #fff;
  border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 50px 90px -40px rgba(15, 29, 54, .55);
  transform: translateY(-14px) scale(.985); transform-origin: 50% 0;
  transition: transform .45s var(--ease);
}
.mega.is-open .mega__inner { transform: none; }
.mega__head { text-align: center; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.mega__head b { display: block; font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--font-display); color: var(--ink); }
.mega__head span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.mega__grid { display: grid; gap: 6px 28px; }
.mega__item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 16px; text-decoration: none; color: inherit;
  transition: background-color .25s, transform .35s var(--ease);
}
.mega__item:hover { background: var(--ivory-100); transform: translateX(4px); }
.mega__item.is-current { background: var(--gold-100); }
.mega__icon { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--sky)); border: 1px solid var(--line); }
.mega__icon .i3d { width: 44px; height: 44px; }
.mega__txt { min-width: 0; }
.mega__txt b { display: block; font: 700 19px/1.15 var(--font-display); color: var(--ink); }
.mega__txt small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.mega__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.mega__phone { font-weight: 600; color: var(--ink); text-decoration: none; }

/* ---- page hero ---- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 5vw, 70px) 0 clamp(44px, 6vw, 80px);
  background:
    radial-gradient(700px 460px at 85% 30%, rgba(233, 204, 141, .38), transparent 62%),
    radial-gradient(520px 380px at 0% 100%, rgba(52, 104, 196, .08), transparent 70%),
    linear-gradient(180deg, var(--ivory-50), var(--white));
  border-bottom: 1px solid var(--line);
}
.page-hero__grid { display: grid; gap: 28px; align-items: center; }
.page-hero__grid > * { min-width: 0; }
.page-hero__title { font: 700 clamp(40px, 7vw, 84px)/1 var(--font-display); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
.page-hero__title em { font-style: italic; font-weight: 600; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.page-hero__lead { margin-top: 20px; max-width: 640px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.page-hero__art { display: none; }
.page-hero__icon { width: min(300px, 100%); margin-inline: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 34px rgba(120, 85, 30, .3)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--blue-700); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs i { font-style: normal; color: var(--grey); }

/* ---- stat band ---- */
.stat-band { padding: 0; margin-top: -1px; background: linear-gradient(90deg, var(--blue-800), var(--blue-600)); color: #fff; }
.stat-band__list { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat-band__list li { padding: 26px 12px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); min-width: 0; }
.stat-band__list b { display: block; font: 700 clamp(36px, 4.4vw, 54px)/1 var(--font-display); color: var(--gold-300); }
.stat-band__list span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .88); overflow-wrap: anywhere; }

/* ---- features / structure ---- */
.feature-grid { display: grid; gap: 16px; }
.feature { padding: 28px 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 50px -44px rgba(15, 29, 54, .5); }
.feature__icon { display: block; width: 76px; height: 76px; margin-bottom: 14px; }
.feature h3 { font: 700 26px/1.15 var(--font-display); color: var(--ink); }
.feature p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.struct-grid { display: grid; gap: 14px; }
.struct { display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: inherit; transition: border-color .3s, box-shadow .4s var(--ease); }
.struct:hover { border-color: var(--line-gold); box-shadow: var(--shadow-soft); }
.struct__icon { flex: none; width: 60px; height: 60px; }
.struct > span:not([class]), .struct__txt { min-width: 0; }
.struct b { display: block; font: 700 21px/1.15 var(--font-display); color: var(--ink); }
.struct small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.struct__arrow { margin-left: auto; color: var(--gold-600); flex: none; }
.struct__arrow svg { width: 20px; height: 20px; }

/* ---- leader wide card ---- */
.leader-wide {
  display: grid; gap: 22px; align-items: center;
  padding: clamp(22px, 3.4vw, 40px); text-decoration: none; color: inherit;
  background: linear-gradient(150deg, #FFF8E7, #F5E3BB) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent; border-radius: 28px; box-shadow: var(--shadow-gold);
}
.leader-wide > * { min-width: 0; }
.leader-wide__photo { width: min(220px, 60vw); aspect-ratio: 1; border-radius: 50%; padding: 6px; background: var(--gold-grad); margin-inline: auto; }
.leader-wide__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.leader-wide__body { display: grid; gap: 8px; justify-items: start; }
.leader-wide__body .eyebrow { margin: 0; }
.leader-wide__name { font: 700 clamp(30px, 3.6vw, 44px)/1.05 var(--font-display); color: var(--blue-900); }
.leader-wide__role { font-weight: 700; color: var(--blue-700); }
.leader-wide__text { color: var(--ink-2); line-height: 1.6; }
.leader-wide__stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 6px 0 4px; }
.leader-wide__stats b { display: block; font: 700 32px/1 var(--font-display); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.leader-wide__stats small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); }

/* ---- CTA band ---- */
.cta-band { padding: clamp(56px, 7vw, 90px) 0; }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 22px; align-items: center;
  padding: clamp(26px, 4vw, 52px); border-radius: 30px;
  background: radial-gradient(600px 360px at 100% 0%, rgba(233, 204, 141, .4), transparent 60%), linear-gradient(135deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-100);
}
.cta-band__inner > * { min-width: 0; }
.cta-band__title { font: 700 clamp(30px, 3.6vw, 46px)/1.08 var(--font-display); color: var(--blue-900); }
.cta-band__title em { font-style: italic; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.cta-band__text { margin-top: 10px; color: var(--ink-2); max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- events: filter + groups ---- */
.cat-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-filter { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cat-filter::-webkit-scrollbar { display: none; }
.cat-filter button {
  flex: none; appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  font: 600 14px/1.2 var(--font-body); color: var(--ink-2);
  transition: background-color .25s, border-color .25s, color .25s;
}
.cat-filter button:first-child { padding-left: 16px; }
.cat-filter button:hover { border-color: var(--gold-500); }
.cat-filter button[aria-pressed="true"] { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.cat-filter .count { font-size: 12px; opacity: .85; }
.chip-icon { width: 28px; height: 28px; flex: none; }
.cat-group { padding: clamp(48px, 6vw, 80px) 0 0; scroll-margin-top: calc(var(--header-h) + 70px); }
.cat-group:last-of-type { padding-bottom: clamp(60px, 7vw, 100px); }
.cat-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.cat-group__head > div { min-width: 0; }
.cat-group__icon { width: 64px; height: 64px; flex: none; }
.cat-group__head h2 { font: 700 clamp(30px, 3.6vw, 44px)/1.05 var(--font-display); color: var(--ink); }
.cat-group__head p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.cat-group__count { margin-left: auto; flex: none; min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: #2B1D06; font: 700 20px/1 var(--font-display); }

.ev-grid { display: grid; gap: 20px; }
.ev-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 24px 50px -44px rgba(15, 29, 54, .55);
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.ev-card:hover { border-color: var(--line-gold); box-shadow: var(--shadow-soft); }
.ev-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.ev-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev-card:hover .ev-card__media img { transform: scale(1.06); }
.ev-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 22px 24px; }
.ev-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ev-card__date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ev-card__date svg { width: 16px; height: 16px; color: var(--gold-600); flex: none; }
.ev-card__title { font: 700 clamp(22px, 2vw, 26px)/1.15 var(--font-display); color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
.ev-card__title a { color: inherit; text-decoration: none; }
.ev-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ev-card__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.ev-card__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.ev-card__facts b { display: block; font: 700 24px/1 var(--font-display); color: var(--blue-800); }
.ev-card__facts span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.ev-card__more { position: relative; z-index: 2; }
.ev-chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ev-chip--sport { background: #E4ECFA; color: #163A7A; }
.ev-chip--culture { background: #F8E6EF; color: #8A2552; }
.ev-chip--forums { background: #E3F2EC; color: #0F5E3D; }
.ev-chip--awards { background: var(--gold-100); color: var(--gold-800); }
/* brief card (no photo yet): designed poster instead of an empty box */
.ev-card--brief { text-decoration: none; color: inherit; }
.ev-card--brief, .ev-card--sport { --p1: #E6EEFC; --p2: #A8C1EE; --pt: rgba(255, 255, 255, .72); --pg: rgba(52, 104, 196, .35); }
.ev-card--culture { --p1: #FDF0F4; --p2: #EDBFCB; --pt: rgba(255, 255, 255, .72); --pg: rgba(214, 120, 150, .38); }
.ev-card--awards { --p1: #FFF6E0; --p2: #E6C27A; --pt: rgba(255, 255, 255, .72); --pg: rgba(214, 174, 98, .5); }
.ev-card--forums { --p1: #EDF8F2; --p2: #B5DEC9; --pt: rgba(255, 255, 255, .72); --pg: rgba(30, 154, 97, .32); }
.ev-card__poster {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; aspect-ratio: 16 / 10;
  background:
    radial-gradient(60% 70% at 50% 46%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(90% 80% at 100% 0%, var(--pg), transparent 60%),
    linear-gradient(150deg, var(--p1), var(--p2));
  border-bottom: 1px solid var(--line);
}
.ev-card__poster::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-radial-gradient(circle at 50% 46%, transparent 0 38px, rgba(255, 255, 255, .55) 38px 39px);
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 46%, #000 30%, transparent 100%);
}
.ev-card__poster::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(15, 29, 54, .16) 1px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(180deg, transparent 10%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 10%, #000 100%);
}
.ev-card__year {
  position: absolute; z-index: -1; right: 14px; bottom: -.16em;
  font: 700 clamp(88px, 11vw, 132px)/1 var(--font-display); letter-spacing: -.03em;
  color: var(--pt); pointer-events: none; white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .4), 0 18px 40px rgba(15, 29, 54, .12);
}
.ev-card__art { display: block; width: min(52%, 190px); }
.ev-card__art-img { animation: float 7s ease-in-out infinite; filter: drop-shadow(0 22px 22px rgba(15, 29, 54, .22)); }
.ev-card--brief:nth-child(2n) .ev-card__art-img { animation-delay: -3.5s; }
.ev-card--brief:hover .ev-card__art { transform: scale(1.06); }
.ev-card__art { transition: transform .8s var(--ease); }
.ev-card__media .ev-card__poster { height: 100%; border-bottom: 0; }
.ev-hero__photo--poster { border-width: 0; background: #fff; }
.ev-hero__photo--poster .ev-card__poster { aspect-ratio: 4 / 3; border-radius: 22px; }
.ev-hero__photo--poster .ev-card__year { font-size: clamp(120px, 16vw, 220px); }
.ev-hero__photo--poster .ev-card__art { width: min(48%, 260px); }
.ev-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.ev-card__soon { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ev-card__soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100); }

/* ---- event page ---- */
.ev-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 70px); background: radial-gradient(700px 460px at 90% 20%, rgba(233, 204, 141, .35), transparent 62%), linear-gradient(180deg, var(--ivory-50), #fff); }
.ev-hero__grid { display: grid; gap: 30px; align-items: center; }
.ev-hero__grid > * { min-width: 0; }
.ev-hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.ev-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.ev-hero__title { font: 700 clamp(34px, 5.2vw, 64px)/1.04 var(--font-display); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
.ev-hero__meta { display: grid; gap: 8px; margin-top: 18px; color: var(--ink-2); }
.ev-hero__meta li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.ev-hero__meta svg { width: 19px; height: 19px; flex: none; color: var(--gold-600); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.facts__item { min-width: 0; padding: 16px 14px; background: #fff; border: 1px solid var(--line-gold); border-radius: 18px; box-shadow: 0 16px 30px -26px rgba(120, 85, 30, .6); }
.facts__item b { display: block; font: 700 clamp(30px, 3.4vw, 42px)/1 var(--font-display); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts__item span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); overflow-wrap: break-word; hyphens: auto; }
.ev-hero__photo { margin: 0; overflow: hidden; border-radius: 28px; border: 6px solid #fff; box-shadow: 0 50px 80px -46px rgba(15, 29, 54, .6), 0 0 0 1px var(--line-gold); }
.ev-hero__photo img { width: 100%; height: auto; display: block; }
.ev-content { padding: clamp(40px, 6vw, 80px) 0; }
.ev-content__grid { display: grid; gap: 30px; align-items: start; }
.ev-content__grid > * { min-width: 0; }
.prose { display: grid; gap: 16px; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.prose p { text-wrap: pretty; }
.prose__h { margin-top: 12px; font: 700 clamp(26px, 2.8vw, 34px)/1.15 var(--font-display); color: var(--ink); }
.prose--note { margin-top: 24px; max-width: 820px; }
.prose-note { margin-top: 22px; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 820px; }
.role-box { display: grid; gap: 14px; margin-top: 10px; padding: clamp(22px, 3vw, 32px); background: linear-gradient(150deg, var(--blue-50), #fff); border: 1px solid var(--blue-100); border-left: 4px solid var(--blue-600); border-radius: 22px; }
.role-box__title { display: flex; align-items: center; gap: 12px; font: 700 clamp(24px, 2.6vw, 30px)/1.15 var(--font-display); color: var(--blue-900); }
.role-box__icon { width: 52px; height: 52px; flex: none; }
.ev-aside { display: grid; gap: 16px; }
.lead-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: inherit; box-shadow: var(--shadow-soft); }
.lead-card > span, .lead-card > div { min-width: 0; }
.lead-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold-400); flex: none; }
.lead-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }
.lead-card b { display: block; margin: 0 0 4px; font: 700 22px/1.1 var(--font-display); color: var(--blue-900); }
.lead-card small.lead-card__pos { margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-transform: none; color: var(--blue-700); }
.cta-card { display: grid; gap: 14px; padding: 22px; background: linear-gradient(150deg, #FFF8E7, #F6E5BF); border: 1px solid var(--line-gold); border-radius: 22px; }
.cta-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ev-more { padding: 0 0 clamp(60px, 7vw, 100px); }
.ev-nav { display: grid; gap: 14px; align-items: center; padding-top: 30px; border-top: 1px solid var(--line); }
.ev-nav__link { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--sky); text-decoration: none; color: inherit; transition: background-color .3s; min-width: 0; }
.ev-nav__link:hover { background: var(--blue-50); }
.ev-nav__link small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }
.ev-nav__link b { font: 700 19px/1.2 var(--font-display); color: var(--ink); }
.ev-gallery { padding-bottom: clamp(40px, 6vw, 70px); }

/* ---- gallery + lightbox ---- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.gallery__item { margin: 0; min-width: 0; }
.gallery__item > a { display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3; background: var(--sky); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item > a:hover img { transform: scale(1.05); }
.gallery__item figcaption { margin-top: 8px; font-size: 14px; }
.gallery__item figcaption a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.gallery__item figcaption a:hover { color: var(--blue-700); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(10, 18, 34, .9); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 14px; margin-inline: auto; }
.lightbox figcaption { margin-top: 12px; text-align: center; color: #fff; font: 600 20px/1.3 var(--font-display); }
.lightbox__close, .lightbox__nav { position: absolute; appearance: none; border: 0; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; top: 50%; }
.lightbox__nav--next { right: 12px; top: 50%; }

/* ---- leader / biography page ---- */
.bio-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(30px, 5vw, 70px) 0; background: radial-gradient(700px 480px at 20% 30%, rgba(233, 204, 141, .38), transparent 62%), radial-gradient(600px 420px at 100% 100%, rgba(52, 104, 196, .1), transparent 66%), linear-gradient(180deg, var(--ivory-50), #fff); }
.bio-hero__grid { display: grid; gap: 30px; align-items: center; }
.bio-hero__grid > * { min-width: 0; }
.leader__photo--xl { width: min(360px, 76vw); margin-inline: auto; }
.bio-hero__name { font: 700 clamp(44px, 7vw, 88px)/1 var(--font-display); letter-spacing: -.02em; color: var(--blue-900); overflow-wrap: anywhere; }
.bio-hero__tag { margin-top: 14px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 640px; }
.bio-hero__pos { display: grid; gap: 10px; margin-top: 20px; }
.bio-hero__pos li { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--line-gold); border-radius: 16px; font-weight: 600; color: var(--ink); }
.bio-hero__pos .i3d { width: 40px; height: 40px; flex: none; }
.bio-grid { display: grid; gap: 26px; align-items: start; }
.bio-grid > * { min-width: 0; }
.timeline { position: relative; display: grid; gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold-400), var(--blue-500)); }
.timeline__item { position: relative; display: grid; gap: 8px; padding-left: 40px; }
.timeline__item::before { content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line-gold); }
.timeline__years { font: 700 18px/1.2 var(--font-display); color: var(--gold-700); }
.timeline__card { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.timeline__card b { display: block; font: 700 21px/1.2 var(--font-display); color: var(--ink); }
.timeline__card p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.edu-grid, .proj-grid, .awards-grid { display: grid; gap: 16px; }
.edu, .proj, .awards { min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 50px -44px rgba(15, 29, 54, .5); }
.edu__icon, .proj__icon { display: block; width: 66px; height: 66px; margin-bottom: 10px; }
.edu__years { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gold-100); color: var(--gold-800); font-size: 12.5px; font-weight: 700; }
.edu h3, .proj h3 { margin-top: 10px; font: 700 22px/1.2 var(--font-display); color: var(--ink); }
.edu p, .proj p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.proj .link-arrow { margin-top: 12px; }
.ev-list { display: grid; gap: 8px; }
.ev-list a, .ev-list__row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 500; transition: border-color .3s, transform .3s var(--ease); }
.ev-list a:hover { border-color: var(--line-gold); transform: translateX(4px); }
.ev-list a svg { width: 16px; height: 16px; margin-left: auto; color: var(--gold-600); flex: none; }
.ev-list__n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font: 700 15px/1 var(--font-display); }
.awards h3 { display: flex; align-items: center; gap: 12px; font: 700 22px/1.2 var(--font-display); color: var(--ink); margin-bottom: 14px; }
.awards__icon { width: 54px; height: 54px; flex: none; }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.check-list svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold-grad); color: #2B1D06; margin-top: 1px; }
.skills-grid { display: grid; gap: 34px; }
.skills-grid > * { min-width: 0; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chips li { padding: 10px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line-gold); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lang-bars { display: grid; gap: 14px; }
.lang-bars li { display: grid; gap: 7px; }
.lang-bars__name { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.lang-bars__name b { color: var(--ink); }
.lang-bars__name small { color: var(--muted); font-size: 13.5px; }
.lang-bars__bar { height: 10px; border-radius: 10px; background: var(--blue-50); overflow: hidden; }
.lang-bars__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--gold-400)); }
.quote-card { margin: 0; padding: clamp(26px, 3.6vw, 40px); border-radius: 28px; background: linear-gradient(150deg, var(--blue-700), var(--blue-500)); color: #fff; box-shadow: 0 40px 70px -40px rgba(29, 69, 144, .8); }
.quote-card svg { width: 40px; height: 40px; color: var(--gold-300); }
.quote-card blockquote { margin: 14px 0 0; font: 600 clamp(21px, 2.2vw, 27px)/1.45 var(--font-display); }
.quote-card figcaption { margin-top: 18px; display: grid; gap: 2px; }
.quote-card figcaption b { font: 700 22px/1.1 var(--font-display); color: var(--gold-300); }
.quote-card figcaption span { font-size: 14px; color: rgba(255, 255, 255, .85); }

/* ---- team ---- */
.team-grid { display: grid; gap: 30px; align-items: start; }
.team-grid > * { min-width: 0; }
.leader-card { display: grid; justify-items: center; gap: 8px; padding: 30px 24px; text-align: center; background: linear-gradient(160deg, #fff, var(--sky)); border: 1px solid var(--line); border-radius: 26px; text-decoration: none; color: inherit; box-shadow: var(--shadow-soft); }
.leader-card .leader__photo { width: 200px; }
.bar-chart { display: grid; gap: 12px; margin-top: 24px; }
.bar-chart a, .bar-chart li { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; text-decoration: none; color: inherit; }
.bar-chart__label { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.bar-chart__track { height: 16px; border-radius: 16px; background: var(--blue-50); overflow: hidden; }
.bar-chart__track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--gold-400)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.is-visible .bar-chart__track i, .bar-chart.is-visible .bar-chart__track i { transform: scaleX(1); }
.bar-chart b { font: 700 24px/1 var(--font-display); color: var(--blue-800); min-width: 44px; text-align: right; }
.bar-chart a:hover .bar-chart__label { color: var(--blue-700); }
.feature-grid--3 { grid-template-columns: 1fr; }

/* ---- services ---- */
.svc-grid { display: grid; gap: 16px; }
.svc { position: relative; min-width: 0; padding: 26px 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 50px -44px rgba(15, 29, 54, .5); }
.svc__n { position: absolute; top: 20px; right: 22px; font: 700 26px/1 var(--font-display); color: var(--num); }
.svc__icon { display: block; width: 74px; height: 74px; margin-bottom: 12px; }
.svc h3 { font: 700 24px/1.15 var(--font-display); color: var(--ink); }
.svc p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.format { display: grid; gap: 22px; align-items: center; }
.format > * { min-width: 0; }
.format__text { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: var(--ink-2); }

/* ---- partners ---- */
.coop-grid { display: grid; gap: 16px; }
.coop { display: flex; align-items: center; gap: 18px; min-width: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: inherit; box-shadow: var(--shadow-soft); }
.coop > div, .coop > span { min-width: 0; }
.coop__abbr { flex: none; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 20px; background: var(--gold-grad); color: #2B1D06; font: 700 24px/1 var(--font-display); }
.coop b { display: block; font: 700 21px/1.2 var(--font-display); color: var(--ink); }
.coop small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.logo-wall .logo-card { width: auto; }

/* ---- media / documents / contact ---- */
.media-info, .docs, .contact-grid { display: grid; gap: 20px; align-items: start; }
.media-info > *, .docs > *, .contact-grid > * { min-width: 0; }
.media-box { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; display: grid; gap: 10px; justify-items: start; }
.media-box__icon { width: 64px; height: 64px; }
.media-box h3 { font: 700 24px/1.2 var(--font-display); color: var(--ink); }
.media-box p { color: var(--muted); line-height: 1.6; }
.info-list { display: grid; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.info-list div { display: grid; gap: 4px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.info-list div:last-child { border-bottom: 0; }
.info-list dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.info-list dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.doc-list { display: grid; gap: 10px; margin-bottom: 18px; }
.doc-list li { display: flex; flex-wrap: wrap; min-width: 0; align-items: center; gap: 10px 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.doc-list__icon { width: 44px; height: 44px; flex: none; }
.doc-list b { flex: 1; min-width: 0; color: var(--ink); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: inherit; box-shadow: 0 20px 40px -36px rgba(15, 29, 54, .5); }
.contact-card > span, .contact-card > div { min-width: 0; }
.contact-card--wa { border-color: rgba(24, 134, 69, .35); background: linear-gradient(150deg, #fff, #EEF9F2); }
.contact-card__icon { width: 56px; height: 56px; flex: none; }
.contact-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card b { display: block; margin-top: 3px; font: 700 21px/1.2 var(--font-display); color: var(--ink); overflow-wrap: anywhere; }
.form-card__title { font: 700 clamp(28px, 3vw, 36px)/1.1 var(--font-display); color: var(--ink); }

/* ---- home: events teaser ---- */
.home-events { position: relative; overflow: hidden; isolation: isolate; }
.home-events__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: border-color .3s; }
.cat-pill:hover { border-color: var(--gold-500); }
.home-events__more { margin-top: 30px; text-align: center; }
.footer__contact { margin-top: 12px; font-size: 14.5px; }
.footer__contact a { color: var(--ink-2); }

/* ---- responsive (v3) ---- */
@media (min-width: 560px) {
  .stat-band__list { grid-template-columns: repeat(4, 1fr); }
  .stat-band__list li { border-bottom: 0; }
  .facts { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .feature-grid--3 { grid-template-columns: 1fr 1fr; }
  .ev-nav { grid-template-columns: 1fr auto 1fr; }
  .ev-nav__link:last-child { text-align: right; }
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .struct-grid, .edu-grid, .awards-grid, .coop-grid, .media-info { grid-template-columns: 1fr 1fr; }
  .ev-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-wide { grid-template-columns: auto 1fr; gap: 34px; }
  .leader-wide__photo { margin: 0; }
}
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: 1.4fr .6fr; }
  .page-hero__art { display: block; }
  .ev-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .ev-content__grid { grid-template-columns: 1fr 340px; gap: 48px; }
  .ev-aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .bio-hero__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .bio-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; }
  .struct-grid, .ev-grid, .svc-grid, .proj-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: 340px 1fr; gap: 56px; }
  .skills-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; }
  .format { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .docs, .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .cta-band__inner { grid-template-columns: 1fr auto; }
}
@media (max-width: 1099px) {
  .site-header .nav { display: none; }
}
@media (max-width: 559px) {
  .mega-toggle { width: 44px; padding: 0; justify-content: center; }
  .mega-toggle__label { display: none; }
  .mega__inner { margin: 8px 10px 30px; padding: 18px 12px; border-radius: 22px; }
  .mega__item { padding: 10px; }
  .mega__icon { width: 48px; height: 48px; }
  .mega__icon .i3d { width: 38px; height: 38px; }
  .cat-group__icon { width: 52px; height: 52px; }
  .bio-hero__name { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__icon, .ev-card__art-img { animation: none; }
  .bar-chart__track i { transform: none; transition: none; }
}

/* ===== Real medal «100 чеҳраи муваффақи Тоҷикистон» ===== */
.medal-photo {
  position: absolute; left: 50%; top: 59%; z-index: 1; width: 90%; aspect-ratio: 1000 / 993;
  transform: translate(-50%, -50%); animation: float-c 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 30px rgba(16, 38, 84, .26)) drop-shadow(0 8px 10px rgba(140, 98, 30, .2));
}
.medal-photo img { display: block; width: 100%; height: 100%; }
.medal-photo__shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../img/awards/medal-100.webp) center / 100% 100% no-repeat; mask: url(../img/awards/medal-100.webp) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%) 0 0 / 260% 100% no-repeat;
  animation: medal-sheen 7s ease-in-out infinite; mix-blend-mode: soft-light;
}
@keyframes medal-sheen { 0%, 50% { background-position: 140% 0; } 82%, 100% { background-position: -40% 0; } }

.card__emblem--medal { width: 112px; height: 112px; margin: 28px 0 20px; background: none !important; border: 0 !important; box-shadow: none !important; overflow: visible; }
.card__emblem--medal img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(16, 38, 84, .25)); transition: transform .6s var(--ease); }
.card:hover .card__emblem--medal { transform: none; }
.card:hover .card__emblem--medal img { transform: rotate(-6deg) scale(1.05); }

.award { position: relative; padding: var(--section-y) 0; background: radial-gradient(900px 520px at 85% 30%, rgba(246, 229, 191, .55), transparent 65%), #fff; overflow: hidden; }
.award__grid { display: grid; gap: 48px; align-items: center; }
.award__symbols { display: grid; gap: 14px; margin-top: 28px; padding: 0; list-style: none; }
.award__symbols li { display: grid; grid-template-columns: 14px 1fr; column-gap: 14px; align-items: baseline; padding: 16px 18px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line-gold); border-radius: 16px; }
.award__symbols b { font: 700 20px/1.2 var(--font-display); color: var(--blue-900); }
.award__symbols li > span:last-child { grid-column: 2; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.award__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 4px rgba(192, 145, 63, .15); transform: translateY(-1px); }
.award__gallery { position: relative; padding-bottom: 14%; }
.award__shot { display: block; overflow: hidden; border-radius: 22px; background: #0d1426; box-shadow: 0 40px 70px -36px rgba(16, 38, 84, .55); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.award__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.award__shot:hover img { transform: scale(1.04); }
.award__shot--box { width: 74%; margin-left: auto; aspect-ratio: 1122 / 1402; }
.award__shot--poster { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid #fff; transform: rotate(-4deg); }
.award__shot--poster:hover { transform: rotate(-2deg) translateY(-4px); }
.award__shot:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; }
@media (min-width: 900px) { .award__grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }

.ev-card__art--photo { width: min(62%, 220px); }
.ev-card__art--photo .ev-card__art-img { width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(16, 38, 84, .28)); }
@media (prefers-reduced-motion: reduce) { .medal-photo, .medal-photo__shine { animation: none; } }
/* round CID logo in the home hero orbit: keep it a true circle and clear of the chips */
.orbit__logo { width: 50%; height: auto; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 26px 30px rgba(16, 38, 84, .22)) drop-shadow(0 6px 10px rgba(140, 98, 30, .18)); }
@media (max-width: 640px) { .orbit__logo { width: 46%; } }

/* ===== QA pass: logo, medal, award section ===== */
/* home orbit: keep the official emblem clear of the chips */
@media (min-width: 560px) { .orbit__chip--2 { top: 17%; } .orbit__chip--3 { bottom: 15%; } }
/* one shadow language for the round emblem */
.mk-brand img { border-radius: 50%; filter: drop-shadow(0 14px 18px rgba(16, 38, 84, .2)) drop-shadow(0 4px 8px rgba(140, 98, 30, .16)); }
.mk-ticket .mk-ticket__medal { width: 168px; height: auto; aspect-ratio: 1000 / 993; margin: 0 auto 18px; filter: drop-shadow(0 22px 22px rgba(16, 38, 84, .24)) drop-shadow(0 6px 8px rgba(140, 98, 30, .2)); }
@media (max-width: 559px) {
  .mk-ticket .mk-ticket__medal { width: 140px; }
  /* Mukofot hero: chips off the medal's centre on small phones */
  .chip--place { top: 3%; }
  .chip--date { bottom: -3%; }
}
/* events card: medal sized like the sibling 3D icons, clear of the poster edge */
.ev-card__art--photo { width: min(46%, 176px); }

/* award section: warm ivory ground, photos framed like prints */
.award { background: radial-gradient(760px 520px at 78% 42%, rgba(246, 229, 191, .7), transparent 70%), linear-gradient(180deg, #FFFDF8 0%, #FBF5EA 100%); border-block: 1px solid var(--line-gold); }
.award__shot { padding: 10px; background: #fff; border: 1px solid var(--line-gold); border-radius: 26px; box-shadow: 0 34px 60px -40px rgba(120, 85, 30, .45); }
.award__shot img { border-radius: 17px; }
.award__shot--box { width: 66%; }
.award__shot--poster { left: 2%; width: 40%; padding: 8px; border: 0; }
/* symbols: hairlines + roman numerals like the rest of Mukofot */
.award__symbols { counter-reset: sym; gap: 0; margin-top: 30px; border-top: 1px solid var(--line-gold); }
.award__symbols li { grid-template-columns: 44px 1fr; padding: 18px 0; background: none; border: 0; border-bottom: 1px solid var(--line-gold); border-radius: 0; }
.award__dot { width: auto; height: auto; background: none; box-shadow: none; transform: none; font: italic 600 22px/1 var(--font-display); color: var(--gold-600, #A87B32); }
.award__dot::before { counter-increment: sym; content: counter(sym, upper-roman); }

/* =====================================================================
   Home hero v3 — the CID seal in the centre + four clear sections
   ===================================================================== */
.cid-hero--seal { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 84px); }
.cid-hero__center { text-align: center; }
.cid-hero--seal .eyebrow { justify-content: center; margin-top: 4px; }
.cid-hero--seal .cid-hero__title { margin-top: 10px; font-size: clamp(44px, 7.4vw, 96px); }
.cid-hero--seal .cid-hero__lead { max-width: 640px; margin: 18px auto 0; text-wrap: balance; }

.seal { position: relative; width: clamp(150px, 15vw, 196px); aspect-ratio: 1; margin: 18px auto 34px; }
.seal__halo { position: absolute; inset: -62%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 240, 205, .95) 0%, rgba(246, 224, 170, .45) 30%, rgba(246, 224, 170, 0) 62%); }
.seal__halo::after { content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(201, 158, 78, .2) 0deg 3deg, rgba(201, 158, 78, 0) 3deg 12deg);
  -webkit-mask: radial-gradient(circle, #000 28%, transparent 66%); mask: radial-gradient(circle, #000 28%, transparent 66%);
  animation: spin 120s linear infinite; }
.seal__ring { position: absolute; inset: -27%; width: 154%; height: 154%; overflow: visible; animation: spin 70s linear infinite; }
.seal__ring text { font: 600 8.4px/1 var(--font-body, Onest, sans-serif); letter-spacing: 2.4px; fill: #8A6526; }
.seal__emblem { position: absolute; inset: 0; border-radius: 50%; animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 26px 30px rgba(16, 38, 84, .26)) drop-shadow(0 6px 10px rgba(140, 98, 30, .22)); }
.seal__emblem img { display: block; width: 100%; height: 100%; }
.seal__shine { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../img/logo.webp) center / 100% 100% no-repeat; mask: url(../img/logo.webp) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%) 0 0 / 260% 100% no-repeat;
  animation: medal-sheen 6s ease-in-out infinite; mix-blend-mode: soft-light; }
.seal::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -16%; height: 10%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(16, 38, 84, .2), transparent 70%); filter: blur(5px); }

.hero-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(30px, 4vw, 52px); text-align: left; }
.hero-tile { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 8px; border-radius: 22px; text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(16, 38, 84, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.hero-tile:hover { transform: translateY(-6px); border-color: var(--line-gold); box-shadow: 0 40px 70px -40px rgba(16, 38, 84, .5); }
.hero-tile__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--sky); }
.hero-tile__media > img, .hero-tile__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-tile:hover .hero-tile__media > img { transform: scale(1.06); }
.hero-tile__slides img { opacity: 0; transition: opacity 1.4s ease; }
.hero-tile__slides img.is-on { opacity: 1; animation: kenburns 8s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-tile__contact { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #EEF4FF 55%, #DDE8FB 100%); }
.hero-tile__contact .i3d { width: 46%; height: auto; filter: drop-shadow(0 14px 16px rgba(16, 38, 84, .22)); }
.hero-tile__wa { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--blue-800); white-space: nowrap; }
.hero-tile__body { display: grid; gap: 4px; padding: 12px 8px 8px; }
.hero-tile__body small { font: italic 600 15px/1 var(--font-display); color: #A87B32; }
.hero-tile__body b { font: 700 clamp(19px, 1.7vw, 24px)/1.12 var(--font-display); color: var(--blue-900); }
.hero-tile__body > span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.hero-tile__arrow { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--blue-800); box-shadow: 0 10px 20px -12px rgba(16, 38, 84, .5);
  transition: background .4s, color .4s, transform .4s var(--ease); }
.hero-tile__arrow svg { width: 18px; height: 18px; }
.hero-tile:hover .hero-tile__arrow { background: var(--gold-grad); color: #2B1D06; transform: rotate(-35deg); }
@media (min-width: 960px) { .hero-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .hero-tile { padding: 10px; } .hero-tile__body { padding: 16px 10px 10px; } }
@media (max-width: 559px) {
  .seal { width: 138px; margin-bottom: 28px; }
  .hero-tile { padding: 6px; border-radius: 18px; }
  .hero-tile__media { border-radius: 13px; }
  .hero-tile__body { padding: 10px 6px 6px; }
  .hero-tile__body small { display: none; }
  .hero-tile__body > span { font-size: 12px; }
  .hero-tile__arrow { width: 30px; height: 30px; right: 11px; top: 11px; }
  .hero-tile__arrow svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) { .seal__ring, .seal__halo::after, .seal__emblem, .seal__shine, .hero-tile__slides img.is-on { animation: none; } }

/* =====================================================================
   «Ҳамаи бахшҳо» — opens in front of the screen; the page never scrolls
   ===================================================================== */
.mega { inset: 0; top: 0; display: grid; place-items: center; padding: calc(var(--header-h, 76px) + 10px) 16px 16px; overflow: hidden; }
.mega__inner { width: 100%; max-width: 1000px; max-height: 100%; margin: 0; overflow-y: auto; overscroll-behavior: contain; transform: translateY(16px) scale(.97); transform-origin: 50% 50%; }
.mega.is-open .mega__inner { transform: none; }
.mega__head { padding-bottom: 14px; margin-bottom: 12px; }
.mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.mega__foot { margin-top: 12px; padding-top: 14px; }
html.is-locked, body.is-locked { overflow: hidden; touch-action: none; }
.mega__inner { touch-action: pan-y; }
@media (max-width: 559px) {
  .mega { padding: calc(var(--header-h, 68px) + 8px) 10px 10px; }
  .mega__inner { padding: 14px 10px; border-radius: 22px; }
  .mega__head { padding-bottom: 10px; margin-bottom: 8px; }
  .mega__head b { font-size: 21px; }
  .mega__head span { display: none; }
  .mega__grid { gap: 6px; }
  .mega__item { flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; text-align: center; border-radius: 14px; background: var(--ivory-100, #FBF7EE); }
  .mega__item:hover { transform: none; }
  .mega__icon { width: 42px; height: 42px; border-radius: 12px; }
  .mega__icon .i3d { width: 34px; height: 34px; }
  .mega__txt b { font-size: 16px; }
  .mega__txt small { display: none; }
  .mega__foot { margin-top: 10px; padding-top: 10px; gap: 8px 16px; }
}
html:has(> body.is-locked) { overflow: hidden; }

/* hero v3 — first screen holds the seal, the title and the four sections */
.seal__ring text { letter-spacing: 0; }
.cid-hero--seal .eyebrow::before, .cid-hero--seal .eyebrow::after { display: none; }
.cid-hero--seal .eyebrow { letter-spacing: .16em; }
@media (min-width: 960px) {
  .cid-hero--seal { padding-top: 26px; padding-bottom: 60px; }
  .seal { width: 158px; margin: 26px auto 34px; }
  .cid-hero--seal .cid-hero__title { font-size: clamp(56px, 5.6vw, 82px); margin-top: 6px; }
  .cid-hero--seal .cid-hero__lead { max-width: 820px; margin-top: 12px; font-size: 18px; }
  .hero-tiles { margin-top: 34px; }
  .hero-tile__media { aspect-ratio: 16 / 10; }
}
.mega__inner { position: relative; }
.mega__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 1px solid var(--line); cursor: pointer; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.mega__close svg { width: 20px; height: 20px; }
.mega__close:hover { border-color: var(--gold-500); transform: rotate(90deg); }
@media (max-width: 559px) { .mega__close { display: none; } }
.seal__ring { max-width: none; max-height: none; }
.seal { margin-bottom: 46px; } @media (max-width: 559px) { .seal { margin-bottom: 40px; margin-top: 26px; } }

/* ===== QA pass 3: menu lock, hero fit on laptops / tablets / phones ===== */
html:has(> body.is-locked) > body.is-locked { overflow: visible; }
.mega { background: rgba(244, 247, 253, .72); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); }
.mega__inner { box-shadow: 0 60px 120px -50px rgba(15, 29, 54, .45), 0 0 0 1px rgba(201, 158, 78, .18); }
.seal__ring text { font-size: 10.4px; }
@media (min-width: 960px) and (max-height: 860px) {
  .cid-hero--seal { padding-top: 20px; padding-bottom: 48px; }
  .seal { width: 124px; margin: 30px auto 40px; }
  .cid-hero--seal .cid-hero__title { font-size: clamp(48px, 4.4vw, 64px); }
  .cid-hero--seal .cid-hero__lead { margin-top: 8px; font-size: 17px; }
  .hero-tiles { margin-top: 24px; }
  .hero-tile__media { aspect-ratio: 2 / 1; }
  .hero-tile__contact .i3d { width: 30%; }
}
@media (min-width: 960px) and (max-height: 720px) {
  .hero-tile__media { aspect-ratio: 5 / 2; }
  .hero-tile__body > span { display: none; }
  .hero-tile__contact .i3d { width: 24%; }
}
@media (min-width: 720px) and (max-width: 959px) { .hero-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 559px) {
  .cid-hero--seal { padding-top: 18px; padding-bottom: 44px; }
  .seal { width: 112px; margin: 30px auto 38px; }
  .cid-hero--seal .eyebrow { margin-bottom: 12px; letter-spacing: .12em; }
  .cid-hero--seal .cid-hero__title { font-size: 40px; margin-top: 0; }
  .cid-hero--seal .cid-hero__lead { font-size: 15px; line-height: 1.5; margin-top: 10px; }
  .hero-tiles { margin-top: 22px; gap: 10px; }
  .hero-tile__media { aspect-ratio: 16 / 10; }
  .hero-tile__body { padding: 9px 6px 5px; }
  .hero-tile__body b { font-size: 17px; }
  .hero-tile__body > span { display: none; }
  .hero-tile__contact .i3d { width: 36%; }
}
@media (max-width: 559px) and (max-height: 700px) {
  .mega__inner { padding: 12px 10px; }
  .mega__head { padding-bottom: 8px; margin-bottom: 6px; }
  .mega__head b { font-size: 19px; }
  .mega__item { padding: 8px 4px; gap: 4px; }
  .mega__icon { width: 34px; height: 34px; border-radius: 10px; }
  .mega__icon .i3d { width: 28px; height: 28px; }
  .mega__txt b { font-size: 14.5px; }
  .mega__foot { margin-top: 8px; padding-top: 8px; }
  .mega__phone { display: none; }
}
@media (max-width: 359px) { .brand--cid .brand__name { font-size: 13.5px; line-height: 1.05; } }
.faces__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* =====================================================================
   «100 чеҳраи муваффақи Тоҷикистон» — faces-100.html
   ===================================================================== */
.f100-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 5vw, 76px) 0 clamp(56px, 6vw, 96px);
  background: radial-gradient(900px 600px at 82% 30%, rgba(246, 224, 170, .55), transparent 64%), radial-gradient(700px 500px at 0% 100%, rgba(52, 104, 196, .08), transparent 60%), linear-gradient(180deg, #FFFDF8 0%, #fff 100%); }
.f100-hero__grid { display: grid; gap: 44px; align-items: center; }
.f100-hero__title { margin-top: 10px; font: 700 clamp(44px, 6.2vw, 88px)/1 var(--font-display); letter-spacing: -.02em; color: var(--blue-900); text-wrap: balance; }
.f100-hero__title em { display: block; font-style: italic; font-weight: 600; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.f100-hero__lead { margin-top: 20px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.f100-hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-gold); }
.f100-hero__facts li { flex: 1 1 0; min-width: 96px; padding: 16px 18px 0 0; }
.f100-hero__facts li + li { padding-left: 18px; border-left: 1px solid var(--line-gold); }
.f100-hero__facts b { display: block; font: 700 clamp(30px, 3vw, 40px)/1 var(--font-display); color: #A87B32; }
.f100-hero__facts span { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.f100-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.f100-casket { position: relative; width: min(100%, 440px); margin: 0 auto; }
.f100-casket::before { content: ""; position: absolute; inset: -14px; border-radius: 240px 240px 34px 34px; border: 1px solid rgba(192, 145, 63, .45); }
.f100-casket::after { content: ""; position: absolute; inset: -28px; border-radius: 260px 260px 42px 42px; border: 1px dashed rgba(192, 145, 63, .3); z-index: -1; }
.f100-casket__arch { display: block; overflow: hidden; aspect-ratio: 1122 / 1402; border-radius: 220px 220px 26px 26px; background: #0d1426; border: 8px solid #fff;
  box-shadow: 0 50px 90px -40px rgba(16, 38, 84, .55), 0 0 0 1px var(--line-gold); }
.f100-casket__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.6s var(--ease); }
.f100-casket:hover .f100-casket__arch img { transform: scale(1.07); }
.f100-casket__tag { position: absolute; left: -18px; bottom: 34px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line-gold); box-shadow: 0 24px 44px -26px rgba(120, 85, 30, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.f100-casket__tag small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8A6526; }
.f100-casket__tag b { display: block; margin-top: 4px; font: 700 21px/1.1 var(--font-display); color: var(--ink); }
@media (min-width: 900px) { .f100-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }

.f100-about__grid { display: grid; gap: 28px 64px; }
.f100-about__big { margin-top: 18px; font: 600 clamp(22px, 2.3vw, 30px)/1.35 var(--font-display); color: var(--blue-900); text-wrap: pretty; }
.f100-about__text, .f100-p { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.f100-p { margin-top: 16px; }
.f100-callout { margin: 26px 0 0; padding: 22px 24px; border-radius: 18px; background: linear-gradient(150deg, #FFF8E7, #F6E5BF); border: 1px solid var(--line-gold); }
.f100-callout p { font: italic 600 clamp(18px, 1.7vw, 21px)/1.5 var(--font-display); color: #5A3C12; }
@media (min-width: 900px) { .f100-about__grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }

.f100-goals { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.f100-goal { position: relative; padding: 26px 24px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(16, 38, 84, .45); }
.f100-goal__n { position: absolute; right: 22px; top: 18px; font: italic 600 26px/1 var(--font-display); color: rgba(168, 123, 50, .55); }
.f100-goal__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(160deg, #fff, var(--sky)); border: 1px solid var(--line); }
.f100-goal__icon .i3d { width: 46px; height: 46px; }
.f100-goal p { margin-top: 16px; font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--ink); text-wrap: pretty; }
@media (min-width: 640px) { .f100-goals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .f100-goals { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.f100-who { display: grid; gap: 36px; align-items: start; }
.f100-fields { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.f100-fields li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); box-shadow: 0 12px 24px -20px rgba(16, 38, 84, .4); }
.f100-fields__icon { width: 30px; height: 30px; }
.f100-criteria { padding: 28px 26px; border-radius: 24px; background: linear-gradient(170deg, #fff 40%, var(--sky)); border: 1px solid var(--line); box-shadow: 0 40px 70px -50px rgba(16, 38, 84, .5); }
.f100-criteria h3 { font: 700 26px/1.1 var(--font-display); color: var(--blue-900); }
.f100-criteria > p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.f100-criteria ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.f100-criteria li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.f100-criteria li svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--gold-grad); color: #2B1D06; }
@media (min-width: 980px) { .f100-who { grid-template-columns: 1.35fr .65fr; gap: 56px; } }

.f100-history { display: grid; gap: 36px; align-items: start; }
.f100-history__side { display: grid; gap: 18px; }
.f100-honor { position: relative; padding: 28px 26px 26px; border-radius: 24px; background: radial-gradient(420px 260px at 100% 0%, rgba(255, 255, 255, .9), transparent 60%), linear-gradient(150deg, #FFF8E7, #F2DDAE); border: 1px solid var(--line-gold); box-shadow: 0 40px 70px -46px rgba(120, 85, 30, .55); }
.f100-honor__icon { position: absolute; right: 18px; top: -26px; width: 78px; height: 78px; }
.f100-honor__icon .i3d { width: 100%; height: 100%; filter: drop-shadow(0 14px 16px rgba(120, 85, 30, .3)); }
.f100-honor small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A6526; }
.f100-honor p { margin-top: 12px; font: 600 clamp(19px, 1.8vw, 23px)/1.45 var(--font-display); color: #3E2A0C; text-wrap: pretty; }
.f100-seasons { display: grid; gap: 0; margin: 0; padding: 6px 0; list-style: none; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.f100-seasons li { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.f100-seasons li + li { border-top: 1px solid var(--line); }
.f100-seasons__n { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: italic 700 18px/1 var(--font-display); color: var(--blue-800); background: var(--sky); border: 1px solid var(--line); }
.f100-seasons b { display: block; font: 700 19px/1.2 var(--font-display); color: var(--ink); }
.f100-seasons small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.f100-seasons .is-now .f100-seasons__n { background: var(--gold-grad); color: #2B1D06; border-color: transparent; box-shadow: var(--shadow-gold); }
.f100-seasons .is-now small { color: var(--amber-text, #8A5A00); font-weight: 600; }
@media (min-width: 980px) { .f100-history { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

.f100-season { background: radial-gradient(800px 520px at 85% 40%, rgba(246, 229, 191, .65), transparent 68%), linear-gradient(180deg, #FFFDF8, #FBF5EA); border-block: 1px solid var(--line-gold); overflow: hidden; }
.f100-season__grid { display: grid; gap: 48px; align-items: center; }
.f100-plan { display: grid; gap: 12px; margin: 18px 0 6px; padding: 0; list-style: none; }
.f100-plan li { display: grid; grid-template-columns: 48px auto 1fr; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line-gold); }
.f100-plan__icon .i3d { width: 48px; height: 48px; }
.f100-plan__n { font: italic 600 16px/1 var(--font-display); color: #A87B32; }
.f100-plan b { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.f100-prizes { margin-top: 22px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.f100-prizes p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.f100-prizes ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.f100-prizes li span { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--gold-grad); color: #2B1D06; font-size: 13.5px; font-weight: 700; }
.f100-season__art { position: relative; width: min(100%, 470px); margin: 0 auto; padding-bottom: 12%; }
.f100-poster { display: block; overflow: hidden; border-radius: 26px; padding: 10px; background: #fff; border: 1px solid var(--line-gold); box-shadow: 0 50px 80px -46px rgba(16, 38, 84, .6); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.f100-poster img { display: block; width: 100%; height: auto; border-radius: 18px; }
.f100-poster:hover { transform: rotate(0) translateY(-4px); }
.f100-season__medal { position: absolute; right: -6%; bottom: -2%; width: 44%; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 26px 26px rgba(16, 38, 84, .3)) drop-shadow(0 6px 10px rgba(140, 98, 30, .22)); }
.f100-season__status { position: absolute; left: 6%; bottom: 3%; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text, #8A5A00); box-shadow: 0 20px 40px -24px rgba(120, 85, 30, .5); }
.f100-season__status i { width: 9px; height: 9px; border-radius: 50%; background: var(--amber, #E0A82E); box-shadow: 0 0 0 4px rgba(224, 168, 46, .2); }
@media (min-width: 980px) { .f100-season__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }

.f100-why { text-align: center; }
.f100-quote { max-width: 980px; margin: 18px auto 0; }
.f100-quote p { font: 600 clamp(26px, 3.4vw, 46px)/1.25 var(--font-display); color: var(--blue-900); text-wrap: balance; }
.f100-quote em { font-style: italic; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f100-why__cols { display: grid; gap: 18px 48px; max-width: 980px; margin: 34px auto 0; text-align: left; }
.f100-why__cols p { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
@media (min-width: 820px) { .f100-why__cols { grid-template-columns: 1fr 1fr; } }

.f100-end .container { display: grid; gap: 56px; }
.f100-org { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; box-shadow: 0 40px 70px -54px rgba(16, 38, 84, .5); transition: transform .5s var(--ease), border-color .5s; }
.f100-org:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.f100-org__logo { width: 92px; height: 92px; filter: drop-shadow(0 12px 16px rgba(16, 38, 84, .2)); }
.f100-org__body small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A6526; }
.f100-org__body b { display: block; margin-top: 6px; font: 700 clamp(20px, 2vw, 26px)/1.15 var(--font-display); color: var(--blue-900); }
.f100-org__body > span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.f100-org__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--blue-800); }
.f100-org__arrow svg { width: 18px; height: 18px; }
.f100-motto { text-align: center; }
.f100-motto__text { max-width: 900px; margin: 14px auto 0; font: 600 clamp(28px, 3.8vw, 52px)/1.2 var(--font-display); color: var(--blue-900); text-wrap: balance; }
.f100-motto__text em { font-style: italic; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f100-motto__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.eyebrow--center { justify-content: center; }
@media (max-width: 559px) {
  .f100-casket { width: 82%; }
  .f100-casket__tag { left: -10px; bottom: 22px; padding: 10px 14px; }
  .f100-casket__tag b { font-size: 18px; }
  .f100-org { grid-template-columns: auto 1fr; padding: 18px; gap: 16px; }
  .f100-org__logo { width: 64px; height: 64px; }
  .f100-org__arrow { display: none; }
  .f100-hero__facts li { padding-right: 10px; }
  .f100-hero__facts li + li { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) { .f100-season__medal { animation: none; } }

/* ===== The medal is always shown in its casket ===== */
.casket { display: block; overflow: hidden; padding: 7px; border-radius: 22px; background: #fff; border: 1px solid var(--line-gold);
  box-shadow: 0 30px 56px -30px rgba(16, 38, 84, .55), 0 6px 14px -8px rgba(120, 85, 30, .35); }
.casket img { display: block; width: 100%; height: 100%; aspect-ratio: 1122 / 1402; object-fit: cover; border-radius: 15px; transition: transform 1.2s var(--ease); }
.casket:hover img { transform: scale(1.05); }
.casket--ticket { width: 176px; margin: 0 auto 22px; transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
.mk-ticket:hover .casket--ticket { animation-play-state: paused; }
.card__emblem--casket { width: 96px; height: auto; margin: 26px 0 20px; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0; display: block; }
.casket--mini { padding: 4px; border-radius: 16px; transform: rotate(-4deg); transition: transform .6s var(--ease); }
.casket--mini img { border-radius: 12px; }
.card:hover .card__emblem--casket { transform: none; }
.card:hover .casket--mini { transform: rotate(0) scale(1.04); }
.f100-casket--hero { position: absolute; left: 50%; top: 54%; z-index: 1; width: 62%; text-decoration: none; transform: translate(-50%, -50%); animation: float-c 7s ease-in-out infinite; }
.f100-casket--hero .f100-casket__arch { border-width: 7px; }
.f100-casket--hero::before { inset: -11px; }
.f100-casket--hero::after { inset: -22px; }
.casket--season { position: absolute; right: -4%; bottom: -4%; width: 36%; transform: rotate(5deg); animation: float 7s ease-in-out infinite; }
.ev-card__art--photo { width: min(34%, 128px); }
.ev-card__art--photo .ev-card__art-img { aspect-ratio: 1122 / 1402; object-fit: cover; border-radius: 14px; border: 5px solid #fff; transform: rotate(-4deg);
  box-shadow: 0 22px 34px -18px rgba(16, 38, 84, .55), 0 0 0 1px rgba(192, 145, 63, .45); filter: none; }
@media (max-width: 559px) {
  .casket--ticket { width: 150px; }
  .f100-casket--hero { width: 66%; }
}
@media (prefers-reduced-motion: reduce) { .casket--ticket, .casket--season, .f100-casket--hero { animation: none; } }

/* ===== Event galleries: masonry, every photo whole ===== */
.ev-gallery .gallery { display: block; columns: 3 260px; column-gap: 14px; }
.ev-gallery .gallery__item { display: block; margin: 0 0 14px; break-inside: avoid; overflow: hidden; border-radius: 18px; background: var(--sky); box-shadow: 0 24px 44px -34px rgba(16, 38, 84, .5); }
.ev-gallery .gallery__item img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease); }
.ev-gallery .gallery__item:hover img { transform: scale(1.04); }

/* ===== faces-100: «Маросими соли 2024» ===== */
.f100-2024__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 30px; }
.f100-2024__head .btn b.f100-2024__count { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--gold-grad); color: #2B1D06; font-size: 13px; }
.f100-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.f100-mosaic__item { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--sky); box-shadow: 0 28px 50px -38px rgba(16, 38, 84, .55); }
.f100-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.f100-mosaic__item:hover img { transform: scale(1.05); }
.f100-mosaic .is-big { grid-column: span 2; grid-row: span 2; }
.f100-mosaic .is-tall { grid-row: span 2; }
.f100-mag { position: relative; margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 16px; border-radius: 20px; background: radial-gradient(300px 220px at 50% 0%, #fff, transparent 70%), linear-gradient(170deg, #EEF4FF, #FFF6E2); border: 1px solid var(--line-gold); }
.f100-mag img { width: auto; height: 100%; max-height: 300px; max-width: 100%; justify-self: center; object-fit: contain; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 26px 40px -22px rgba(16, 38, 84, .55); }
.f100-mag figcaption small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A6526; }
.f100-mag figcaption b { display: block; margin-top: 4px; font: 700 19px/1.15 var(--font-display); color: var(--blue-900); }
.f100-mag figcaption span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (max-width: 899px) {
  .f100-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
  .f100-mag img { max-height: 230px; }
}
@media (max-width: 559px) {
  .f100-mosaic { grid-auto-rows: 132px; }
  .f100-mag { padding: 10px; gap: 8px; }
  .f100-mag figcaption span { display: none; }
  .f100-mag figcaption b { font-size: 15px; }
  .f100-mag img { max-height: 170px; }
}

/* ===== Casket v2: no frame, larger, product-shot look (same everywhere) ===== */
.casket { padding: 0; border: 0; border-radius: 22px; background: #0b1224;
  box-shadow: 0 46px 74px -36px rgba(16, 38, 84, .6), 0 14px 28px -16px rgba(0, 0, 0, .35); }
.casket img { border-radius: 0; }
.casket--ticket { width: 250px; transform: none; }
.card__emblem--casket { width: 150px; }
.casket--mini { transform: none; border-radius: 18px; }
.card:hover .casket--mini { transform: translateY(-4px) scale(1.03); }
.f100-casket { width: min(100%, 520px); }
.f100-casket::before, .f100-casket::after { display: none; }
.f100-casket__arch { border: 0; border-radius: 28px;
  box-shadow: 0 60px 100px -46px rgba(16, 38, 84, .65), 0 20px 36px -20px rgba(0, 0, 0, .4); }
.f100-casket--hero { width: 74%; top: 52%; }
.casket--season { width: 44%; transform: rotate(4deg); }
.ev-card__art--photo { width: min(38%, 150px); }
.ev-card__art--photo .ev-card__art-img { border: 0; border-radius: 14px; transform: none;
  box-shadow: 0 22px 34px -16px rgba(16, 38, 84, .6); }
@media (max-width: 559px) {
  .casket--ticket { width: 210px; }
  .card__emblem--casket { width: 130px; }
  .f100-casket { width: 88%; }
  .f100-casket--hero { width: 78%; }
}

/* ===== faces-100: 2024 ceremony inline (text, highlights, all photos) ===== */
.f100-2024__head { display: block; margin-bottom: 18px; }
.f100-2024__text { display: grid; gap: 12px; max-width: 860px; margin-bottom: 30px; }
.f100-2024__text p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.f100-2024__text p:first-child { font: 600 clamp(19px, 1.8vw, 23px)/1.45 var(--font-display); color: var(--blue-900); }
.f100-mag > a { display: grid; place-items: center; min-height: 0; }
.f100-mag > a img { height: 100%; }
.f100-2024__more { display: flex; justify-content: center; margin-top: 26px; }
.f100-2024__more .btn b.f100-2024__count { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--gold-grad); color: #2B1D06; font-size: 13px; }
.f100-all { columns: 3 260px; column-gap: 14px; margin-top: 14px; }
.f100-all[hidden] { display: none; }
.f100-all__item { display: block; margin: 0 0 14px; break-inside: avoid; overflow: hidden; border-radius: 18px; background: var(--sky); box-shadow: 0 24px 44px -34px rgba(16, 38, 84, .5); }
.f100-all__item img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease); }
.f100-all__item:hover img { transform: scale(1.04); }
.f100-all:not([hidden]) { animation: f100-in .6s var(--ease) both; }
@keyframes f100-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.f100-casket__tag { max-width: 280px; }
.f100-casket__tag b { font-size: 19px; line-height: 1.2; }
@media (max-width: 559px) { .f100-casket__tag { max-width: 220px; } .f100-casket__tag b { font-size: 16px; } }
