@font-face { font-family: "Cormorant"; src: url(namuna/shrift/cormorant-latin.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Cormorant"; src: url(namuna/shrift/cormorant-latin-ext.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1EFF; }
@font-face { font-family: "Cormorant"; src: url(namuna/shrift/cormorant-italic-latin.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Cormorant"; src: url(namuna/shrift/cormorant-italic-latin-ext.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1EFF; }
@font-face { font-family: "Onest"; src: url(namuna/shrift/onest-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Onest"; src: url(namuna/shrift/onest-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1EFF; }

:root {
  --tun: #0b0d10;
  --fil: #f4efe6;
  --siyoh: #26221e;
  --kul: #6f675d;
  --chiziq: rgba(38, 34, 30, .18);
  --qizil: #d3201f;
  --serif: "Cormorant", "Times New Roman", serif;
  --oddiy: "Onest", "Helvetica Neue", Arial, sans-serif;
  --chet: clamp(16px, 2.6vw, 40px);
  --bosh-oraliq: clamp(88px, 11vw, 190px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--fil); -webkit-text-size-adjust: 100%; }
body { background: var(--fil); color: var(--siyoh); font-family: var(--oddiy); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
i, em { font-style: italic; }
ul, ol { list-style: none; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
section[id] { scroll-margin-top: 72px; }
:focus-visible { outline: 2px solid var(--qizil); outline-offset: 3px; }

/* Yuqori qator */
.bosh {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: max(10px, env(safe-area-inset-top)) var(--chet) 10px;
  color: var(--fil); background: linear-gradient(180deg, rgba(8,9,12,.55), rgba(8,9,12,0));
  transition: background .3s, color .3s;
}
.bosh.oq-bosh { color: var(--siyoh); background: var(--fil); box-shadow: 0 1px 0 var(--chiziq); }
/* Logo: qora fonda oq nusxasi, oq fonda qora nusxasi */
.logo-oq { display: none; }
.bosh:not(.oq-bosh) .logo-rasm { display: none; }
.bosh:not(.oq-bosh) .logo-oq { display: block; }
.bosh-logo { font-family: var(--serif); font-size: 24px; line-height: 1; min-height: 44px; display: flex; gap: .28em; align-items: center; white-space: nowrap; transition: opacity .4s; }
.bosh-menyu { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: 13px; text-transform: lowercase; }
.bosh-menyu a { min-height: 44px; display: flex; align-items: center; }

/* Birinchi ekran */
.birinchi { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--tun) center / cover no-repeat; color: var(--fil); }
.birinchi-video { position: absolute; inset: 0; background-size: cover; background-position: center; }
.birinchi-video video, .show-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.birinchi::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, rgba(8,9,12,0), rgba(8,9,12,.72)); }
.birinchi-matn { position: absolute; z-index: 1; left: var(--chet); right: var(--chet); bottom: max(26px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 24px; }
.birinchi-tepa { grid-column: 1 / -1; font-size: clamp(14px, 1.2vw, 18px); }
.birinchi-nom { font-size: clamp(46px, 7vw, 124px); line-height: 1; }
.niqob { display: block; overflow: hidden; padding: .06em .08em .14em; margin: -.06em -.08em -.14em; }
.harf { display: block; }
.tugma { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; background: var(--fil); color: var(--siyoh); font-size: 16px; font-weight: 500; white-space: nowrap; transition: background .25s, color .25s; }
.tugma:hover { background: var(--qizil); color: #fff; }

/* Bosh ekran: telefonda bitta video, kompyuterda yonma-yon uchta */
.birinchi-uchlik { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; }
.birinchi-uchlik .birinchi-video { position: relative; inset: auto; overflow: hidden; }
.birinchi-uchlik .yon { display: none; }
@media (min-width: 820px) {
  .birinchi-uchlik { grid-template-columns: 1fr min(56.25vh, 34vw) 1fr; grid-template-columns: 1fr min(56.25svh, 34vw) 1fr; }
  .birinchi-uchlik .yon { display: block; }
}

/* Bosh ekrandagi 3D sahna */
#sahna { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#suruv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* Darslar: plitkalar sahnasi (plitka.js) */
.plitka { position: relative; height: 400vh; background: var(--tun); color: var(--fil); }
.plitka-sahna { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.plitka-panjara { position: absolute; left: 50%; top: 50%; }
.plitka-panjara figure { position: absolute; margin: 0; overflow: hidden; border-radius: 4px; background: #1a1c20; will-change: transform; }
.plitka-panjara img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.78); }
.plitka-ust { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 0 var(--chet); text-align: center; pointer-events: none; }
.plitka-nom { font-size: clamp(38px, 5.4vw, 96px); line-height: 1.02; max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .65); }
.plitka-ich { opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 28px; pointer-events: none; }
.plitka-gap { max-width: 24em; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 36px); line-height: 1.15; }
.plitka-gap cite { display: block; margin-top: 12px; font-family: var(--oddiy); font-style: normal; font-size: 14px; opacity: .7; }
.plitka-ishora { position: absolute; left: 0; right: 0; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 2; text-align: center; font-size: 13px; opacity: .7; text-transform: lowercase; }
.plitka-statik { height: auto; }
.plitka-statik .plitka-sahna { position: static; height: auto; overflow: visible; padding: 136px var(--chet) var(--bosh-oraliq); display: flex; flex-direction: column-reverse; gap: 40px; }
.plitka-statik .plitka-panjara { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plitka-statik .plitka-panjara figure { position: relative; aspect-ratio: 4 / 5; }
.plitka-statik .plitka-ust { position: static; }
.plitka-statik .plitka-ich { opacity: 1; pointer-events: auto; }
.plitka-statik .plitka-ishora { display: none; }

/* Bosh sahifa: moda videosi (Kokand Fashion Show o'rnida) */
.moda { background: var(--tun); padding: var(--bosh-oraliq) var(--chet); }
.moda-video { position: relative; overflow: hidden; aspect-ratio: 2732 / 1440; max-width: 1600px; margin: 0 auto; background-size: cover; background-position: center; }
.moda-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Ikki moda videosi yonma-yon, chetdan chetga */
.moda-juft { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.moda-juft .moda-video { max-width: none; width: 100%; margin: 0; }
@media (max-width: 760px) { .moda-juft { grid-template-columns: 1fr; } }

/* Alohida sahifalar: fashion show va kursga yozilish */
.show.alohida-show { padding-top: clamp(112px, 12vw, 190px); }
.aloqa.alohida-aloqa { padding-top: clamp(112px, 12vw, 190px); }

/* Aylanma menyu (orbita.js) */
.orbita { position: absolute; z-index: 2; left: var(--chet); top: clamp(84px, 13vh, 140px); width: min(44vw, 640px); height: clamp(230px, 44vh, 420px); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; opacity: 0; transition: opacity .6s; }
.orbita.tayyor { opacity: 1; }
.orbita.tortilmoqda { cursor: grabbing; }
.orbita-yol { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(244, 239, 230, .14); border-radius: 50%; pointer-events: none; }
.orbita-el { position: absolute; left: 50%; top: 50%; width: clamp(84px, 8.2vw, 128px); color: var(--fil); will-change: transform, opacity; -webkit-user-drag: none; }
.orbita-el img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); pointer-events: none; transition: transform .35s; }
.orbita-el span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.2; text-align: center; text-transform: lowercase; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.orbita-el:hover img { transform: translateY(-4px); outline: 1px solid var(--fil); outline-offset: 3px; }
.orbita-el:focus-visible { outline: none; }
.orbita-el:focus-visible img { outline: 2px solid var(--qizil); outline-offset: 3px; }
@media (max-width: 819px) {
  .orbita { left: 0; right: 0; width: auto; top: 92px; height: 190px; }
  .orbita-el { width: 60px; }
  .orbita-el span { font-size: 11px; margin-top: 5px; }
}

/* Katta gap */
.gap-bolim { padding: clamp(36px, 5vw, 72px) var(--chet) var(--bosh-oraliq); }
.katta-gap { font-size: clamp(34px, 5vw, 88px); line-height: 1.02; max-width: 15ch; }
.katta-gap em { color: var(--qizil); }
.soz { display: inline-block; white-space: nowrap; }
.uchlik { margin-top: clamp(28px, 3.5vw, 56px); display: grid; grid-template-columns: 1fr 3fr; gap: 20px; border-top: 1px solid var(--chiziq); padding-top: 18px; }
.uchlik ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 44px); line-height: 1.05; }


/* Kurslar */
.kurslar { background: var(--tun); }
.kurs-toplam { position: relative; }
.kurs { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--tun); color: var(--fil); }
.kurs-ic { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 35%; will-change: transform, opacity; }
.kurs-fon { position: absolute; inset: 0; background-size: cover; background-position: var(--x, 50%) 50%; }
.kurs-fon video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--x, 50%) 50%; display: block; }
.kurs-ic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,.34) 0%, rgba(8,9,12,.28) 42%, rgba(8,9,12,.78) 100%); }
.kurs-matn { position: absolute; z-index: 2; left: var(--chet); right: var(--chet); bottom: clamp(32px, 5vw, 76px); }
.kurs-nom { font-size: clamp(64px, 11vw, 200px); line-height: 1.02; max-width: 12ch; }
.kirish .kurs-nom { font-size: clamp(76px, 14vw, 260px); line-height: .98; }
.kn { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .07em .22em; margin: -.08em -.07em -.22em; }
.kh { display: inline-block; }
.kurs-izoh { font-size: clamp(18px, 1.7vw, 26px); line-height: 1.35; margin-top: clamp(14px, 1.6vw, 26px); max-width: 30em; }
.royxat-izoh { position: relative; z-index: 3; background: var(--fil); color: var(--siyoh); padding: clamp(28px, 4vw, 56px) var(--chet); }
.royxat-izoh a { white-space: nowrap; border-bottom: 1px solid currentColor; }

/* Darslar */
.darslar { padding: 0 var(--chet) var(--bosh-oraliq); }
section.alohida { padding-top: clamp(112px, 12vw, 190px); }
.bosh-menyu a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.ustoz h1 { font-size: clamp(52px, 6.8vw, 124px); line-height: 1; margin: .2em 0 .35em; overflow-wrap: anywhere; }
.show h1 { font-size: clamp(60px, 11vw, 210px); line-height: .98; margin-bottom: clamp(30px, 4vw, 60px); }
.darslar-nom { font-size: clamp(46px, 6.4vw, 118px); line-height: 1.02; max-width: 18ch; margin-bottom: clamp(40px, 6vw, 90px); }
.galereya { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 22px); align-items: start; }
.galereya figure { overflow: hidden; background: #e8e1d5; }
.galereya img { height: 100%; object-fit: cover; }
.r1 { grid-column: 1 / span 7; grid-row: 1 / span 2; aspect-ratio: 720 / 790; }
.r2 { grid-column: 9 / span 4; aspect-ratio: 620 / 680; }
.r4 { grid-column: 8 / span 3; aspect-ratio: 720 / 700; align-self: end; }
.r3 { grid-column: 1 / span 6; aspect-ratio: 720 / 320; }
.iqtibos { grid-column: auto; margin: clamp(56px, 8vw, 130px) 0 0 auto; max-width: 21em; font-family: var(--serif); font-size: clamp(34px, 4.2vw, 72px); line-height: 1.08; }
.iqtibos cite { display: block; font-family: var(--oddiy); font-style: normal; font-size: 15px; color: var(--kul); margin-top: 18px; line-height: 1.4; }

/* Ustoz */
.ustoz { padding: var(--bosh-oraliq) var(--chet); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 90px); align-items: end; border-top: 1px solid var(--chiziq); }
.ustoz-rasm { aspect-ratio: 720 / 790; overflow: hidden; }
.ustoz-rasm img { height: 100%; object-fit: cover; }
.kichik-nom { font-size: 15px; color: var(--kul); }
.ustoz h2 { font-size: clamp(52px, 6.8vw, 124px); line-height: 1; margin: .2em 0 .35em; overflow-wrap: anywhere; }
.ustoz blockquote { font-family: var(--serif); font-size: clamp(28px, 2.9vw, 48px); line-height: 1.12; max-width: 19em; }
.ustoz ul { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ustoz li { padding: 12px 0; border-top: 1px solid var(--chiziq); }

/* Fashion Show */
.show { background: var(--tun); color: var(--fil); padding: var(--bosh-oraliq) var(--chet); }
.show h2 { font-size: clamp(60px, 11vw, 210px); line-height: .98; margin-bottom: clamp(30px, 4vw, 60px); }
.show-video { position: relative; aspect-ratio: 1276 / 720; max-width: 1240px; background-size: cover; background-position: center; }
.show-pastki { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(36px, 5vw, 70px); }
.show blockquote { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 78px); line-height: 1.06; }
.show cite { display: block; font-family: var(--oddiy); font-style: normal; font-size: 15px; opacity: .72; margin-top: 16px; }
.show dl > div { padding: 16px 0; border-top: 1px solid rgba(244, 239, 230, .24); }
.show dt { font-size: 15px; opacity: .72; }
.show dd { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 40px); line-height: 1.12; }

/* Shaxmat sahnasi */
.yurish { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; background: var(--tun); }
.yurish-ekran { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: 1fr; }
.yurish-ustun { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.yurish-ustun video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.yurish-ustun.yon { display: none; }
.yurish-soya { position: absolute; inset: 0; z-index: -1; background: rgba(8, 9, 12, .34); }
.yurish-gap { position: absolute; left: var(--chet); right: var(--chet); top: 50%; transform: translateY(-50%); color: var(--fil); text-align: center; font-size: clamp(50px, 8.4vw, 150px); line-height: 1.02; }
.yurish-gap em { color: var(--qizil); }
@media (min-width: 820px) {
  .yurish-ekran { grid-template-columns: 1fr 1fr 1fr; }
  .yurish-ustun.yon { display: block; opacity: .62; }
}

/* Aloqa */
.aloqa { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; padding: var(--bosh-oraliq) var(--chet); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(16px, 2vw, 32px); align-items: stretch; }
.aloqa-chap { color: #000; }
/* Oq pardali video endi butun bo'lim orqasida, karta va ma'lumotlar ustida */
.aloqa-video { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .62; }
.aloqa-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.aloqa-matn { padding: clamp(24px, 3vw, 48px); }
.aloqa .kichik-nom { color: #000; }
.aloqa h2, .aloqa h1 { font-size: clamp(54px, 6vw, 104px); line-height: .98; margin: .1em 0 .2em; }
.katta-tel { display: inline-block; font-family: var(--serif); color: #000; font-size: clamp(38px, 3.8vw, 64px); line-height: 1.05; white-space: nowrap; letter-spacing: -.01em; }
.aloqa dl { margin-top: 28px; }
.aloqa dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(0, 0, 0, .28); }
.aloqa dt { color: #000; font-size: 15px; padding-top: 2px; }
.aloqa dd a { border-bottom: 1px solid rgba(0, 0, 0, .4); overflow-wrap: anywhere; }
.aloqa-xarita { min-height: 520px; background: #e8e1d5; }
.aloqa-xarita iframe { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; }

.oxir { padding: 22px var(--chet) max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--chiziq); font-size: 14px; color: var(--kul); }

@media (max-width: 819px) {
  body { font-size: 16px; }
  .bosh { flex-wrap: wrap; gap: 0 12px; }
  .bosh-logo { font-size: 20px; min-height: 34px; }
  .bosh-menyu { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
  .bosh-menyu .uyda { display: none; }
  section[id] { scroll-margin-top: 104px; }
  section.alohida { padding-top: 136px; }
  .birinchi-matn { grid-template-columns: 1fr; }
  .birinchi-nom { font-size: 14vw; }
  .tugma { width: 100%; }
  .uchlik, .ustoz, .aloqa, .show-pastki { grid-template-columns: 1fr; }
  .uchlik ul { grid-template-columns: 1fr; }
  .kurs-nom { font-size: 16.5vw; }
  .kirish .kurs-nom { font-size: 20vw; }
  .galereya { grid-template-columns: repeat(2, 1fr); }
  .r1, .r3 { grid-column: 1 / -1; grid-row: auto; }
  .r2, .r4 { grid-column: auto; aspect-ratio: 1 / 1; }
  .r3 { order: 3; }
  .ustoz ul { grid-template-columns: 1fr; }
  .katta-tel { font-size: 11vw; }
  .aloqa-xarita, .aloqa-xarita iframe { min-height: 360px; }
  .aloqa dl > div { grid-template-columns: 72px 1fr; }
  .aloqa dd a { font-size: 15px; } /* @Dizayner_Madina_admini telefonda bir qatorda (oldin 88px, 16px) */
}

/* Video bo'limlar: har bir toifa o'z sahifasida (nima-uchun, kolleksiyalar, qabullar, sotuv, reklama, show) */
.toifa { background: var(--tun); color: var(--fil); min-height: 100vh; min-height: 100svh; padding: clamp(112px, 12vw, 190px) var(--chet) var(--bosh-oraliq); }
.toifa h1 { font-size: clamp(54px, 9vw, 170px); line-height: .98; margin-bottom: clamp(28px, 4vw, 56px); }
.toifa-izoh { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; max-width: 34em; opacity: .8; margin: -10px 0 clamp(28px, 4vw, 56px); }
.toifa-video { display: grid; justify-content: center; }
.toifa-video video, .lavhalar video { display: block; width: 100%; background: #000; border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.toifa-video video { height: min(82vh, 860px); height: min(82svh, 860px); width: auto; max-width: 100%; aspect-ratio: 9 / 16; }
.lavhalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: start; margin-top: clamp(40px, 6vw, 90px); }
.lavhalar h2 { grid-column: 1 / -1; font-size: clamp(36px, 4.4vw, 78px); line-height: 1.04; }
.lavhalar .keng { grid-column: 1 / -1; }
.lavhalar .keng video { aspect-ratio: 1276 / 720; }
.lavhalar .tik video { aspect-ratio: 9 / 16; }
/* 9 ta karta sig'ishi uchun aylanma menyu kartalari kichikroq */
.orbita.kop .orbita-el { width: clamp(70px, 6.4vw, 104px); }
.orbita.kop .orbita-el span { font-size: 12px; }
@media (max-width: 819px) { .orbita.kop .orbita-el { width: 50px; } .orbita.kop .orbita-el span { font-size: 10px; } }
/* Kursga yozilish sahifasi: tepada ikkita tik video yonma-yon */
.yozilish-videolar { min-height: 0; }
.juft-tik { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: clamp(14px, 2vw, 32px); }
.juft-tik video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.juft-tik figcaption { margin-top: 10px; font-size: 14px; text-transform: lowercase; opacity: .75; text-align: center; }
@media (max-width: 560px) { .juft-tik { grid-template-columns: 1fr; } }
/* Ovozli videolar (ovoz.js) */
.ovoz-kut { position: relative; }
video.ovozli { cursor: pointer; }
.ovoz-belgi { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(8, 9, 12, .55); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.ovoz-belgi svg { width: 22px; height: 22px; }
.ovoz-belgi .bor, .ovoz-bor .ovoz-belgi .yoq { display: none; }
.ovoz-bor .ovoz-belgi .bor { display: inline; }
.ovoz-belgi:focus-visible { outline: 2px solid var(--qizil); outline-offset: 2px; }
.juft-tik.uchta { grid-template-columns: repeat(3, minmax(0, 380px)); }
@media (max-width: 900px) { .juft-tik.uchta { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.ustoz-rasm.video-rasm { aspect-ratio: 9 / 16; max-height: 86vh; max-height: 86svh; }
.ustoz-rasm.video-rasm video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
/* Ustoz sahifasi: videodan olingan yo'l (yillar) */
.ustoz-yol { align-items: start; }
.ustoz-yol .video-rasm { position: sticky; top: 96px; }
.yol { margin-top: clamp(44px, 5vw, 80px); }
.yol-nom { font-size: clamp(38px, 4vw, 68px) !important; line-height: 1.04; margin: 0 0 18px !important; }
.yol ol { display: grid; }
.yol li { display: grid; grid-template-columns: minmax(110px, 9em) 1fr; gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--chiziq); }
.yol b { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 34px); line-height: 1.1; }
.yol span { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.45; }
@media (max-width: 560px) { .yol li { grid-template-columns: 1fr; } }
/* Bosh sahifa: ikki show videosi yonma-yon, bir-biriga yopishgan. Tiniq qolishi uchun 1280px balandlikdan oshmaydi */
.show-juft { display: flex; justify-content: center; gap: 0; background: var(--tun); }
.show-tik { position: relative; overflow: hidden; height: min(92vh, 1280px); height: min(92svh, 1280px); aspect-ratio: 9 / 16; background-size: cover; background-position: center; }
.show-tik video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .show-tik { height: auto; width: 50%; } }
/* To'rtta show videosi butun kenglikni to'ldiradi */
.show-juft { display: grid; grid-template-columns: repeat(4, 1fr); }
.show-juft .show-tik { height: auto; width: 100%; aspect-ratio: 9 / 16; }
@media (max-width: 760px) { .show-juft { grid-template-columns: repeat(2, 1fr); } }
/* Loyiha logosi (rasm/logo/logo01.pdf dan) */
.logo-rasm { display: block; height: 48px; width: auto; }
@media (max-width: 819px) { .logo-rasm { height: 30px; } }

.aloqa-logo { width: 150px; height: auto; margin-bottom: 22px; }

/* Bosh yozuv: klassik, sokin harakat */
.birinchi-tepa { display: flex; align-items: center; gap: 14px; letter-spacing: .18em; text-transform: uppercase; font-size: clamp(11px, .9vw, 13px); }
.birinchi-tepa::before { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; transform-origin: left; animation: chiz 1.4s .3s cubic-bezier(.2,.7,.2,1) both; }
.birinchi-nom .soz { display: inline-block; }
.birinchi-nom .h { display: inline-block; will-change: transform, opacity, filter; }
.birinchi-shior { grid-column: 1; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.7vw, 26px); opacity: .85; max-width: 32ch; }
.birinchi-chiziq { display: block; width: min(260px, 40%); height: 1px; margin: 16px 0 4px; background: linear-gradient(90deg, #c9a46a, rgba(201,164,106,0)); transform-origin: left; animation: chiz 1.6s 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes chiz { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .birinchi-tepa::before, .birinchi-chiziq { animation: none; } }

/* Kirish ekrani */
html.kirishda, html.kirishda body { overflow: hidden; }
.kirish { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; color: var(--fil); transition: opacity .6s; cursor: pointer; }
.kirish-zina { position: absolute; inset: 0; display: flex; overflow: hidden; }
.kirish-zina i { flex: 1; height: 100%; margin-right: -1px; background: var(--tun); }
.kirish-markaz { position: relative; display: grid; justify-items: center; text-align: center; padding: 0 var(--chet); }
.kirish-ramka { position: absolute; left: 50%; top: 50%; width: clamp(180px, 18vw, 260px); aspect-ratio: 3 / 4; transform: translate(-50%, -50%); overflow: hidden; clip-path: inset(50% 50% 50% 50%); }
.kirish-ramka img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.kirish-logo { width: clamp(220px, 26vw, 380px); height: auto; opacity: 0; }
.kirish-yol { display: block; width: clamp(120px, 14vw, 200px); height: 1px; margin: 26px 0 22px; background: linear-gradient(90deg, rgba(201,164,106,0), #c9a46a, rgba(201,164,106,0)); transform: scaleX(0); }
.kirish-salom { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.1; }
.kirish-salom .kh { display: inline-block; opacity: 0; }
.kirish-ost { margin-top: 12px; font-size: clamp(11px, .9vw, 13px); letter-spacing: .2em; text-transform: uppercase; opacity: 0; }
.kirish-pastki { position: absolute; left: var(--chet); right: var(--chet); bottom: max(26px, env(safe-area-inset-bottom)); }
.kirish-son { font-family: var(--serif); font-size: clamp(40px, 5vw, 76px); line-height: 1; margin-bottom: 14px; }
.kirish-son b { font-weight: 400; }
.kirish-chiziq { height: 1px; background: rgba(244,239,230,.18); }
.kirish-chiziq span { display: block; height: 100%; background: var(--fil); transform: scaleX(0); transform-origin: left; }
.kirish-tez .kirish-ramka, .kirish-tez .kirish-pastki { display: none; }
.kirish-tez .kirish-logo, .kirish-tez .kirish-salom .kh, .kirish-tez .kirish-ost { opacity: 1; }
.kirish-tez .kirish-yol { transform: none; }

/* Bosh sahifa: ustoz ismi, qizning boshi yonida, chiziq unga ishora qiladi */
.birinchi-ism { position: absolute; z-index: 1; top: 13%; left: calc(67vw + 12vh + 44px); right: var(--chet); display: flex; align-items: flex-start; gap: 14px; text-align: left; color: var(--fil); animation: ism-chiq 1.4s 1.8s cubic-bezier(.2,.7,.2,1) both; }
.birinchi-ism > i { flex: none; position: relative; width: clamp(28px, 3vw, 48px); height: 1px; margin-top: .9em; background: linear-gradient(90deg, rgba(201,164,106,.2), #c9a46a); }
.birinchi-ism > i::before { content: ""; position: absolute; left: -3px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #c9a46a; }
.birinchi-ism b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 32px); line-height: 1.1; }
.birinchi-ism small { display: block; margin-top: 10px; font-size: clamp(10px, .75vw, 12px); letter-spacing: .16em; text-transform: uppercase; line-height: 1.7; opacity: .8; }
@keyframes ism-chiq { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 820px) { .birinchi-ism { display: none; } }
@media (prefers-reduced-motion: reduce) { .birinchi-ism { animation: none; } }

/* Bosh sarlavha logoning ostida, tepada, bir qatorda */
.birinchi-nom-tepa { position: absolute; z-index: 1; left: var(--chet); top: clamp(70px, 9vh, 96px); font-size: clamp(30px, 3.6vw, 64px); white-space: nowrap; color: var(--fil); }
.birinchi-nom-tepa .niqob { display: inline-block; }
.birinchi-nom-tepa .birinchi-chiziq { margin: 10px 0 0; width: min(200px, 30%); }
/* aylanma menyu pastda, shior yozuvidan sal tepada */
.orbita { top: auto; bottom: clamp(128px, 17vh, 170px); }
@media (max-width: 820px) { .birinchi-nom-tepa { white-space: normal; font-size: 10vw; right: var(--chet); top: 96px; } .orbita { top: 196px; bottom: auto; height: 130px; } }

/* Kursga yozilish sahifasi: katta sarlavha ko'rinmaydi (faqat ekran o'quvchi uchun), videolar menyu ostidan boshlanadi */
.korinmas { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.yozilish-videolar { padding-top: clamp(84px, 7vw, 110px); }
@media (max-width: 820px) { .yozilish-videolar { padding-top: 116px; } }

/* Kursga yozilish: videolar ostidagi bog'lanish tugmalari */
.yozilish-videolar { padding-bottom: clamp(56px, 7vw, 110px); }
.boglanish { max-width: 1400px; margin: clamp(20px, 2.4vw, 32px) auto 0; }
.boglanish-nom { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 54px); line-height: 1; text-align: center; margin-bottom: clamp(20px, 2.6vw, 36px); }
.boglanish-qator { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.boglanish-el { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border: 1px solid rgba(244, 239, 230, .16); border-radius: 10px; color: var(--fil); font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; transition: background .25s, border-color .25s, transform .25s; }
.boglanish-el svg { flex: none; width: 26px; height: 26px; fill: currentColor; color: #c9a46a; transition: color .25s; }
.boglanish-el svg[fill="none"] { fill: none; }
.boglanish-el small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 3px; }
.boglanish-el:hover, .boglanish-el:focus-visible { background: var(--fil); border-color: var(--fil); color: var(--tun); transform: translateY(-2px); }
.boglanish-el:hover svg, .boglanish-el:focus-visible svg { color: var(--qizil); }
@media (max-width: 1000px) { .boglanish-qator { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .boglanish-qator { grid-template-columns: 1fr; } }

/* Bosh sarlavha, klassik uslub: bosh harflar, keng oraliq, ostida oltin chiziqlar orasida "moda markazi" */
.birinchi-nom.klassik { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.9vw, 50px); line-height: 1; text-transform: uppercase; letter-spacing: .16em; white-space: nowrap; }
.birinchi-nom.klassik .niqob { display: block; }
.birinchi-nom.klassik .klassik-ost { display: flex; align-items: center; gap: .9em; margin-top: .55em; font-size: .4em; letter-spacing: .62em; color: #c9a46a; }
.birinchi-nom.klassik .klassik-ost::before, .birinchi-nom.klassik .klassik-ost::after { content: ""; flex: none; width: 2.6em; height: 1px; background: currentColor; opacity: .7; }
@media (max-width: 820px) { .birinchi-nom.klassik { font-size: 7.4vw; letter-spacing: .1em; } }
.birinchi-nom.klassik .klassik-ost .harf { margin-right: -.62em; }

/* Nima uchun o'rganish: fon variantlari (fon.js) */
.fon { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--tun); }
.fon::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.toifa.fonli { position: relative; z-index: 1; background: transparent; }
.fon-video { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(38px) brightness(.42) saturate(1.15); }
[data-fon="1"] .fon::after { background: radial-gradient(ellipse at 50% 60%, rgba(11,13,16,0) 0%, rgba(11,13,16,.55) 75%); }
.fon-yulduz { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-fon="2"] .fon::after { background: radial-gradient(ellipse at 50% 110%, rgba(201,164,106,.14), rgba(11,13,16,0) 60%); }
.fon-rasm { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.2); transition: opacity 1.8s ease, transform 8s linear; filter: brightness(.38) saturate(1.1); }
.fon-rasm.faol { opacity: 1; transform: scale(1.32); }
[data-fon="3"] .fon::after { background: linear-gradient(180deg, rgba(11,13,16,.7), rgba(11,13,16,.25) 40%, rgba(11,13,16,.75)); }
.fon-tanlov { position: fixed; z-index: 50; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(11,13,16,.82); border: 1px solid rgba(244,239,230,.18); backdrop-filter: blur(8px); color: var(--fil); font-size: 13px; white-space: nowrap; }
.fon-tanlov span { padding: 0 8px 0 10px; opacity: .6; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.fon-tanlov button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.fon-tanlov button[aria-pressed="true"] { background: var(--fil); color: var(--tun); }
@media (max-width: 560px) { .fon-tanlov span { display: none; } .fon-tanlov button { padding: 0 10px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .fon-rasm { transition: opacity 1.8s ease; transform: none; } .fon-rasm.faol { transform: none; } }

/* Aylanma kartalarda kichik videolar va bosilganda ochiladigan to'liq video (orbita-video.js) */
.orbita-el video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); pointer-events: none; background: #000; transition: transform .35s; }
.orbita-el:hover video { transform: translateY(-4px); outline: 1px solid var(--fil); outline-offset: 3px; }
.orbita-el:focus-visible video { outline: 2px solid var(--qizil); outline-offset: 3px; }
.ichki-video { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: #000; overflow: hidden; }
.ichki-video-fon { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(36px) brightness(.4); }
.ichki-video-asosiy { position: relative; height: min(88vh, 900px); height: min(88svh, 900px); width: auto; max-width: calc(100vw - 32px); aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.ichki-video-boshqa { position: absolute; left: var(--chet); right: var(--chet); top: 20px; display: flex; align-items: center; gap: 24px; color: var(--fil); }
.ichki-video-boshqa p { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 40px); line-height: 1; text-transform: lowercase; }
.ichki-video-boshqa a { margin-left: auto; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ichki-video-yop { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(244,239,230,.4); background: rgba(11,13,16,.5); color: var(--fil); font-size: 28px; line-height: 1; cursor: pointer; }
.ichki-video-yop:hover { background: var(--fil); color: var(--tun); }
@media (max-width: 820px) { .ichki-video-boshqa { top: 12px; gap: 14px; } .ichki-video-boshqa p { display: none; } .ichki-video-asosiy { height: auto; width: 100%; max-height: calc(100svh - 90px); margin-top: 50px; } }
