/* Poʻlat Himmatov — shaxsiy sayt
   Qora tahririy sahifa, bitta oq bo'lim (Nima qilaman). Faqat oq-qora.
   Tipografika: katta matn siqiladi (manfiy tracking), kichik matn yoyiladi.
   Urg'u so'zlar — kursiv serif. Bo'shliq 8pt to'rida, 4pt yarim qadam.
   Burchaklar: 8 · 12 · 20 · 32 · kapsula; ichki = tashqi − padding. */

:root {
  --black: #000;
  --white: #fff;
  --elev-1: #111113;
  --elev-2: #1c1c1e;
  --elev-3: #2c2c2e;
  --gray-l: #f5f5f7;

  --label: var(--white);
  --label-2: rgba(255, 255, 255, .6);
  --label-3: rgba(255, 255, 255, .34);
  --fill: rgba(255, 255, 255, .08);
  --sep: rgba(255, 255, 255, .14);
  --bg: var(--black);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-pill: 999px;

  --gutter: clamp(16px, 3.4vw, 48px);
  --gap: 24px;
  --sec: 160px;
  --nav-top: 12px;
  --nav-h: 56px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

.light {
  --label: var(--black);
  --label-2: rgba(0, 0, 0, .6);
  --label-3: rgba(0, 0, 0, .34);
  --fill: rgba(0, 0, 0, .06);
  --sep: rgba(0, 0, 0, .12);
  --bg: var(--white);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--black); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.47;
  letter-spacing: -.0253em;
  color: var(--label);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
section, footer { color: var(--label); background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: var(--r-sm); }

.wrap { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--white); color: var(--black); font-size: .9375rem;
}
.skip:focus { top: 16px; }
.ar { width: .75em; height: .75em; display: inline-block; vertical-align: .02em; }

/* ───── Tipografika ───── */

.display {
  display: flex; align-items: flex-start; gap: .12em;
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.055em;
}
.display em { letter-spacing: -.03em; }
.display sup {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: .22em; letter-spacing: 0; line-height: 1; margin-top: .3em; color: var(--label-2);
}
.h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }
.label { font-size: .8125rem; letter-spacing: .02em; color: var(--label-2); }
.label-serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.25rem; letter-spacing: -.01em; color: var(--label-2); }
.sec-note { max-width: 24em; font-size: 1.125rem; line-height: 1.45; letter-spacing: -.03em; color: var(--label-2); }

/* ───── Tugmalar ───── */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -.0253em;
  text-decoration: none; white-space: nowrap;
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; letter-spacing: 0; }
.btn--block { width: 100%; }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: rgba(255, 255, 255, .84); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: rgba(0, 0, 0, .8); }
.btn--ghost-light { background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn[disabled] { opacity: .5; cursor: progress; transform: none; }

/* ───── Navigatsiya — Liquid Glass ───── */

.nav {
  position: fixed; top: var(--nav-top); left: 50%; z-index: 60;
  width: min(1240px, calc(100% - 2 * var(--gutter)));
  transform: translateX(-50%);
  transition: transform .5s var(--ease-out);
}
.nav.is-hidden:not(.is-open) { transform: translate(-50%, calc(-100% - 2 * var(--nav-top))); }
.nav-in {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 6px 6px 24px;
  border-radius: var(--r-pill);
  color: var(--white);
  background: color-mix(in srgb, var(--elev-2) 70%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 32px rgba(0, 0, 0, .3);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.is-light .nav-in {
  color: var(--black);
  background: color-mix(in srgb, var(--white) 72%, transparent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 8px 32px rgba(0, 0, 0, .08);
}
.nav.is-light .nav-cta .btn--light { background: var(--black); color: var(--white); }
.brand { font-size: 1rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: .875rem; font-weight: 500; letter-spacing: -.006em; text-decoration: none; white-space: nowrap;
  opacity: .78; transition: opacity .2s, background-color .2s;
}
.nav-links a:hover { opacity: 1; background: rgba(127, 127, 127, .18); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-cta .btn { min-height: 44px; }

/* Til tanlash: kapsula ichida kapsula (36 / padding 2) */
.langs { display: flex; padding: 2px; border-radius: var(--r-pill); background: rgba(127, 127, 127, .16); }
.langs a {
  position: relative;
  display: grid; place-items: center; min-width: 36px; height: 32px; padding: 0 8px;
  border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 600; letter-spacing: .02em; text-decoration: none;
  opacity: .66; transition: opacity .2s, background-color .2s;
}
.langs a::after { content: ""; position: absolute; inset: -6px -2px; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; background: var(--white); color: var(--black); }
.nav.is-light .langs a[aria-current] { background: var(--black); color: var(--white); }

.burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-top) + var(--nav-h) + 40px) 0 40px;
  background: var(--black); color: var(--white);
}
.menu[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  padding-block: 6px;
  font-size: clamp(2.25rem, 9vw, 3.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -.05em;
  text-decoration: none;
}
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.0625rem; color: rgba(255, 255, 255, .6); }
.menu-foot > a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.langs--menu { background: rgba(255, 255, 255, .1); }
.langs--menu a { height: 40px; min-width: 48px; font-size: .875rem; }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-in { padding-left: 20px; }
  .burger {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px;
    background: none; border: 0; border-radius: var(--r-pill); cursor: pointer;
  }
  .burger span { display: block; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease-out); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .nav-cta .langs, .nav-cta .btn { display: none; }
}

/* ───── Hero ───── */

.hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-top) + var(--nav-h) + 24px); }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--gap);
  min-height: calc(100svh - var(--nav-top) - var(--nav-h) - 24px);
}
.hero-meta {
  grid-column: 1 / -1; grid-row: 1;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 8px 24px;
  font-size: .8125rem; letter-spacing: .02em; color: var(--label-2);
}
.hero-meta .clock { color: var(--label); font-variant-numeric: tabular-nums; margin-left: 8px; }
.hero-social { display: flex; gap: 8px; }
.hero-social a { text-decoration: none; color: var(--label); }
.hero-social a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-social i { font-style: normal; color: var(--label-3); }
.hero-photo {
  grid-column: 7 / 12; grid-row: 2;
  align-self: stretch; justify-self: center;
  width: 100%; max-width: 520px; height: 100%; min-height: 360px; max-height: 64svh;
  border-radius: var(--r-xl); overflow: hidden; background: var(--elev-1);
  transform-origin: 50% 100%;
}
.parallax { display: block; width: 100%; height: 100%; }
.js .hero-photo .parallax, .js .info-photo .parallax { height: 116%; margin-top: -8%; }
.hero-img, .about-img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%;
  filter: grayscale(1) contrast(1.08) brightness(.95);
}
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--elev-1); }
.ph span { font-size: clamp(5rem, 12vw, 11rem); font-weight: 700; letter-spacing: -.06em; color: var(--elev-3); line-height: 1; }
.hero-copy {
  grid-column: 1 / 6; grid-row: 2; align-self: end;
  display: flex; flex-direction: column; gap: 24px;
  padding-bottom: calc(4vw + 24px);
}
.hero-lead { font-size: clamp(1.25rem, 1.7vw, 1.625rem); font-weight: 500; line-height: 1.25; letter-spacing: -.03em; max-width: 16em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-name {
  grid-column: 1 / -1; grid-row: 3;
  position: relative; z-index: 2;
  display: flex; align-items: baseline; gap: .18em;
  width: max-content;
  margin-top: -.42em;
  font-size: 15vw;                         /* JS aniq kenglikka moslaydi */
  font-weight: 600; line-height: .9; letter-spacing: -.06em;
  white-space: nowrap;
  color: var(--white);
  mix-blend-mode: difference;
  padding-bottom: .08em;
}
.hero-name em { letter-spacing: -.035em; }
.hero-name .ch { display: inline-block; }

@media (max-width: 959px) {
  .hero-grid { grid-template-rows: auto auto auto auto; min-height: 0; }
  .hero-meta .hero-role { display: none; }
  .hero-photo { grid-column: 1 / -1; grid-row: 2; height: auto; max-width: none; aspect-ratio: 4 / 5; max-height: 60svh; border-radius: var(--r-lg); }
  .hero-name { grid-row: 3; flex-direction: column; gap: 0; margin-top: -.5em; }
  .hero-copy { grid-column: 1 / -1; grid-row: 4; padding: 24px 0 64px; }
  .hero-actions .btn { flex: 1 1 160px; }
}

/* ───── Katta matn ───── */

.statement { padding-block: var(--sec) calc(var(--sec) / 2); }
.statement-text {
  max-width: 22em;
  font-size: clamp(2rem, 4.6vw, 4.75rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -.045em;
}
.statement-text em { letter-spacing: -.03em; }
.statement-text .w { display: inline-block; }
.statement-info {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--gap);
  margin-top: 96px; align-items: end;
}
.info-photo {
  grid-column: 1 / 4; aspect-ratio: 4 / 5;
  border-radius: var(--r-lg); overflow: hidden; background: var(--elev-1);
}
.info-copy { grid-column: 7 / 11; display: flex; flex-direction: column; gap: 16px; }
.info-copy p { font-size: 1.0625rem; color: var(--label-2); }
.link-more {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .3s var(--ease-out);
}
.link-more:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }
@media (max-width: 959px) {
  .statement-info { margin-top: 48px; }
  .info-photo { grid-column: 1 / 7; }
  .info-copy { grid-column: 1 / -1; }
}

/* ───── 21—26 ───── */

.years { padding-block: 32px 64px; overflow: hidden; }
.years-line {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .1em;
  padding-inline: var(--gutter);
  font-size: 22vw; font-weight: 600; line-height: .82; letter-spacing: -.07em;
  white-space: nowrap;
}
.years-c { font-size: .5em; font-weight: 400; letter-spacing: 0; margin-top: .06em; }

/* ───── Bo'lim sarlavhalari ───── */

.works, .smm-teaser, .caps, .contact { padding-block: var(--sec); }
.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px; margin-bottom: 80px;
}
.split .ch, .split .wd { display: inline-block; }

/* ───── Asosiy sayt: ekranni to'ldirib kattalashadi ───── */

.feat { position: relative; height: 260vh; margin-bottom: 120px; }
.feat-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.feat-media {
  position: absolute; inset: 0 0 28svh 0;   /* pastki qismi ma'lumot uchun */
  display: block;
  transform-origin: 50% 50%;
  will-change: transform;
}
/* Muqova qora fonda — butunligicha ko'rinadi, chetlari sahifa bilan qo'shilib ketadi */
.feat-media img { width: 100%; height: 100%; object-fit: contain; }
.feat-info {
  position: absolute; inset: auto 0 0; z-index: 2;
  height: 28svh;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px var(--gap); align-items: start;
  padding: 32px var(--gutter) 24px;
}
.feat-num { grid-column: 1 / 3; font-size: .8125rem; letter-spacing: .02em; color: var(--label-2); align-self: start; padding-top: 12px; }
.feat-main { grid-column: 3 / 9; display: flex; flex-direction: column; gap: 12px; }
.feat-title { font-size: clamp(2.5rem, 4.4vw, 4.5rem); font-weight: 600; line-height: .95; letter-spacing: -.05em; }
.feat-desc { font-size: 1.125rem; line-height: 1.45; color: rgba(255, 255, 255, .78); max-width: 30em; }
.feat-side { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }

@media (max-width: 959px) {
  .feat { height: auto; margin: 0 var(--gutter) 72px; }
  .feat-pin { position: static; height: auto; overflow: visible; }
  .feat-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; }
  .feat-media img { object-fit: cover; }
  .feat-info { position: static; height: auto; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 0 0; background: none; gap: 12px; }
  .feat-num { padding: 0; }
  .feat-side { align-items: flex-start; }
  .feat-title { font-size: 2.25rem; }
}

/* ───── Sochilgan to'r ───── */

.scatter { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 120px; }
.sc { grid-column: var(--c); margin-top: var(--o); }
.sc-link {
  display: flex; flex-direction: column; gap: 16px; width: 100%;
  padding: 0; border: 0; background: none; text-align: left; text-decoration: none; cursor: pointer;
}
.sc-top { display: flex; justify-content: space-between; gap: 16px; font-size: .8125rem; letter-spacing: .02em; color: var(--label-2); }

/* Ish muqovasi: 20 radius. Sayt muqovasida brauzer va telefon maketi rasmning o'zida */
.sc-img { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--elev-1); isolation: isolate; }
.sc-img--web { aspect-ratio: 16 / 10; background: var(--black); }
/* Landing muqovasi baland — yuqori qismi (bosh ekran) ko'rinadi */
.sc-img--top img { object-position: 50% 0; }
/* Muqova butunligicha ko'rinadi — dizayn qilingan muqovaning chetidagi yozuvlar kesilmaydi */
.sc-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .9s var(--ease-out); }
@media (hover: hover) {
  .sc-link:hover .sc-img img, .sc-link:focus-visible .sc-img img { transform: scale(1.03); }
}
.sc-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sc-title { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.sc-cat { font-size: .9375rem; letter-spacing: 0; color: var(--label-2); white-space: nowrap; }
.sc-desc { font-size: 1.0625rem; color: var(--label-2); max-width: 32em; }
.sc-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 28px;
  font-size: .9375rem; font-weight: 600; letter-spacing: 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--ease-out);
}
.sc-link:hover .sc-cta { background-size: 100% 1px; }

@media (max-width: 959px) {
  .scatter { row-gap: 64px; }
  .sc { grid-column: 1 / -1; margin-top: 0; }
  .sec-head { margin-bottom: 48px; }
  .sc-meta { flex-direction: column; gap: 4px; }
}

/* ───── SMM qisqa ko'rinishi ───── */

/* Muqovalar o'z o'lchamida butun ko'rinadi: bir xil balandlik, kengligi rasmga qarab; lenta yonga suriladi */
.smm-row {
  display: flex; gap: var(--gap); height: clamp(260px, 30vw, 420px); margin-bottom: 48px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
}
.smm-row::-webkit-scrollbar { display: none; }
.smm-row li { flex: 0 0 auto; height: 100%; scroll-snap-align: start; }
.smm-row button, .smm-row a { display: block; height: 100%; padding: 0; border: 0; background: var(--elev-1); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; }
.smm-row img { display: block; height: 100%; width: auto; max-width: none; transition: transform .8s var(--ease-out); }
.smm-row button:hover img, .smm-row a:hover img { transform: scale(1.04); }
@media (max-width: 959px) {
  .smm-row { height: 300px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}

/* ───── Nima qilaman (oq bo'lim) ───── */

.caps { --label: var(--black); --label-2: rgba(0, 0, 0, .6); --label-3: rgba(0, 0, 0, .34); --sep: rgba(0, 0, 0, .12); --bg: var(--white); color-scheme: light; }
.caps-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px var(--gap); }
.caps-grid .display { grid-column: 1 / 6; }
.caps-lists { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px var(--gap); padding-top: 12px; }
.caps-col h3 { margin-bottom: 20px; }
.caps-col li { padding-block: 6px; font-size: clamp(1.25rem, 1.7vw, 1.625rem); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
@media (max-width: 959px) {
  .caps-grid .display, .caps-lists { grid-column: 1 / -1; }
  .caps-lists { grid-template-columns: 1fr 1fr; }
}

/* ───── Aloqa ───── */

.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px var(--gap); align-items: start; }
.contact-copy { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 32px; }
.contact-lead { font-size: 1.25rem; line-height: 1.4; letter-spacing: -.03em; max-width: 24em; color: var(--label-2); }
.contact-direct { display: flex; flex-direction: column; border-top: 1px solid var(--sep); }
.contact-direct li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--sep); }
.contact-direct span { font-size: .9375rem; letter-spacing: 0; color: var(--label-2); }
.contact-direct a { font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Karta: radius 32, padding 20 → ichki radius 12 */
.form-card { grid-column: 8 / 13; padding: 20px; border-radius: var(--r-xl); background: var(--elev-2); }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { padding-inline: 4px; font-size: .8125rem; font-weight: 500; letter-spacing: .0023em; color: var(--label-2); }
.field label em { font-family: var(--font); font-style: normal; color: var(--label-3); letter-spacing: inherit; }
.field input, .field select, .field textarea, .phone-in {
  width: 100%; min-height: 52px; padding: 0 16px;
  font-size: 1.0625rem;
  background: var(--fill); border: 0; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .2s var(--ease-out);
}
.field textarea { padding-block: 14px; resize: vertical; min-height: 104px; line-height: 1.4; }
.field select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffffff99' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 16px center / 16px no-repeat;
}
.field select option { color: var(--black); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--label-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--white); }
.phone-in { display: flex; align-items: center; gap: 8px; }
.phone-in:focus-within { box-shadow: inset 0 0 0 2px var(--white); }
.phone-in span { color: var(--label-2); font-variant-numeric: tabular-nums; }
.phone-in input { background: none; padding: 0; min-height: 52px; font-variant-numeric: tabular-nums; }
.phone-in input:focus { box-shadow: none; }
.field.has-err input, .field.has-err .phone-in { box-shadow: inset 0 0 0 2px #ff453a; }
.field.has-err .phone-in input { box-shadow: none; }
.field-err { padding-inline: 4px; font-size: .8125rem; color: #ff6961; }
.field-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { border-radius: var(--r-md); margin-top: 8px; }
.form-note { padding-inline: 4px; font-size: .8125rem; color: var(--label-3); text-align: center; }
.form-err { font-size: .9375rem; color: #ff6961; text-align: center; }
.form-err:empty { display: none; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
.form-done[hidden] { display: none; }
.form-done .check { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px; border-radius: 50%; background: var(--white); color: var(--black); }
.form-done b { font-size: 2rem; font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.form-done p { font-size: 1.0625rem; color: var(--label-2); max-width: 24em; }
.form-done:focus { outline: none; }
@media (max-width: 959px) {
  .contact-copy, .form-card { grid-column: 1 / -1; }
}

/* ───── Pastki qism: kulrang nur ustida katta ism ───── */

.foot { position: relative; overflow: hidden; padding-top: 96px; isolation: isolate; }
.foot-glow { position: absolute; inset: 0; z-index: -1; filter: blur(80px); opacity: .9; }
.foot-glow i { position: absolute; border-radius: 50%; }
.foot-glow i:nth-child(1) { width: 60vw; height: 60vw; left: -10vw; bottom: -30vw; background: radial-gradient(circle, #8e8e93, transparent 65%); animation: glow1 18s ease-in-out infinite alternate; }
.foot-glow i:nth-child(2) { width: 50vw; height: 50vw; right: -8vw; bottom: -24vw; background: radial-gradient(circle, #e5e5ea, transparent 62%); animation: glow2 22s ease-in-out infinite alternate; }
.foot-glow i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; bottom: -26vw; background: radial-gradient(circle, #3a3a3c, transparent 65%); animation: glow1 26s ease-in-out infinite alternate-reverse; }
@keyframes glow1 { to { transform: translate(14vw, -6vw) scale(1.15); } }
@keyframes glow2 { to { transform: translate(-12vw, -8vw) scale(.9); } }
.foot-top, .foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  font-size: .8125rem; letter-spacing: .02em; color: var(--label-2);
}
.to-top, .foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--label); }
.to-top:hover, .foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links { display: flex; gap: 20px; }
.foot-name {
  display: flex; align-items: baseline; gap: .18em;
  width: max-content;
  margin: 12vw auto 0; padding-inline: var(--gutter);
  font-size: 15vw; font-weight: 600; line-height: .9; letter-spacing: -.06em; white-space: nowrap;
  color: var(--white); mix-blend-mode: difference;
}
.foot-name em { letter-spacing: -.035em; }
.foot-bottom { padding-block: 24px calc(24px + env(safe-area-inset-bottom)); }

/* ───── Mobil pastki panel ───── */

.dock { display: none; }
@media (max-width: 767px) {
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px;
    padding: 6px; border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--elev-2) 72%, transparent);
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 48px rgba(0, 0, 0, .4);
    transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease-out);
  }
  .dock .btn { padding: 0 16px; min-height: 48px; }
  .dock.is-on { transform: none; }
  .foot-bottom { padding-bottom: 96px; }
}

/* ───── Panellar: Oʻzim haqimda, SMM ───── */

.panel {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: var(--black); color: var(--white);
  overscroll-behavior: contain;
}
.panel::backdrop { background: rgba(0, 0, 0, .6); }
.panel[open] { animation: panel-in .6s var(--ease-out); }
@keyframes panel-in { from { transform: translateY(32px); opacity: 0; } }
.panel-bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px; padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--black) 78%, transparent);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.panel-close, .lb-close {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: inherit;
  transition: background-color .2s;
}
.panel-close:hover { background: rgba(255, 255, 255, .18); }
.panel-close svg, .lb-close svg { width: 16px; height: 16px; }
.panel-body { padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; }
.panel-body > .display { margin-top: 16px; }
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gap); align-items: start; margin-bottom: 64px; }
.about-photo { grid-column: 1 / 6; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--elev-1); }
.about-copy { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 20px; }
.about-copy p { font-size: 1.1875rem; line-height: 1.5; letter-spacing: -.027em; color: var(--label-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 16px; }
.stats li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--sep); }
.stats b { font-size: clamp(2.75rem, 5vw, 4.5rem); font-weight: 600; line-height: .9; letter-spacing: -.06em; }
.stats span { font-size: .9375rem; letter-spacing: 0; color: var(--label-2); }
.panel-h { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; }
.exp-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px var(--gap); padding-block: 24px; border-top: 1px solid var(--sep); }
.exp-row:last-child { border-bottom: 1px solid var(--sep); }
.exp-when { grid-column: 1 / 3; font-size: .9375rem; letter-spacing: 0; color: var(--label-2); font-variant-numeric: tabular-nums; padding-top: 4px; }
.exp-what { grid-column: 3 / 8; display: flex; flex-direction: column; }
.exp-what b { font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; }
.exp-what span { color: var(--label-2); }
.exp-desc { grid-column: 8 / 13; color: var(--label-2); }
.panel-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; }
.panel-cta p { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.smm-grid { columns: 3 300px; column-gap: var(--gap); margin-top: 24px; }
.smm-grid li { break-inside: avoid; margin-bottom: 40px; }
.smm-grid button, .smm-grid a { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; text-decoration: none; color: inherit; }
.smm-img { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--elev-1); }
.smm-img img { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.smm-grid button:hover .smm-img img, .smm-grid a:hover .smm-img img { transform: scale(1.03); }
.empty { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding: 20px 20px 20px 28px; border-radius: var(--r-xl); background: var(--elev-2); }
.empty p { font-size: 1.25rem; font-weight: 500; letter-spacing: -.03em; max-width: 26em; }
.empty .btn { border-radius: var(--r-md); }
@media (max-width: 959px) {
  .about-photo, .about-copy { grid-column: 1 / -1; }
  .about-photo { max-width: 420px; border-radius: var(--r-lg); }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .exp-row { grid-template-columns: 1fr; gap: 4px; padding-block: 20px; }
  .exp-when, .exp-what, .exp-desc { grid-column: 1 / -1; }
  .empty { padding: 20px; }
  .empty .btn { width: 100%; }
}

/* ───── Ish ko'rish oynasi (oq varaq) ───── */

.lightbox {
  width: 100%; max-width: 100%; height: calc(100% - 24px); max-height: none;
  margin: 24px 0 0; padding: 0; border: 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--white); color: var(--black);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox[open] { animation: sheet-in .5s var(--ease-out); }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
.lb-bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, .84); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.lb-bar h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.27; letter-spacing: -.035em; }
.lb-bar p { font-size: .9375rem; letter-spacing: 0; color: rgba(0, 0, 0, .6); }
.lb-close { background: rgba(0, 0, 0, .06); }
.lb-close:hover { background: rgba(0, 0, 0, .1); }
.lb-body { max-width: 1280px; margin-inline: auto; padding: 32px var(--gutter) 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.lb-desc { font-size: 1.1875rem; line-height: 1.5; letter-spacing: -.027em; max-width: 40em; white-space: pre-line; }
.lb-desc:empty { display: none; }
.lb-body .btn[hidden] { display: none; }
.lb-imgs { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.lb-imgs img { width: 100%; height: auto; border-radius: var(--r-lg); background: var(--gray-l); }
/* Case study va brending — bo'limlar oraliqsiz, bitta uzun sahifa bo'lib o'qiladi */
.lightbox[data-kind="uxui"] .lb-imgs, .lightbox[data-kind="graphic"] .lb-imgs { gap: 0; border-radius: var(--r-lg); overflow: hidden; }
.lightbox[data-kind="uxui"] .lb-imgs img, .lightbox[data-kind="graphic"] .lb-imgs img { border-radius: 0; }
/* SMM: post va storis ekranga to'liq sig'sin (9:16 kenglik bo'yicha cho'zilmaydi) */
.lightbox[data-kind="smm"] .lb-imgs { align-items: center; }
.lightbox[data-kind="smm"] .lb-imgs img { width: auto; max-width: 100%; max-height: calc(100svh - 140px); }
.lb-cta { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 20px 20px 28px; margin-top: 16px; border-radius: var(--r-xl); background: var(--gray-l); }
.lb-cta p { font-size: 1.5rem; font-weight: 600; letter-spacing: -.035em; }
.lb-cta .btn { border-radius: var(--r-md); }
@media (max-width: 959px) { .lb-cta { padding: 20px; } .lb-cta .btn { width: 100%; } }

/* ───── Paydo bo'lish (GSAP bo'lmasa zaxira) ───── */

.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; transition: opacity 1s var(--ease-out); }

@media (max-width: 959px) {
  :root { --sec: 96px; --gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; }
  .feat { height: auto; }
  .feat-pin { position: relative; height: 100svh; }
}
