/* ===== Bosh sahifa =====
   Hero: yashil movut ustida o'z shishamiz uch chuqurlikda. Orqa shisha sarlavha ortida, asosiy va old shisha
   hamda masalliqlar oldinda; skroll va sichqoncha ularni har xil tezlikda suradi.
   Mexanizm: /vendor/scrollcraft (tahrirlanmaydi). Bu yerda faqat tokenlar va sahifa bloklari. */
:root {
  --sc-canvas: var(--bg);
  --sc-surface: var(--surface);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--muted);
  --sc-accent: var(--brand);
  --sc-accent-ink: var(--bg);
  --sc-font-display: var(--display);
  --sc-font-text: var(--sans);
  --gut: clamp(16px, 4vw, 56px);
  --felt: #264B34;
  --felt-deep: #1F352C;
  --on-felt: #F8F6EE;
  --on-felt-soft: #C9DACF; /* yashil ustida 6.6:1 */
}
body { background: var(--bg); font-family: var(--sans); }
.home { display: block; }

.display-lg { font: 600 clamp(2.4rem, 4.6vw, 4.2rem)/1 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.display-xl { font: 600 clamp(2.8rem, 6vw, 5.6rem)/.98 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.lede { font: 400 clamp(1rem, 1.25vw, 1.15rem)/1.6 var(--sans); color: var(--muted); max-width: 40ch; text-wrap: pretty; }

/* ---------------------------------------------------------------- 1. Hero */
.hero { background: var(--bg); }
.hero__stage {
  height: 100svh; /* sarlavha pastga skrollda yashirinadi: sahna butun ekranni egallaydi */ min-height: 560px; overflow: hidden; isolation: isolate;
  color: var(--ink);
}
/* Movut: markazdan yuqorida yorug'lik tushgan yashil, chetlari chuqurroq; ustida mayda tola (shovqin) */
.hero__felt { position: absolute; inset: 0; z-index: 0; background: var(--bg); }

/* Qatlamlar. Tartib: movut 0 · orqa shisha 1 · matn 2 · asosiy 3 · old 4 · yaqin masalliqlar 5 */
.hz { position: absolute; display: block; height: auto; max-width: none; will-change: transform; }
.hz img { display: block; width: 100%; height: auto; }
.hero__depth, .hero__near { position: absolute; inset: 0; pointer-events: none; }
.hero__depth { z-index: 1; }
.hero__near { z-index: 5; }

.hz--back { right: 31%; top: 5%; width: clamp(130px, 12vw, 210px); filter: blur(1.4px) saturate(.9); }
.hz--main { z-index: 3; right: 9%; top: 3%; width: clamp(230px, 22vw, 400px); }
.hz--front { z-index: 4; right: 1.5%; top: 37%; width: clamp(150px, 14vw, 260px); }
.hz--bergamot { right: -4%; bottom: -10%; width: clamp(180px, 18vw, 320px); filter: blur(4px); }
.hz--amber { left: 41%; bottom: -5%; width: clamp(110px, 11vw, 200px); filter: blur(2.5px); }
.hz--mint { right: 27%; top: 0%; width: clamp(90px, 9vw, 160px); filter: blur(1.8px); rotate: -14deg; }
.hz--main img, .hz--front img { filter: drop-shadow(0 30px 34px rgba(15, 36, 25, .22)); }

.hero__copy { position: absolute; z-index: 2; left: var(--gut); top: clamp(36px, 7vh, 72px); width: min(36rem, 46vw); } /* sarlavha ostida bo'sh joy qolmasin */
.hero__title { font: 400 clamp(3rem, 5.8vw, 6rem)/.95 var(--hero); letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; color: var(--brand); }
.hero__text { margin-top: 22px; max-width: 36ch; font: 400 clamp(1rem, 1.2vw, 1.14rem)/1.65 var(--sans); color: var(--muted); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Shisha nomi: ustiga kelganda yoki fokusda, shisha ostida, kursiv oltin */
.hz__tag {
  position: absolute; left: 50%; bottom: 4%; translate: -50% 6px; opacity: 0; white-space: nowrap; pointer-events: none;
  font: italic 500 clamp(1rem, 1.3vw, 1.3rem)/1 var(--display); color: var(--gold-ink);
  transition: opacity .35s cubic-bezier(.16, 1, .3, 1), translate .35s cubic-bezier(.16, 1, .3, 1);
}
a.hz:hover .hz__tag, a.hz:focus-visible .hz__tag { opacity: 1; translate: -50% 0; }
a.hz { color: inherit; text-decoration: none; cursor: pointer; }
a.hz:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 6px; border-radius: 12px; }
a.hz img { transition: scale .5s cubic-bezier(.16, 1, .3, 1); }
a.hz:hover img { scale: 1.025; }

/* ---------------------------------------------------------------- 2. Mashhur aromatlar */
.kicker { display: flex; align-items: center; justify-content: center; gap: 14px; font: 500 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.kicker::before, .kicker::after { content: ''; width: 56px; height: 1px; background: var(--line); }
.kicker--left { justify-content: flex-start; }
.kicker--left::before { content: none; }
.section-head { margin-top: 14px; text-align: center; font: 500 clamp(2.2rem, 4.4vw, 3.4rem)/1.02 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.section-head--left { text-align: left; }
.feat { padding-top: clamp(64px, 11vh, 120px); padding-bottom: clamp(56px, 9vh, 100px); }
.feat__grid { margin-top: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat__more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------------------------------------------------------------- 3. Biz haqimizda */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--bg-soft); }
.story__media { position: relative; min-height: 520px; overflow: hidden; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; } /* sarlavhasiz qism: shishalar */
.story__copy { display: grid; align-content: center; justify-items: start; gap: 20px; padding: clamp(40px, 7vw, 96px) var(--gut); max-width: 40rem; }
.story__text { color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 46ch; }

/* ---------------------------------------------------------------- 3. Yakun */
.close {
  position: relative; color: var(--on-felt); overflow: hidden; isolation: isolate;
  background: linear-gradient(90deg, rgba(31, 53, 44, .97) 0%, rgba(31, 53, 44, .88) 45%, rgba(31, 53, 44, .4) 100%), var(--footer-photo) center 70% / cover no-repeat, var(--felt);
}
@media (max-width: 860px) {
  .close { background-image: linear-gradient(rgba(31, 53, 44, .9), rgba(31, 53, 44, .84)), var(--footer-photo); }
}
.close::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 90% at 20% 0%, #2F5A40 0%, transparent 60%);
}
.close__plate { display: grid; justify-items: start; gap: 22px; padding-top: clamp(80px, 14vh, 160px); padding-bottom: clamp(56px, 9vh, 104px); }
.close__plate .display-xl { color: var(--on-felt); max-width: 14ch; }
.close__plate .lede { color: var(--on-felt-soft); max-width: 44ch; }
.close__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.close .footer { margin-top: 0; padding-top: 48px; background: transparent; border-top: 1px solid rgba(248, 246, 238, .14); }

/* ---------------------------------------------------------------- telefon */
@media (max-width: 1100px) { .feat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story__media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero__stage { min-height: 600px; }
  /* Matn tepada, shishalar pastda: sarlavha shisha ortiga tushmaydi */
  .hero__copy { top: 22px; translate: none; left: var(--gut); right: var(--gut); width: auto; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero__text { margin-top: 12px; font-size: .98rem; }
  .hero__cta { margin-top: 20px; }
  .hero__cta .btn--lg { min-height: 46px; padding: 0 20px; }
  /* Sarlavha sahnani 105px pastga suradi: shishalar boshidanoq ko'rinsin deb balandroq */
  .hz--back { right: auto; left: 8%; top: auto; bottom: 30%; width: 26vw; }
  .hz--main { right: 20%; top: auto; bottom: 16%; width: 40vw; }
  .hz--front { right: 3%; top: auto; bottom: 8%; width: 28vw; }
  .hz--bergamot { right: -12%; bottom: -8%; width: 34vw; }
  .hz--amber { left: -5%; bottom: -3%; width: 24vw; }
  .hz--mint { right: 4%; top: auto; bottom: 36%; width: 18vw; }
  .hz__tag { display: none; } /* teginishda ko'rinmaydi: nom katalogda chiqadi */
}

/* Kamaytirilgan harakat: sahna ushlab turilmaydi, qatlamlar joyida, hammasi darhol ko'rinadi */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto !important; }
  .hero .sc-stage, .hero [data-sc-stage] { position: relative !important; top: auto !important; }
  .hero [data-sc-parallax] { transform: none !important; }
  .hero [data-sc-cue] { opacity: 1 !important; transform: none !important; }
  a.hz img, .hz__tag { transition: none; }
}
