/* Fusion FX — hero + marquee upgrade (layered on top of the Next build) */

/* ---------- HERO ---------- */
#top .fx-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: 0; transition: opacity 1.6s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
#top .fx-canvas.is-on { opacity: 1; }
/* old drifting blobs are replaced by the shader */
#top.fx-ready div:has(> [style*="hero-drift"]) { display: none; }

/* Logo-arrow + slash: parallax + glow */
#top .fx-arrow { transition: translate 1.2s cubic-bezier(.16,1,.3,1), rotate 1.2s cubic-bezier(.16,1,.3,1); }
#top .fx-arrow svg { filter: drop-shadow(0 0 40px rgba(255,88,0,.35)); }
#top .fx-arrow svg[viewBox^="898"] path { stroke: rgba(255,140,60,.55); stroke-width: .35; }

/* Headline: orange spotlight follows the cursor */
#top h1 [data-fit] {
  --mx: -999px; --my: -999px; --r: 0px;
  background-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #ff5800 0%, #ff7a2e 45%, rgba(255,122,46,0) 100%),
                    linear-gradient(#f3efe8, #f3efe8);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: --r .5s;
}
#top h1 [data-fit] .text-orange { -webkit-text-fill-color: #ff5800; }
@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }
#top.fx-hover h1 [data-fit] { --r: clamp(120px, 14vw, 260px); }

/* Magnetic CTA */
#top .fx-mag { transition: translate .6s cubic-bezier(.16,1,.3,1); }
#top a[href="#aloqa"]:not(.fx-badge) { box-shadow: 0 0 0 0 rgba(255,88,0,.55); animation: fx-pulse 2.8s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes fx-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,88,0,.55); } 70%,100% { box-shadow: 0 0 0 18px rgba(255,88,0,0); } }

/* Rotating badge */
#top .fx-badge {
  position: absolute; z-index: 11; width: clamp(104px, 9vw, 150px); aspect-ratio: 1;
  right: calc(var(--margin, 24px) + 64px); bottom: clamp(20px, 4vh, 44px);
  color: #f3efe8; animation: fx-badge-in 1.6s .8s cubic-bezier(.16,1,.3,1) both;
  text-decoration: none;
}
@keyframes fx-badge-in { from { opacity: 0; scale: .6; rotate: -40deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
#top .fx-badge svg.fx-ring { width: 100%; height: 100%; display: block; }
#top .fx-badge svg.fx-ring text { transform-box: view-box; transform-origin: 50% 50%; animation: fx-spin 16s linear infinite; }
#top .fx-badge text { font: 700 9.6px/1 var(--font-display, sans-serif); letter-spacing: .32em; text-transform: uppercase; fill: currentColor; }
#top .fx-badge .core {
  position: absolute; inset: 30%; border-radius: 50%; background: #ff5800; color: #061728;
  display: grid; place-items: center; font-size: clamp(16px, 1.5vw, 22px);
  transition: scale .6s cubic-bezier(.16,1,.3,1), background .4s;
}
#top .fx-badge:hover .core { scale: 1.18; background: #f3efe8; }
#top .fx-badge:hover svg.fx-ring text { animation-duration: 5s; }
#top .fx-badge defs path { fill: none; stroke: none; }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) {
  #top .fx-badge { width: 92px; right: 16px; bottom: auto; top: calc(var(--header-h, 64px) + 30vh); }
}

/* ---------- MARQUEE ---------- */
section[aria-label="Services"] > .relative > div {
  will-change: transform, rotate;
  transition: rotate .9s cubic-bezier(.16,1,.3,1);
}
/* orange tape: depth + moving sheen */
section[aria-label="Services"] .bg-orange {
  background: linear-gradient(180deg, #ff6a17 0%, #ff5800 48%, #f04f00 100%);
  box-shadow: 0 24px 60px -10px rgba(0,0,0,.65), 0 0 80px -20px rgba(255,88,0,.6), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.2);
  isolation: isolate;
}
section[aria-label="Services"] .bg-orange::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.0) 58%, transparent 100%);
  background-size: 300% 100%; mix-blend-mode: soft-light;
  animation: fx-sheen 5.5s cubic-bezier(.76,0,.24,1) infinite;
}
@keyframes fx-sheen { 0% { background-position: 120% 0; } 60%,100% { background-position: -40% 0; } }

/* navy tape: darker, glassy */
section[aria-label="Services"] .bg-navy {
  background: linear-gradient(180deg, #003a80 0%, #002c64 55%, #00214c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

/* words: interactive */
section[aria-label="Services"] .px-\[0\.35em\] {
  display: inline-block; transition: color .45s, translate .6s cubic-bezier(.16,1,.3,1), -webkit-text-stroke-color .45s;
}
section[aria-label="Services"] .bg-orange .px-\[0\.35em\]:hover { color: #f3efe8; translate: 0 -.06em; }
section[aria-label="Services"] .bg-navy .px-\[0\.35em\]:hover { color: #ff5800; -webkit-text-fill-color: #ff5800; }

/* separator glyphs spin */
section[aria-label="Services"] svg { animation: fx-glyph 6s cubic-bezier(.76,0,.24,1) infinite; transform-origin: center; }
@keyframes fx-glyph { 0%,70% { rotate: 0deg; } 85%,100% { rotate: 180deg; } }

@media (prefers-reduced-motion: reduce) {
  section[aria-label="Services"] .bg-orange::after, section[aria-label="Services"] svg,
  #top .fx-badge svg.fx-ring text, #top a[href="#aloqa"]:not(.fx-badge) { animation: none; }
}

/* ---------- JAMOA bo'limi olib tashlandi ---------- */
#jamoa, a[href="#jamoa"], li:has(> a[href="#jamoa"]) { display: none !important; }

/* ---------- LOYIHALAR: grid + viewer ---------- */
section[data-label="work"] { display: none !important; }
.fxw-section { position: relative; background: #030c17; color: #f3efe8; padding: clamp(96px, 12vw, 180px) 0 clamp(80px, 9vw, 140px); }
.fxw-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; row-gap: 22px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px);
  opacity: 0; translate: 0 30px; transition: opacity 1s, translate 1.2s cubic-bezier(.16,1,.3,1); }
.fxw-head.is-in { opacity: 1; translate: 0 0; }
.fxw-kick { grid-column: 1 / -1; color: rgb(243 239 232 / .55); display: flex; gap: .6em; }
.fxw-count { margin-left: auto; }
.fxw-title { grid-column: 1 / span 8; margin: 0; font: 800 var(--fs-xl, 9vw)/.86 var(--font-display); letter-spacing: -.05em; text-transform: uppercase; }
.fxw-title em { display: block; font: italic 400 1em/.9 var(--font-serif); text-transform: none; letter-spacing: -.02em; color: #ff5800; }
.fxw-lead { grid-column: 9 / -1; margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.5; color: rgb(243 239 232 / .7); }

.fxw-title span { display: block; }
.fxw-foot { margin-top: 40px; display: flex; justify-content: flex-end; }

/* ===== Presentation panels (Timberon-style) ===== */
.fxp-group { margin-top: clamp(48px, 6vw, 96px); display: grid; gap: clamp(14px, 1.6vw, 24px); }
.fxp-label { display: flex; gap: .6em; color: rgb(243 239 232 / .6); padding-bottom: 14px; border-bottom: 1px solid rgb(243 239 232 / .1); }
.fxp-label-r { margin-left: auto; }
.fxp {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 14px;
  background: linear-gradient(180deg, #0d1622 0%, #070d16 100%);
  border: 1px solid rgb(243 239 232 / .12);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  opacity: 0; translate: 0 40px; transition: opacity 1s, translate 1.2s cubic-bezier(.16,1,.3,1);
}
.fxp.is-in { opacity: 1; translate: 0 0; }
.fxp-img { position: relative; display: block; padding: 0; border: 0; margin: 0; overflow: hidden; cursor: zoom-in; background: #0b1420; border-radius: 10px; }
.fxp-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale 1.2s cubic-bezier(.16,1,.3,1), filter .6s; filter: brightness(.94); }
.fxp-img:hover img { scale: 1.06; filter: brightness(1.05); }
.fxp-img::after { content: "↗"; position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #ff5800; color: #061728; font-size: 14px; opacity: 0; scale: .6; transition: opacity .4s, scale .5s cubic-bezier(.16,1,.3,1); }
.fxp-img:hover::after { opacity: 1; scale: 1; }
.fxp-cap { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 99px; background: rgb(3 12 23 / .7); backdrop-filter: blur(6px); color: #f3efe8; }
.fxp-logo { display: block; max-width: 70%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.fxp-word { font: 800 clamp(2rem, 3.4vw, 3.6rem)/.85 var(--font-display); letter-spacing: -.05em; text-transform: uppercase; color: #f3efe8; }
.fxp-line { margin: 0; font-size: 15px; line-height: 1.55; color: rgb(243 239 232 / .72); max-width: 38ch; }
.fxp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fxp-tags span { padding: 6px 11px; border: 1px solid rgb(243 239 232 / .16); border-radius: 99px; color: rgb(243 239 232 / .7); }
.fxp-title { margin: 0; font: 800 clamp(1.8rem, 3.2vw, 3.4rem)/.92 var(--font-display); letter-spacing: -.04em; text-transform: uppercase; color: #f3efe8; }
.fxp-btn { display: inline-flex; align-items: center; gap: .8em; height: 48px; padding: 0 22px; border-radius: 99px; border: 0; cursor: pointer;
  background: #ff5800; color: #061728; font: 600 var(--fs-s)/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; transition: background .4s; }
.fxp-btn b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: #061728; color: #ff5800; letter-spacing: 0; }
.fxp-btn i { font-style: normal; transition: rotate .5s; } .fxp-btn:hover { background: #f3efe8; } .fxp-btn:hover i { rotate: 45deg; }

/* A: image | info | image */
.fxp-a { display: grid; grid-template-columns: 1.15fr .9fr 1.15fr; gap: 12px; padding: 12px; min-height: clamp(420px, 38vw, 560px); }
.fxp-a::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: var(--bg) center/cover; filter: blur(60px) saturate(1.2); opacity: .22; }
.fxp-center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; padding: 24px 12px;
  background: rgb(3 12 23 / .72); border-radius: 10px; border: 1px solid rgb(243 239 232 / .06); }
.fxp-center .fxp-logo { max-width: 78%; }
.fxp-center .fxp-tags { justify-content: center; }
.fxp-stats { display: flex; gap: clamp(20px, 3vw, 44px); }
.fxp-stats div { display: grid; gap: 4px; }
.fxp-stats strong { font: 600 clamp(2rem, 3vw, 3rem)/1 var(--font-sans); letter-spacing: -.02em; color: #f3efe8; }
.fxp-stats span { font-size: 12px; color: rgb(243 239 232 / .55); }

/* B: heading / tiles / footer */
.fxp-b { padding: clamp(18px, 2.4vw, 32px); display: grid; gap: clamp(16px, 2vw, 26px); }
.fxp-b::before { content: ""; position: absolute; right: -6%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255,88,0,.22), transparent 65%); }
.fxp-bhead { display: flex; align-items: center; gap: clamp(20px, 4vw, 60px); }
.fxp-bhead .fxp-logo { max-height: 34px; max-width: 160px; }
.fxp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fxp-tile { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; align-items: stretch; padding: 12px; border-radius: 10px;
  background: rgb(243 239 232 / .04); border: 1px solid rgb(243 239 232 / .08); transition: border-color .4s, background .4s; }
.fxp-tile:hover { border-color: rgb(255 88 0 / .5); background: rgb(255 88 0 / .06); }
.fxp-tile-txt { display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.fxp-tile-txt span { color: #ff5800; }
.fxp-tile h4, .fxp-side h4 { margin: 0; font: 600 clamp(14px, 1.2vw, 17px)/1.25 var(--font-sans); color: #f3efe8; text-transform: uppercase; letter-spacing: .04em; }
.fxp-tile-img { aspect-ratio: 4 / 5; }
.fxp-bfoot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 6px; }
.fxp-bfoot .fxp-line { border-left: 2px solid #ff5800; padding-left: 14px; }
.fxp-big { display: grid; justify-items: end; gap: 4px; background: none; border: 0; cursor: pointer; color: #f3efe8; padding: 0; }
.fxp-big strong { font: 600 clamp(2.4rem, 4vw, 4rem)/1 var(--font-sans); letter-spacing: -.03em; transition: color .4s; }
.fxp-big span { font: 600 var(--fs-s)/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: rgb(243 239 232 / .6); }
.fxp-big:hover strong { color: #ff5800; }

/* C: big image + stacked cards */
.fxp-c { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; padding: 12px; }
.fxp-hero { position: relative; min-height: clamp(460px, 44vw, 640px); border-radius: 10px; overflow: hidden; }
.fxp-hero-img { position: absolute; inset: 0; border-radius: 10px; }
.fxp-hero-img img { object-position: center 25%; }
.fxp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 10px;
  background: linear-gradient(90deg, rgba(3,12,23,.92) 0%, rgba(3,12,23,.55) 45%, rgba(3,12,23,0) 75%), linear-gradient(0deg, rgba(3,12,23,.85), transparent 50%); }
.fxp-hero-txt { position: absolute; left: clamp(18px, 2.4vw, 36px); bottom: clamp(18px, 2.4vw, 36px); right: 40%; z-index: 2; display: grid; gap: 16px; pointer-events: none; }
.fxp-hero-txt .fxp-logo { max-height: 56px; max-width: 120px; }
.fxp-hero-txt .fxp-btn, .fxp-hero-txt .fxp-tags { pointer-events: auto; }
.fxp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.fxp-sides { display: grid; gap: 12px; }
.fxp-side { display: grid; grid-template-columns: 1fr 104px; gap: 12px; align-items: center; padding: 14px; border-radius: 10px;
  background: rgb(243 239 232 / .04); border: 1px solid rgb(243 239 232 / .08); transition: border-color .4s; }
.fxp-side:hover { border-color: rgb(255 88 0 / .5); }
.fxp-side > div { display: grid; gap: 8px; } .fxp-side span { color: #ff5800; }
.fxp-side-img { aspect-ratio: 9 / 13; }

/* soon */
.fxp-soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px; }
.fxp-soon-tile { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(18px, 2vw, 28px); min-height: 300px; border-radius: 10px; text-decoration: none; color: inherit;
  background: radial-gradient(120% 90% at 100% 100%, rgba(0,44,100,.55), transparent 60%), rgb(243 239 232 / .03); border: 1px solid rgb(243 239 232 / .08); transition: border-color .4s, translate .6s cubic-bezier(.16,1,.3,1); }
.fxp-soon-tile:hover { border-color: rgb(255 88 0 / .5); translate: 0 -4px; }
.fxp-soon-k { color: #ff5800; }
.fxp-soon-tile .fxp-word { margin-top: auto; }
.fxp-soon-ig { color: rgb(243 239 232 / .6); }

@media (max-width: 900px) {
  .fxw-title, .fxw-lead { grid-column: 1 / -1; }
  .fxp-label-r { display: none; }
  .fxp-a { grid-template-columns: 1fr 1fr; }
  .fxp-center { grid-column: 1 / -1; order: -1; }
  .fxp-a1, .fxp-a2 { aspect-ratio: 4 / 5; }
  .fxp-tiles { grid-template-columns: 1fr; }
  .fxp-tile { grid-template-columns: 1fr 120px; }
  .fxp-bhead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fxp-bfoot { flex-direction: column; align-items: flex-start; }
  .fxp-big { justify-items: start; }
  .fxp-c { grid-template-columns: 1fr; }
  .fxp-hero { min-height: 120vw; }
  .fxp-hero-txt { right: 18px; }
  .fxp-soon { grid-template-columns: 1fr; }
  .fxp-soon-tile { min-height: 220px; }
}

/* viewer */
.fxw-viewer { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgba(3,12,23,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #f3efe8; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.fxw-viewer.is-open { opacity: 1; visibility: visible; transition: opacity .5s; }
.fxw-vbar { display: flex; align-items: center; gap: 24px; padding: 18px var(--margin, 20px); border-bottom: 1px solid rgb(243 239 232 / .08); }
.fxw-vcount { color: #ff5800; }
.fxw-vfull { margin-left: auto; color: #f3efe8; }
.fxw-vclose { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(243 239 232 / .25); background: none; color: inherit; font-size: 15px; cursor: pointer; transition: background .4s, color .4s, rotate .6s cubic-bezier(.16,1,.3,1); }
.fxw-vclose:hover { background: #ff5800; color: #061728; border-color: #ff5800; rotate: 90deg; }
.fxw-vstage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 20px 84px; }
.fxw-vimgwrap { height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.fxw-vimg { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); transition: opacity .45s, scale .7s cubic-bezier(.16,1,.3,1); }
.fxw-vimg.is-swap { opacity: 0; scale: .97; transition: none; }
.fxw-vnav { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgb(243 239 232 / .25);
  background: rgb(3 12 23 / .5); color: #f3efe8; font-size: 18px; cursor: pointer; transition: background .4s, color .4s, border-color .4s; }
.fxw-vnav:hover { background: #ff5800; color: #061728; border-color: #ff5800; }
.fxw-vnav.prev { left: 16px; } .fxw-vnav.next { right: 16px; }
.fxw-vthumbs { display: flex; gap: 10px; justify-content: center; overflow-x: auto; padding: 14px var(--margin, 20px) 22px; scrollbar-width: none; }
.fxw-vthumbs button { flex: none; width: 64px; aspect-ratio: 4/5; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .45; border-radius: 3px; overflow: hidden; transition: opacity .4s, border-color .4s, translate .5s cubic-bezier(.16,1,.3,1); }
.fxw-vthumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fxw-vthumbs button:hover { opacity: .8; }
.fxw-vthumbs button.on { opacity: 1; border-color: #ff5800; translate: 0 -4px; }
@media (max-width: 700px) {
  .fxw-vstage { padding: 12px 8px; } .fxw-vnav { width: 44px; height: 44px; top: auto; bottom: 8px; translate: none; }
  .fxw-vname { display: none; } .fxw-vthumbs button { width: 52px; }
}

/* ---------- MARQUEE v2: kattaroq, 3 lenta, yorug'lik ---------- */
section[aria-label="Services"] { padding-block: clamp(70px, 9vw, 150px) !important; background: #030c17; isolation: isolate; }
section[aria-label="Services"]::before { /* crossing flare */
  content: ""; position: absolute; inset: -20% 10%; z-index: -1; pointer-events: none;
  background: radial-gradient(30% 45% at 50% 50%, rgba(255,88,0,.35), transparent 70%), radial-gradient(60% 60% at 50% 50%, rgba(10,58,122,.55), transparent 75%);
  filter: blur(10px); animation: fx-flare 6s ease-in-out infinite;
}
@keyframes fx-flare { 0%,100% { opacity: .7; scale: 1; } 50% { opacity: 1; scale: 1.08; } }
section[aria-label="Services"] .t-l { font-size: clamp(2.6rem, 6.6vw, 7.6rem) !important; }
section[aria-label="Services"] > .relative > div { padding-block: .16em !important; }
/* orange tape: hazard texture + perforated edges + cursor light */
section[aria-label="Services"] .bg-orange {
  --lx: 50%;
  background:
    radial-gradient(260px 140% at var(--lx) 50%, rgba(255,255,255,.38), transparent 70%),
    repeating-linear-gradient(-55deg, rgba(0,0,0,.07) 0 18px, transparent 18px 36px),
    linear-gradient(180deg, #ff7124 0%, #ff5800 50%, #e84f00 100%) !important;
}
section[aria-label="Services"] .bg-orange::before {
  content: ""; position: absolute; inset: 5px 0; pointer-events: none; z-index: 2;
  background:
    radial-gradient(circle, rgba(6,23,40,.55) 1.5px, transparent 2px) 0 0 / 14px 6px repeat-x,
    radial-gradient(circle, rgba(6,23,40,.55) 1.5px, transparent 2px) 0 100% / 14px 6px repeat-x;
}
section[aria-label="Services"] .bg-navy {
  background:
    radial-gradient(260px 140% at var(--lx, 50%) 50%, rgba(80,150,255,.35), transparent 70%),
    linear-gradient(180deg, #003a80 0%, #002c64 55%, #001d44 100%) !important;
}
/* words pop on hover */
section[aria-label="Services"] .px-\[0\.35em\] { transition: color .4s, scale .6s cubic-bezier(.16,1,.3,1), text-shadow .4s, -webkit-text-stroke-color .4s; }
section[aria-label="Services"] .bg-orange .px-\[0\.35em\]:hover { color: #f3efe8; scale: 1.08; text-shadow: 0 6px 30px rgba(6,23,40,.45); translate: none; }
/* third, thin ticker tape */
.fx-tape3 { position: absolute; left: -5%; right: -5%; top: 50%; z-index: 20; overflow: hidden; white-space: nowrap; pointer-events: none;
  rotate: -7deg; translate: 0 -50%; background: #f3efe8; color: #061728; padding: .55em 0; box-shadow: 0 16px 40px -10px rgba(0,0,0,.6);
  font: 700 clamp(11px, 1vw, 14px)/1 var(--font-sans); letter-spacing: .32em; text-transform: uppercase; }
.fx-tape3 > div { display: inline-flex; animation: fx-tick 30s linear infinite; }
.fx-tape3 span { padding-right: 2.4em; } .fx-tape3 b { color: #ff5800; padding-right: 2.4em; }
@keyframes fx-tick { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .fx-tape3 { rotate: -9deg; } }



/* ---------- Statistika qatori (50+ / 20+ / 1 / ∞) olib tashlandi ---------- */
section[data-label="why"] .wrap.pb-10:has(> .grid.md\:grid-cols-4) { display: none !important; }

/* Netlify badge */
netlify-badge, #netlify-badge, [class*="netlify-badge"], a[href*="netlify.com"][aria-label*="Netlify" i] { display: none !important; }

/* ---------- CTA (to'q sariq blok): oq matn, oq logo, matn sig'adi ---------- */
section[data-label="cta"] .bg-orange.text-navy { color: #fff; }
section[data-label="cta"] .text-navy\/70 { color: rgb(255 255 255 / .8); }
section[data-label="cta"] h2.t-xl { font-size: clamp(2.6rem, 6.4vw, 8.2rem) !important; color: #fff; }
section[data-label="cta"] h2 .mask { padding-right: .06em; }
section[data-label="cta"] svg[viewBox="0 0 976 334"] path { fill: #fff !important; }
section[data-label="cta"] svg[viewBox="-260 -120 520 240"] ellipse { stroke: #fff; }
section[data-label="cta"] svg[viewBox="-260 -120 520 240"] circle { fill: #fff; }

/* ---------- Nega Fusion: KREATIV va NATIJA to'q sariq ---------- */
section[data-label="why"] .relative.border-t:nth-child(even of .relative.border-t) .t-xl { color: #ff5800; }
.fxp-hero { background: radial-gradient(80% 90% at 0% 100%, rgba(42,123,255,.22), transparent 60%), #08111d; }
.fxp-hero-img { left: 40%; }
.fxp-hero::after { background: linear-gradient(90deg, #08111d 40%, rgba(8,17,29,.6) 48%, rgba(8,17,29,0) 62%); }
.fxp-hero-txt { right: 52%; top: clamp(18px, 2.4vw, 36px); align-content: end; }
@media (max-width: 900px) {
  .fxp-hero { min-height: 0; display: grid; }
  .fxp-hero-img { position: relative; inset: auto; left: auto; aspect-ratio: 4 / 5; }
  .fxp-hero::after { display: none; }
  .fxp-hero-txt { position: relative; inset: auto; padding: 20px 6px 8px; }
}
@media (min-width: 1024px) { #top h1 > .mask:nth-child(2) { margin-right: 0 !important; } }

/* ===== Panels v2: atmospheric, glassy, premium ===== */
.fxw-section { overflow-x: clip; }
.fxp-group { position: relative; isolation: isolate; padding-block: clamp(40px, 5vw, 80px); margin-top: clamp(24px, 3vw, 48px); }
.fxp-group::before { /* full-bleed blurred photo backdrop */
  content: ""; position: absolute; z-index: -2; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0;
  background: var(--gbg) center / cover no-repeat; filter: blur(48px) saturate(1.25) brightness(.42); transform: scale(1.15);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.fxp-group::after { /* grain + vignette */
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 50%, transparent 30%, rgba(3,12,23,.65) 100%);
}
.fxp-g-xlevel::before { filter: blur(56px) saturate(1.4) brightness(.38); }
.fxp-label { border-bottom-color: rgb(243 239 232 / .16); color: rgb(243 239 232 / .75); }

.fxp { background: rgba(8, 10, 14, .52); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgb(255 255 255 / .14); border-radius: 16px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.85), inset 0 1px 0 rgb(255 255 255 / .08); }
.fxp-a::before { display: none; }

/* typography: bold + light mix */
.fxp-title { font: 700 clamp(1.8rem, 3.1vw, 3.3rem)/1 var(--font-sans); letter-spacing: -.01em; }
.fxp-title b { font-weight: 700; display: block; }
.fxp-title span { font-weight: 300; display: block; color: rgb(243 239 232 / .88); }

/* A */
.fxp-a { min-height: clamp(460px, 40vw, 600px); padding: 14px; gap: 14px; }
.fxp-a .fxp-img img { height: 112%; translate: 0 0; will-change: translate; }
.fxp-center { background: linear-gradient(180deg, rgba(14,16,20,.9), rgba(6,8,12,.94)); gap: 26px; padding: 34px 22px; }
.fxp-center .fxp-logo { max-height: 74px; }
.fxp-stats { gap: 0; }
.fxp-stats div { padding: 0 clamp(18px, 2.4vw, 34px); text-align: center; }
.fxp-stats div + div { border-left: 1px solid rgb(243 239 232 / .16); }
.fxp-stats strong { font-weight: 300; font-size: clamp(2.4rem, 3.6vw, 3.6rem); }
.fxp-stats span { text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; }

/* B */
.fxp-bhead { position: relative; min-height: clamp(120px, 11vw, 170px); margin: calc(-1 * clamp(18px, 2.4vw, 32px)); margin-bottom: 0; padding: clamp(18px, 2.4vw, 32px);
  border-radius: 16px 16px 0 0; overflow: hidden; }
.fxp-bhead::before { content: ""; position: absolute; inset: 0 0 0 30%; z-index: -1; background: var(--hb) center 40% / cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); opacity: .55; filter: saturate(1.1); }
.fxp-bhead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,10,14,.95) 30%, rgba(8,10,14,.35)); }
.fxp-tiles { gap: 14px; }
.fxp-tile { padding: 0; grid-template-columns: 1fr 1fr; min-height: clamp(200px, 17vw, 250px); overflow: hidden; background: rgba(12,14,18,.75); border-color: rgb(255 255 255 / .1); }
.fxp-tile-txt { padding: 18px 16px; }
.fxp-tile-txt em { margin-top: auto; font-style: normal; color: rgb(243 239 232 / .5); transition: color .4s; }
.fxp-tile:hover .fxp-tile-txt em { color: #ff5800; }
.fxp-tile-img { aspect-ratio: auto; height: 100%; border-radius: 0; }
.fxp-tile h4, .fxp-side h4 { font-size: clamp(15px, 1.25vw, 18px); font-weight: 700; }
.fxp-bfoot .fxp-line { font-size: 15px; }
.fxp-big strong { font-weight: 300; font-size: clamp(3rem, 5vw, 5rem); }

/* C */
.fxp-c { padding: 14px; gap: 14px; }
.fxp-hero { background: linear-gradient(135deg, rgba(10,30,70,.85), rgba(6,10,18,.95)); }
.fxp-hero-img img { height: 110%; will-change: translate; }
.fxp-hero::after { background: linear-gradient(90deg, rgba(8,14,26,1) 38%, rgba(8,14,26,.55) 46%, rgba(8,14,26,0) 60%); }
.fxp-side { padding: 0; grid-template-columns: 1fr 42%; overflow: hidden; background: rgba(12,14,18,.75); border-color: rgb(255 255 255 / .1); }
.fxp-side > div { padding: 18px 16px; align-content: center; }
.fxp-side-img { aspect-ratio: auto; height: 100%; min-height: 150px; border-radius: 0; }

/* soon */
.fxp-soon { background: rgba(8,10,14,.45); }
.fxp-soon-tile { background: radial-gradient(120% 90% at 100% 100%, rgba(0,44,100,.7), transparent 60%), rgba(12,14,18,.7); min-height: 320px; }
.fxp-soon-tile .fxp-word { font: 700 clamp(2rem, 3vw, 3.2rem)/1 var(--font-sans); letter-spacing: -.01em; }

@media (max-width: 900px) {
  .fxp-bhead { min-height: 0; }
  .fxp-bhead::before { inset: 0; opacity: .35; }
  .fxp-tile { grid-template-columns: 1fr 44%; min-height: 170px; }
  .fxp-side { grid-template-columns: 1fr 40%; }
  .fxp-a .fxp-img img, .fxp-hero-img img { height: 100%; }
}

/* ===== Simple project panel: rasm + logo + qisqacha ===== */
.fxp-s { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; padding: 14px; min-height: clamp(480px, 42vw, 620px); }
.fxp-s.is-flip { grid-template-columns: 1fr 1.25fr; }
.fxp-s.is-flip .fxp-s-img { order: 2; }
.fxp-s-img { border-radius: 12px; min-height: 100%; }
.fxp-s-img img { height: 110%; object-position: center 30%; }
.fxp-s-info { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 44px); border-radius: 12px;
  background: linear-gradient(180deg, rgba(14,16,20,.92), rgba(6,8,12,.96)); border: 1px solid rgb(255 255 255 / .06); }
.fxp-s-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fxp-s-top .fxp-logo { max-height: 56px; max-width: 220px; }
.fxp-s-year { color: rgb(243 239 232 / .5); }
.fxp-s .fxp-title { margin-top: auto; }
.fxp-thumbs { display: flex; gap: 10px; }
.fxp-th { flex: 1; max-width: 82px; aspect-ratio: 4 / 5; border-radius: 8px; }
.fxp-th::after { display: none; }
.fxp-th:hover { outline: 2px solid #ff5800; outline-offset: 2px; }
.fxp-th-more { display: grid; place-items: center; border: 1px solid rgb(243 239 232 / .2); background: rgb(243 239 232 / .05); color: #f3efe8; cursor: pointer;
  font: 600 16px/1 var(--font-sans); transition: background .4s, color .4s; }
.fxp-th-more:hover { background: #ff5800; color: #061728; }
.fxp-s .fxp-btn { align-self: flex-start; }
@media (max-width: 900px) {
  .fxp-s, .fxp-s.is-flip { grid-template-columns: 1fr; }
  .fxp-s.is-flip .fxp-s-img { order: 0; }
  .fxp-s-img { aspect-ratio: 4 / 5; min-height: 0; }
  .fxp-s-img img { height: 100%; }
  .fxp-th { max-width: none; }
}

/* ===== Stats (orange, ref) ===== */
.fxa-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -10px; padding: 28px 0 0; border-top: 1px solid rgb(243 239 232 / .1); }
.fxa-stats div { display: grid; gap: 8px; }
.fxa-stats strong { font: 600 clamp(2.6rem, 5vw, 5rem)/1 var(--font-sans); color: #ff5800; letter-spacing: -.03em; }
.fxa-stats span { font-size: 13px; color: rgb(243 239 232 / .6); }

/* ===== Arc gallery (ref) ===== */
.fxa { position: relative; height: clamp(520px, 48vw, 700px); margin-top: clamp(30px, 4vw, 60px); overflow: hidden; touch-action: pan-y; cursor: grab;
  opacity: 0; transition: opacity 1.2s; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.fxa.is-in { opacity: 1; }
.fxa:active { cursor: grabbing; }
.fxa::before { content: ""; position: absolute; left: 50%; top: 58%; width: 70%; aspect-ratio: 2 / 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,88,0,.28), transparent); filter: blur(20px); pointer-events: none; }
.fxa-ring { position: absolute; inset: 0; }
.fxa-card { position: absolute; left: 50%; top: 0; width: clamp(120px, 12vw, 180px); aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: #0b1420; box-shadow: 0 24px 50px -16px rgba(0,0,0,.8), 0 0 0 1px rgb(255 255 255 / .08); will-change: transform; transition: box-shadow .4s; }
.fxa-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: scale .8s cubic-bezier(.16,1,.3,1); }
.fxa-card span { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 99px; background: rgb(3 12 23 / .7); color: #f3efe8; opacity: 0; transition: opacity .4s; font-size: 9px; }
.fxa-card:hover { box-shadow: 0 30px 60px -16px rgba(0,0,0,.9), 0 0 0 2px #ff5800; z-index: 5; }
.fxa-card:hover img { scale: 1.08; } .fxa-card:hover span { opacity: 1; }
.fxa-center { position: absolute; left: 50%; bottom: clamp(30px, 5vw, 70px); translate: -50% 0; width: min(560px, 90%); text-align: center; display: grid; justify-items: center; gap: 16px; z-index: 6; }
.fxa-center h3 { margin: 0; font: 600 clamp(1.8rem, 3.4vw, 3.2rem)/1.1 var(--font-sans); letter-spacing: -.02em; color: #f3efe8; }
.fxa-center h3 em { font: italic 400 1.08em/1 var(--font-serif); color: #ff5800; }
.fxa-center p { margin: 0; font-size: 14px; color: rgb(243 239 232 / .6); }
.fxa-center .fxp-btn { text-decoration: none; }

/* fixes */
.fxp-s { min-height: 0; height: clamp(480px, 40vw, 600px); }
.fxp-s-img { min-height: 0; height: 100%; }
.fxp-group::before { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%); }
@media (max-width: 900px) {
  .fxa-stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .fxa-stats strong { font-size: 2.2rem; } .fxa-stats span { font-size: 11px; }
  .fxa { height: 560px; }
  .fxa-card { width: 108px; border-radius: 14px; }
  .fxp-s { height: auto; }
  .fxp-s-img { aspect-ratio: 4 / 5; height: auto; }
}
.fxp-group::after { display: none; }
.fxa { height: clamp(600px, 54vw, 780px); }
@media (max-width: 900px) { .fxa { height: 600px; } }
/* rasm kesilmasin: to'liq ko'rinadi, orqasida xira fon */
.fxp-s-img { isolation: isolate; }
.fxp-s-img::before { content: ""; position: absolute; inset: -10%; z-index: -1; background: var(--im) center / cover; filter: blur(30px) brightness(.55) saturate(1.2); }
.fxp-s-img img { height: 100% !important; object-fit: contain; translate: none !important; filter: none; }
.fxp-s-img:hover img { scale: 1.03; }

/* ===== Rasm o'z proporsiyasida — bo'sh/xira joy yo'q ===== */
.fxp-s, .fxp-s.is-flip { grid-template-columns: auto minmax(0, 1fr); height: clamp(500px, 42vw, 620px); }
.fxp-s.is-flip { grid-template-columns: minmax(0, 1fr) auto; }
.fxp-s.is-flip .fxp-s-media { order: 2; }
.fxp-s-media { display: flex; gap: 14px; height: 100%; min-height: 0; max-width: 62vw; }
.fxp-s-media .fxp-s-img { height: 100%; width: auto; min-height: 0; flex: none; border-radius: 12px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); }
.fxp-s-media .fxp-s-img::before { display: none; }
.fxp-s-media .fxp-s-img img { height: 100% !important; width: auto; max-width: none; object-fit: contain; display: block; }
.fxp-s-media.is-pair .fxp-s-img:nth-child(2) { translate: 0 0; }
@media (max-width: 900px) {
  .fxp-s, .fxp-s.is-flip { grid-template-columns: 1fr; height: auto; }
  .fxp-s.is-flip .fxp-s-media { order: 0; }
  .fxp-s-media { max-width: none; height: auto; }
  .fxp-s-media .fxp-s-img { flex: 1; height: auto; width: 100%; aspect-ratio: auto; }
  .fxp-s-media .fxp-s-img img { width: 100%; height: auto !important; }
}
.fxp-g-chakan .fxp-s-top .fxp-logo { max-height: 96px; }

/* ===== 3 qator: rasmsiz kompakt kartalar ===== */
.fxp-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fxp-c3 { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.4vw, 34px); border-radius: 16px; }
.fxp-c3 .fxp-s-top { min-height: 90px; align-items: flex-start; }
.fxp-c3 .fxp-logo { max-height: 90px; max-width: 200px; }
.fxp-c3.fxp-g-patriss .fxp-logo, .fxp-c3.fxp-g-xlevel .fxp-logo { max-height: 56px; margin-top: 16px; }
.fxp-c3 .fxp-title { font-size: clamp(1.6rem, 2.3vw, 2.4rem); margin-top: 6px; }
.fxp-c3 .fxp-line { font-size: 14px; }
.fxp-c3 .fxp-thumbs { margin-top: auto; }
.fxp-c3 .fxp-th { max-width: 76px; }
.fxp-c3 .fxp-btn { align-self: flex-start; text-decoration: none; }
.fxp-c3 .fxp-btn:only-of-type { margin-top: auto; }
@media (max-width: 900px) { .fxp-trio { grid-template-columns: 1fr; } }
.fxp-c3 .fxp-s-top { height: 96px; min-height: 0; align-items: center; }
.fxp-c3.fxp-g-patriss .fxp-logo, .fxp-c3.fxp-g-xlevel .fxp-logo { margin-top: 0; }
.fxp-c3.fxp-g-josephjoseph .fxp-logo { max-height: 70px; }
.fxp-c3.fxp-g-hofmannair .fxp-logo { max-height: 80px; }
.fxp-c3 .fxp-word { font-size: 3rem; letter-spacing: .02em; }
.fxp-c3 .fxp-s-top { height: 96px; }
.fxp-c3 .fxp-word { font-size: 2.6rem; }
.fxp-s-year { display: none !important; }
a.fxp-btn { text-decoration: none; }
.fxp-s-media .fxp-s-img, .fxp-s-media .fxp-s-img img { cursor: pointer; }

/* footer logo tagline */
.fx-logo-wrap { container-type: inline-size; position: relative; }
.fx-tagline { display: block; margin: -5cqw 0 0 9.5cqw; padding-bottom: .22em; font: 600 6.2cqw/1.2 var(--font-sans), Manrope, sans-serif; letter-spacing: -.01em; color: #f3efe8; text-transform: none; }

/* katta loyiha kartasi: hech narsa kesilmasin */
@media (min-width: 901px) {
  .fxp-s, .fxp-s.is-flip { height: auto !important; min-height: 0; align-items: center; overflow: visible; }
  .fxp-s-media { height: clamp(460px, 38vw, 580px); align-self: center; }
  .fxp-s-info { align-self: stretch; gap: 18px; padding: clamp(22px, 2.6vw, 40px); }
  .fxp-s .fxp-title { font-size: clamp(1.7rem, 2.6vw, 2.8rem); }
}
.fxp.fxp-s { overflow: visible; }

/* galereyada oddiy sichqoncha ko'rinsin */
html.has-cursor .fxw-viewer, html.has-cursor .fxw-viewer * { cursor: auto !important; }
html.has-cursor .fxw-viewer button, html.has-cursor .fxw-viewer a { cursor: pointer !important; }
/* video */
.fxw-vvid { max-width: 100%; max-height: 100%; display: none; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.is-v { position: relative; }
.is-v::after { content: "▶" !important; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; display: grid !important; place-items: center;
  background: rgba(255,88,0,.92); color: #fff; font-size: 12px; opacity: 1 !important; scale: 1 !important; pointer-events: none; }
.fxw-vyt { display: none; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; border: 0; border-radius: 10px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
