/* INDIVIDNI landing — based on inflatable-alphabet layout (ref) */
/* fonts: Syne (head), Inter (body) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --bg: #f5f2ec; 
  --dark: #1a1a1a;
  --accent: #ff4d00;
  --card: #ffffff;
  --muted: #888;
  --radius: 20px;

  /* яркие сервис‑цвета (чистые, без градиентов) */
  --c-blue: #0066FF;
  --c-yellow: #FFD400; 
  --c-red: #FF2B2B;
  --c-green: #20E070;
  --c-pink: #FF2BD6;

  /* project hover colors */
  --p-blue: #005BFF;
  --p-red: #FF003D;
  --p-green: #00FF4F;
  --p-fuchsia: #FF00C8;

  --font-head: 'Syne', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1180px;
}

html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* helper: full-bleed section */
.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ── TOP BANNER ── */
.pro-banner{
  background: var(--dark);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:10px 20px;
  font-size:13px;
  position: relative;
}
.pro-banner .pill{
  background:#fff;
  color: var(--dark);
  text-decoration:none;
  font-weight:700;
  padding:4px 14px;
  border-radius:30px;
  font-size:12px;
  white-space:nowrap;
}
.pro-banner .close-btn{
  position:absolute;
  right:16px;
  top:50%;
  transform: translateY(-50%);
  cursor:pointer;
  background:none;
  border:none;
  color:#fff;
  font-size:18px;
  line-height:1;
  opacity:.7;
}
.pro-banner .close-btn:hover{ opacity:1; }

/* ── NAV ── */
nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 40px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-left{ display:flex; align-items:center; gap:8px; }
.nav-brand{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  text-decoration:none;
  color: var(--dark);
}
.nav-by{ font-size:12px; color: var(--muted); margin: 0 6px; }
.nav-tag{
  font-size: 12px;
  color: var(--muted);
  background: rgba(0,0,0,.06);
  padding: 5px 12px;
  border-radius: 30px;
}
.nav-right{ display:flex; align-items:center; gap: 12px; }

.nav-links{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-left: 18px;
}
.nav-links a{
  font-size: 12px;
  letter-spacing: .02em;
  text-decoration:none;
  color: var(--dark);
  opacity: .72;
  transition: opacity .15s;
}
.nav-links a:hover{ opacity: 1; }

.nav-toggle{
  width: 44px;
  height: 40px;
  border-radius: 30px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap: 6px;
  cursor:pointer;
}
.nav-toggle span{
  width: 16px;
  height: 2px;
  background: rgba(0,0,0,.7);
  display:block;
}

.nav-drawer{
  display:none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 12px);
  background: rgba(245,242,236,.92);
  border: 1px solid rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
  padding: 14px;
  gap: 10px;
  z-index: 120;
}
.nav-drawer a{
  display:block;
  padding: 12px 12px;
  text-decoration:none;
  color: var(--dark);
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  font-size: 13px;
}
nav.is-open .nav-drawer{ display:grid; }


.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  text-decoration:none;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.01em;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.55);
  color: var(--dark);
}
.btn:hover{ opacity: .75; }
.btn--dark{
  background: var(--dark);
  color: #fff;
  border-color: rgba(0,0,0,.08);
}


.btn-dl{
  display:flex; align-items:center; gap: 7px;
  background: var(--dark);
  color:#fff;
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 30px;
  transition: background .2s, transform .15s;
}
.btn-dl:hover{ background:#333; transform: translateY(-1px); }

/* ── HERO ── */
.hero{
  text-align:center;
  padding: 56px 20px 10px;
  position:relative;
  overflow:hidden;
}

.hero-brand{
  max-width: var(--container);
  margin: 0 auto 12px;
}
.hero-brand__small{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(0,0,0,.45);
  margin-bottom: 6px;
}
.hero-brand__big{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(58px, 10vw, 140px);
  line-height: .92;
  color: #fff;
}
.hero-media{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom: 10px;
}
.hero-tv-stage{
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  position: relative;
  display:block;
}
.hero-tv-stage canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius: 0;
}
.hero-tv-stage .tvfly__hiddenVideo{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.hero h1{
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  max-width: 860px;
  margin: 24px auto 0;
}
.hero-sub{
  max-width: 720px;
  margin: 14px auto 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── PROJECTS SPLIT (full width, no radius, lines) ── */

.split-projects{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: transparent;
}

.split-projects__inner{
  display:flex;
  height: 100svh;
  min-height: 100vh;
}

.split-left{
  flex: 1;
  padding: clamp(28px, 4vw, 64px);
  border-right: 1px solid rgba(255,255,255,.12);
  background: #000;
  color: #fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 14px;
}

.split-kicker{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .7;
}

.split-title{
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.05;
}

.split-text{
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.7;
  max-width: 520px;
}

.split-meta{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 6px; }
.split-meta span{
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 12px;
  font-size: 12px;
  background: rgba(255,255,255,.06);
}

.split-right{
  flex: 1;
  padding: clamp(16px, 2vw, 28px);
  /* warm “paper” like the main SVG background */
  background:
    radial-gradient(1200px 800px at 20% 20%, rgba(255,255,255,.85), rgba(255,255,255,0) 60%),
    radial-gradient(900px 600px at 80% 70%, rgba(0,0,0,.05), rgba(0,0,0,0) 60%),
    var(--bg) !important;
  transition: background .12s ease;
  color: #000;
  display:flex;
  align-items:center;
  justify-content:center;
}


/* Right side content wrapper: projects + button */
.split-right-wrap{
  width: min(92%, 960px);
  display:flex;
  flex-direction:column;
  gap: 22px;
  align-items: stretch;
}

.split-right-grid{
  width: 100%;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}


.proj-item{
  text-decoration:none;
  color: inherit;
  position: relative;
  padding: 0;
  display:block;
  background: transparent;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  transition: transform .14s ease;
}

.proj-item:hover{ transform: translateY(-2px); }
.proj-item:focus{ outline: none; }
.proj-item:focus-visible .proj-info{ box-shadow: 0 0 0 2px rgba(255,255,255,.35); }

.proj-thumb{
  width:100%;
  aspect-ratio: 16 / 9;
  overflow:hidden;
  border-radius: 14px;
  background: rgba(0,0,0,.08);
  margin: 0;
}

.proj-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1);
  transition: transform .25s ease;
}

.proj-item:hover .proj-thumb img{ transform: scale(1.03); }

/* Overlay info on image (no borders) */
.proj-info{
  position:absolute;
  left: 14px;
  bottom: 14px;
  padding: 0;
  max-width: calc(100% - 28px);
  background: transparent;
  color: #fff;
  backdrop-filter: none;
  text-shadow: 0 2px 12px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.9);
}


.proj-title{
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.proj-sub{ font-size: 11px; opacity: .8; margin-top: 2px; }

/* "See more" button */
.split-more{
  align-self: center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 6px;
  border: 0;
  text-decoration:none;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  background: transparent;
  color: rgba(0,0,0,.72);
}
.split-more:hover{ opacity: .7; }
.split-more:focus{ outline: 2px solid rgba(0,0,0,.45); outline-offset: 4px; }

@media (max-width: 980px){
  .split-projects__inner{ height: auto; min-height: 0; flex-direction:column; }
  .split-left{ border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .split-right{ padding: 22px; }
  .split-right-wrap{ width: 100%; }
  .split-right-grid{ grid-template-columns: 1fr; }
}


/* ── WHO ── */
.who{
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 40px 110px;
}
.who-inner{
  position: relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
  text-align:center;
}
.who-marker-img{
  position: absolute;
  top: clamp(-26px, -2vw, -12px);
  right: clamp(-8px, 2.6vw, 72px);
  width: clamp(150px, 18vw, 240px);
  height: auto;
  display: block;
  transform: rotate(14deg);
  margin: 0;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.14));
}
@media (max-width: 620px){
  .who-marker-img{
    top: -18px;
    right: 8px;
    width: 150px;
    transform: rotate(12deg);
  }
}

.who-desc p{ margin: 0; }
.who-desc p + p{ margin-top: 16px; }
.who-desc strong{ font-weight: 900; color: rgba(0,0,0,.86); }
.who-marker{
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(0,0,0,.85);
  position: relative;
  padding: 6px 12px 8px;
}
.who-marker::before{
  content:"";
  position:absolute;
  inset: 40% -6px 8% -6px;
  background: #FFE95A;
  opacity: .75;
  transform: rotate(-2deg);
  border-radius: 999px;
  z-index: -1;
}
.who-title{
  position: relative;
  z-index: 1;
  font-family: "Syne", var(--font-head);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: .86;
  font-size: clamp(76px, 10vw, 160px);
}
.who-title span{
  display:block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0,0,0,.86);
  text-stroke: 2px rgba(0,0,0,.86);
}
.who-title span:last-child{
  color: rgba(0,0,0,.92);
  -webkit-text-stroke: 0;
}
.who-desc{
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0,0,0,.72);
  max-width: 760px;
}
@media (max-width: 920px){
  .who{ padding: 84px 22px 78px; }
  .who-inner{ gap: 14px; }
  .who-title{
  position: relative;
  z-index: 1; font-size: clamp(58px, 13.5vw, 120px); }
  .who-desc{ font-size: 15px; }
}

#who{
  padding-top: clamp(140px, 14vw, 240px);
  padding-bottom: clamp(140px, 14vw, 240px);
}


/* ── SERVICES (5 big cards, full width) ── */
.services-wide{
  width: 100vw;
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);

  /* SERVICES black theme v9 */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 116px clamp(18px, 4vw, 56px) 70px;
}
.services-head{
  max-width: none;
  margin: 0 0 52px;
}

/* .services-kicker (unused) */
.services-kicker{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 12px;
  text-transform: uppercase;
  opacity: .55;
}
.services-title{
  font-family: var(--font-head);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(56px, 6.8vw, 120px);
  line-height: .95;
  margin-top: 0;
}
.services-sub{
  margin-top: 10px;
  max-width: 720px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 14px;
}

.services-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  align-items: stretch;
}

.svc-card{
  --svc-bg: #000;
  --svc-fg: #fff;
  text-decoration:none;
  color: #fff;
  background: transparent;
  display:block;
  border-radius: var(--radius);
  position: relative;
  overflow:hidden;
  transition: transform .14s ease;
}

.svc-media{
  border-radius: inherit;
  aspect-ratio: 3 / 4;
  width: 100%;
  position: relative;
  overflow:hidden;
  background: rgba(0,0,0,.06);
}

.svc-media img,
.svc-media video{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: opacity .18s ease, transform .28s ease;
}

.svc-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap: 10px;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  transition: background .16s ease;
}

.svc-name{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 18px;
  line-height: 1.05;
}

.svc-text{
  font-size: 12.5px;
  visibility: hidden;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
  max-width: 360px;
}

.svc-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--svc-bg);
  opacity: 0;
  transition: opacity .16s ease;
  z-index: 0;
}

.svc-card > *{ position: relative; z-index: 1; }

.svc-card:hover{
  transform: translateY(-2px);
}
.svc-card:hover::before{ opacity: 1; }
.svc-card:hover .svc-media img,
.svc-card:hover .svc-media video{ opacity: 0; transform: scale(1.06); }
.svc-card:hover .svc-overlay{
  background: none;
  color: var(--svc-fg);
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 18px;
}
.svc-card:hover .svc-name{
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(22px, 2.1vw, 30px);
}
.svc-card:hover .svc-text{ visibility: visible; opacity: .95; transform: translateY(0); }
.svc-card:hover .svc-text{
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.svc-card--blue{ --svc-bg: var(--c-blue); --svc-fg: #fff; }
.svc-card--yellow{ --svc-bg: var(--c-yellow); --svc-fg: #000; }
.svc-card--red{ --svc-bg: var(--c-red); --svc-fg: #fff; }
.svc-card--green{ --svc-bg: var(--c-green); --svc-fg: #000; }
.svc-card--pink{ --svc-bg: var(--c-pink); --svc-fg: #000; }

.svc-card--blue{ --svc-bg: var(--c-blue); --svc-fg: #fff; }
.svc-card--yellow{ --svc-bg: var(--c-yellow); --svc-fg: #000; }
.svc-card--red{ --svc-bg: var(--c-red); --svc-fg: #fff; }
.svc-card--green{ --svc-bg: var(--c-green); --svc-fg: #000; }
.svc-card--pink{ --svc-bg: var(--c-pink); --svc-fg: #000; }


.services-more-wrap{
  max-width: none;
  margin: 30px 0 0;
  text-align: center;
}
.services-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.85);
}
.services-more:hover{ opacity: .7; }

@media (max-width: 1200px){
  .services-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px){
  .services-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .services-grid{ grid-template-columns: 1fr; }
  .svc-media{ aspect-ratio: 4 / 3; }
}
/* ── CARDS / SECTIONS ── */
.section{
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 40px;
}
.section--tight{ padding-top: 35px; padding-bottom: 35px; }

.cards-2{
  display:flex;
  gap:24px;
  justify-content:center;
  flex-wrap:wrap;
}
.card{
  background:#fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align:center;
  flex: 1;
  max-width: 520px;
  min-width: 280px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.card .tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom: 10px;
}
.card .tag-label{
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
}
.card p{ font-size: 14px; color: var(--muted); line-height: 1.55; }
.card .preview{
  width:100%;
  border-radius: 12px;
  margin-top: 16px;
}


/* ── PARTNERS MARQUEE ── */
.partners-section{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow:hidden;
  padding: 30px 0;
  background: #000;
  border: 0;
}
.partners-track{
  display:flex;
  align-items:center;
  gap: 18px;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.partner{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 0;
  background: transparent;
}
.partner-logo{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 13px;
  background: rgba(0,0,0,.86);
  color: #fff;
}
.partner-name{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}
@keyframes marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ── CTA MINI ── */
.cta-mini{
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 40px 24px;
}
.cta-mini-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.55);
  padding: 22px 22px;
  border-radius: var(--radius);
}
.cta-mini-title{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.05;
}
@media (max-width: 720px){
  .cta-mini{ padding: 36px 22px 16px; }
  .cta-mini-inner{ flex-direction:column; align-items:flex-start; }
}


/* ── USE CASES / PROJECTS ── */
.usecases{
  padding: 0 40px 60px;
  max-width: var(--container);
  margin: 0 auto;
}
.usecases h3{
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 22px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.usecases-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.usecase-item{
  background:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .2s;
}
.usecase-item:hover{ transform: translateY(-4px); }
.usecase-item img{ width:100%; display:block; aspect-ratio: 16 / 9; object-fit: cover; }
.usecase-item p{ font-size: 13px; color: var(--muted); padding: 14px 16px; line-height: 1.5; }

/* ── TWO COLUMN FEATURE ── */
.great-section{
  padding: 40px;
  max-width: var(--container);
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items:center;
}
.great-img{ width:100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
@media(max-width: 768px){ .great-section{ grid-template-columns: 1fr; } }
.use-tags{ display:flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.use-tag{ background: var(--dark); color:#fff; border-radius: 30px; padding: 8px 18px; font-size: 14px; font-weight: 600; }
.great-info h2{ font-family: var(--font-head); font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.great-info p{ font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── VIDEO ── */
.video-section{ padding: 20px 40px 60px; max-width: var(--container); margin: 0 auto; }
.video-wrap{
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--dark);
  max-width: 980px;
  margin: 0 auto;
}
.video-wrap video{ width: 100%; display:block; }

/* ── COLLECTION GRID ── */
.collection{ padding: 40px 40px 60px; max-width: var(--container); margin: 0 auto; }
.collection-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.collection-header h2{ font-family: var(--font-head); font-size: 28px; font-weight: 900; }
.collection-header p{ font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.color-tabs{ display:flex; gap: 8px; }
.color-tab{
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor:pointer;
  border: 2px solid transparent;
  transition: all .15s;
  background: rgba(0,0,0,.06);
  color: var(--dark);
}
.color-tab.active{ background: var(--dark); color:#fff; }

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.grid-item{
  position:relative;
  border-radius: 14px;
  overflow:hidden;
  cursor:pointer;
  background:#fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}
.grid-item:hover{ transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.grid-item img{ width:100%; display:block; aspect-ratio: 1/1; object-fit: cover; }
.grid-item .ic-preview{
  position:absolute;
  bottom: 8px; right: 8px;
  height: 22px;
  opacity: 0;
  transition: opacity .2s;
  filter: invert(1);
}
.grid-item:hover .ic-preview{ opacity: 1; }

/* ── LIGHTBOX ── */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.85);
  z-index: 999;
  align-items:center;
  justify-content:center;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width: 82vw;
  max-height: 82vh;
  border-radius: 16px;
}
.lightbox .lb-close{
  position:absolute;
  top: 20px; right: 30px;
  font-size: 36px;
  color:#fff;
  cursor:pointer;
  line-height:1;
}

/* ── PRICING / DOWNLOAD ── */
.download{
  padding: 60px 40px;
  display:flex;
  gap: 24px;
  justify-content:center;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
}
.dl-card{
  background:#fff;
  border-radius: var(--radius);
  padding: 32px;
  flex: 1;
  max-width: 460px;
  min-width: 280px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.dl-card h3{
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
}
.dl-card ul{ list-style:none; margin-bottom: 22px; }
.dl-card ul li{
  font-size: 14px;
  padding: 5px 0;
  color: #444;
  display:flex;
  align-items:center;
  gap: 8px;
}
.dl-card ul li::before{ content:"✓"; color: var(--accent); font-weight: 900; }
.btn-buy{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  background: var(--dark);
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 30px;
  transition: background .2s, transform .15s;
}
.btn-buy:hover{ background:#333; transform: translateY(-2px); }
.dl-card p.sub{ font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ── FOOTER ── */
footer{
  background: var(--dark);
  color:#fff;
  padding: 50px 40px 30px;
}
.footer-top{
  display:flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  max-width: var(--container);
  margin-left:auto;
  margin-right:auto;
}
.footer-brand{ flex: 1; min-width: 220px; }
.footer-brand .brand-logo{
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
}
.footer-brand p{ font-size: 13px; opacity:.55; }
.footer-col h4{
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  opacity:.5;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col a{
  display:block;
  font-size: 14px;
  color:#fff;
  text-decoration:none;
  margin-bottom: 8px;
  opacity:.8;
  transition: opacity .15s;
}
.footer-col a:hover{ opacity:1; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: 12px;
  opacity: .45;
  max-width: var(--container);
  margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media(max-width: 600px){
  nav{ padding: 14px 16px; }
  .nav-tag{ display:none; }
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .hero{ padding: 40px 16px 10px; }
  .hero-brand__big{ font-size: clamp(44px, 12vw, 88px); }
  .headline-chip{ font-size: 40px; }
  .grid{ grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
  .section, .usecases, .great-section, .video-section, .collection, .download{ padding-left: 16px; padding-right: 16px; }
  footer{ padding: 40px 16px 20px; }

  .split-projects__inner{ flex-direction:column; min-height: unset; }
  .split-left{ border-right: none; border-bottom: 1px solid rgba(0,0,0,.10); }
}


/* split fit fix: short laptop heights */
@media (max-height: 820px){
  .split-left{ padding: 28px; }
  .split-right{ padding: 16px; }
  .proj-title{ font-size: 15px; }
  .proj-thumb{ max-width: 320px; }
  .proj-item--wide .proj-thumb{ max-width: 390px; }
}


/* ── CTA CONTACT v9 ── */
.cta-contact{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000;
  color: #fff;
  padding: 96px clamp(18px, 4vw, 56px) 112px;
}
.cta-contact-inner{
  max-width: var(--container);
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 22px;
  align-items:start;
}
.cta-title{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(44px, 5.8vw, 96px);
  line-height: .95;
}
.cta-desc{
  margin-top: 12px;
  max-width: 520px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 14px;
}
.cta-form{
  display:grid;
  gap: 14px;
}
.field{ display:grid; gap: 6px; }
.field-label{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 700;
}
.field input{
  width:100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size: 14px;
  outline: none;
}
.field input::placeholder{ color: rgba(255,255,255,.35); }
.field input:focus{
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 0 0 3px rgba(255,255,255,.10);
}
.cta-actions{
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items: stretch;
}
.cta-btn{
  cursor:pointer;
  padding: 14px 16px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #0b0b0b;
  color:#000;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cta-btn:hover{ opacity: .88; transform: translateY(-1px); }
.cta-note{
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,.55);
}

/* ── PROCESS CARDS v11 ── */
.process-cards{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);

  /* padding like WHO block (more breathing) */
  padding: clamp(140px, 14vw, 240px) clamp(18px, 4vw, 56px) clamp(140px, 14vw, 240px);

  /* background video layer */
  position: relative;
  overflow: hidden;
}

.process-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .55;
}

.process-bg-overlay{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.72) 100%);
}

.process-cards__inner{
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce){
  .process-bg-video{ display:none; }
}

.process-cards__title{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(56px, 6.8vw, 120px);
  line-height: .95;
  text-align: left;
  text-transform: uppercase;
  color: #fff;
}
.process-cards__grid{
  margin-top: 44px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.pcard{
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  padding: 26px 22px;
  box-shadow:
    0 24px 70px rgba(0,0,0,.22),
    0 1px 0 rgba(255,255,255,.7) inset;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 12px;
  text-align:center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pcard:hover{
  transform: translateY(-6px);
  box-shadow:
    0 32px 90px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.75) inset;
}
.pcard__no{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 11px;
  color: rgba(0,0,0,.55);
}
.pcard__title{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 22px;
  line-height: 1.1;
  color: rgba(0,0,0,.92);
}
.pcard__desc{
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0,0,0,.70);

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

@media (max-width: 980px){
  .process-cards__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .process-cards{ padding: 84px 18px 78px; }
  .process-cards__title{ text-align: left; font-size: clamp(44px, 12vw, 64px); }
  .process-cards__grid{ grid-template-columns: 1fr; gap: 16px; }
  .pcard{ border-radius: 22px; padding: 22px 18px; }
}

/* ── TEAM (placeholder) ── */
.team{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* padding like WHO block (more breathing) */
  padding: clamp(140px, 14vw, 240px) clamp(18px, 4vw, 56px) clamp(140px, 14vw, 240px);
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.team__inner{ max-width: none; margin: 0; }
.team__title{
  font-family: var(--font-head);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(56px, 6.8vw, 120px);
  line-height: .95;
  text-transform: uppercase;  text-align: left;
}
.team__grid{
  margin-top: 44px;
  position: relative;
  display:flex;
  justify-content:center;
  padding-left: 0;
  align-items:flex-end;
  gap: 0;
  height: clamp(420px, 34vw, 520px);
}
.tcard{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
  color: #000;
  width: clamp(230px, 18.5vw, 320px);
  transform-origin: bottom center;

  /* fan layout vars (used so hover can keep overlap) */
  --x: 0px;
  --r: 0deg;
  transform: translateX(var(--x)) rotate(var(--r));
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}

/* fan layout (deck in a hand) */
.team__grid .tcard:nth-child(1){ --x: 54px; --r: -12deg; z-index: 1; }
.team__grid .tcard:nth-child(2){ --x: 18px; --r: -4deg; z-index: 2; }
.team__grid .tcard:nth-child(3){ --x: -18px; --r: 4deg; z-index: 3; }
.team__grid .tcard:nth-child(4){ --x: -54px; --r: 12deg; z-index: 4; }

/* keep hover bringing the card forward */
.team__grid .tcard:hover,
.team__grid .tcard:focus-within{
  transform: translateX(var(--x)) translateY(-18px) rotate(0deg) scale(1.04);
  z-index: 20;
  box-shadow: 0 40px 120px rgba(0,0,0,.38);
}
.tcard__photo{
  border-radius: 18px;
  overflow:hidden;
  aspect-ratio: 3 / 4;
  background: rgba(0,0,0,.06);
}
.tcard__photo img{ width:100%; height:100%; object-fit: cover; display:block; }
.tcard__name{
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.tcard__role{
  margin-top: 4px;
  color: rgba(0,0,0,.62);
  font-size: 13px;
}

.team-note{
  margin-top: 28px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 14px;
}
@media (max-width: 980px){
  .team__grid{
    height: auto;
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .team__grid .tcard{ width: auto; transform: none; --x: 0px; --r: 0deg; }
}
@media (max-width: 620px){
  .team{ padding: 84px 18px 78px; }
  .team__grid{ grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: clamp(140px, 14vw, 240px) clamp(18px, 4vw, 56px) clamp(140px, 14vw, 240px);
}
.faq__inner{ max-width: none; margin: 0; }
.faq__title{
  font-family: var(--font-head);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(56px, 6.8vw, 120px);
  line-height: .95;
  text-transform: uppercase;
  text-align: left;
}
.faq__list{ margin: 44px auto 0; border-top: 1px solid rgba(255,255,255,.16); max-width: min(920px, 100%); }
.faq-item{ border-bottom: 1px solid rgba(255,255,255,.16); padding: 24px 0; }

.faq-q{
  list-style:none;
  cursor:pointer;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: rgba(255,255,255,.92);
}
.faq-q::-webkit-details-marker{ display:none; }
.faq-q::after{
  content:"+";
  font-family: var(--font-head);
  font-weight: 900;
  opacity: .65;
  color: rgba(255,255,255,.85);
}
.faq-item[open] .faq-q::after{ content:"–"; opacity: .85; }

.faq-a{
  margin-top: 12px;
  max-width: 78ch;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 14px;
}

@media (max-width: 620px){
  .faq{ padding: 84px 18px 78px; }
  .faq-q{ font-size: 18px; }
}


/* ── STEPS (interactive) v9 ── */
.steps{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 96px;
}
.steps-h{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(34px, 4.2vw, 56px);
}
.steps-sub{
  margin-top: 10px;
  color: rgba(0,0,0,.68);
  line-height: 1.6;
  font-size: 14px;
  max-width: 720px;
}
.steps-panel{
  margin-top: 22px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 28px;
  padding: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow:hidden;
}
.step-card{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.65);
  padding: 14px 14px;
  cursor: pointer;
  transition: transform .22s ease, opacity .22s ease, background .22s ease;
  outline: none;
  position: relative;
  min-height: 110px;
}
.step-card:hover{ transform: translateY(-2px); }
.step-card:focus-visible{ box-shadow: 0 0 0 3px rgba(0,0,0,.12); }

.step-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.step-no{
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  opacity: .75;
  letter-spacing: .08em;
}
.step-title{
  flex:1;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
}
.step-x{
  border:0;
  background: rgba(0,0,0,.06);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor:pointer;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .18s ease, transform .18s ease;
}
.step-body{
  margin-top: 10px;
  color: rgba(0,0,0,.72);
  line-height: 1.7;
  font-size: 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease;
}

/* Open state */
.steps-panel.has-open .step-card:not(.is-open){
  opacity: 0;
  transform: translateY(22px) scale(.96);
  pointer-events:none;
}
.step-card.is-open{
  grid-column: 1 / -1;
  background: rgba(255,255,255,.92);
  transform: translateY(0);
}
.step-card.is-open .step-x{
  opacity: 1;
  transform: scale(1);
}
.step-card.is-open .step-body{
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px){
  .cta-contact{ padding: 60px 22px 70px; }
  .cta-contact-inner{ grid-template-columns: 1fr; }
  .steps{ padding: 0 22px 78px; }
  .steps-panel{ grid-template-columns: 1fr; }
  .step-card.is-open{ grid-column: auto; }
  .steps-panel.has-open .step-card:not(.is-open){
    opacity: 1;
    transform: none;
    pointer-events:auto;
  }
}

/* ===== HERO SVG WORDMARK (INDIVIDNI) ===== */
.hero-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  text-align:center;
}

.hero-wordmark{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap: clamp(4px, 0.8vw, 12px);
  line-height: 0;
  user-select:none;
  -webkit-user-select:none;
  max-width: min(1040px, 96vw);
  margin: 0 auto;
  padding: 0 2px;
}

/* файлы ближе друг к другу (чуть плотнее кернинг) */
.hero-wordmark .wm:not(:first-child){
  margin-left: clamp(-6px, -0.65vw, -12px);
}

.hero-wordmark .wm{
  height: clamp(74px, 9vw, 164px);
  width: auto;
  display:block;
  transform-origin: 50% 72%;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.28));
  will-change: transform;
  animation: wm-float-y var(--dur, 6.8s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes wm-float-y{
  0%, 50%, 100%{ transform: translate3d(0,0,0); }
  25%{ transform: translate3d(0, calc(var(--amp, 10px) * -1), 0); }
  75%{ transform: translate3d(0, var(--amp, 10px), 0); }
}
/* разная амплитуда/скорость — каждая буква “дышит” по‑своему (медленнее/спокойнее) */
.hero-wordmark .wm:nth-child(1){ --dur: 6.6s; --delay: -0.10s; --amp: 7px; }
.hero-wordmark .wm:nth-child(2){ --dur: 7.4s; --delay: -0.22s; --amp: 5px; }
.hero-wordmark .wm:nth-child(3){ --dur: 6.2s; --delay: -0.04s; --amp: 8px; }
.hero-wordmark .wm:nth-child(4){ --dur: 7.8s; --delay: -0.30s; --amp: 4px; }
.hero-wordmark .wm:nth-child(5){ --dur: 6.9s; --delay: -0.18s; --amp: 7px; }
.hero-wordmark .wm:nth-child(6){ --dur: 8.3s; --delay: -0.36s; --amp: 5px; }
.hero-wordmark .wm:nth-child(7){ --dur: 6.5s; --delay: -0.12s; --amp: 8px; }
.hero-wordmark .wm:nth-child(8){ --dur: 7.6s; --delay: -0.26s; --amp: 6px; }
.hero-wordmark .wm:nth-child(9){ --dur: 6.3s; --delay: -0.06s; --amp: 7px; }

@media (max-width: 640px){
  .hero-wordmark{ gap: 2px; max-width: 98vw; }
  .hero-wordmark .wm{ height: clamp(46px, 13.5vw, 66px); filter: drop-shadow(0 10px 24px rgba(0,0,0,.22)); }
  .hero-wordmark .wm:not(:first-child){ margin-left: -6px; }
}

@media (max-width: 390px){
  /* на очень узких экранах — чуть ужимаем вордмарк целиком */
  .hero-wordmark{ transform: scale(.92); transform-origin: center bottom; }
}

@media (prefers-reduced-motion: reduce){
  .hero-wordmark .wm{ animation: none; }
  .hero-wordmark{ transform: none; }
}

/* WHO marker — более рукописный, без шума */
.who-marker{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 86px);
  line-height: .88;
  letter-spacing: .01em;
  color: #00ff4f;

  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: clamp(18px, 2vw, 26px);

  text-shadow:
    0 2px 0 rgba(0,0,0,.30),
    0 0 18px rgba(0,255,79,.16),
    0 18px 46px rgba(0,0,0,.18);
}

/* полностью убираем старые подложки/шум */
.who-marker::before,
.who-marker::after{ content: none !important; display: none !important; }

/* лёгкое дыхание (аккуратно) */
.who-marker{ animation: who-marker-breathe 4.2s ease-in-out infinite; will-change: transform; }
@keyframes who-marker-breathe{
  0%,100%{ transform: rotate(-3deg) translate3d(0,0,0) scale(1); }
  50%{    transform: rotate(-3deg) translate3d(0,-2px,0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce){
  .who-marker{ animation: none; }
}



/* ===== V16 TOP PATCH: hero background video + TV moved into projects ===== */
.hero{
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
}

/* keep content above bg */
.hero > :not(.hero-bg-video):not(.hero-bg-overlay){
  position: relative;
  z-index: 2;
}

.hero-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero-bg-overlay{
  position:absolute;
  inset:0;
  /* soft paper tint above video so text remains readable */
  background: rgba(245,242,236,0.68);
  z-index:1;
  pointer-events:none;
}

/* TV placement inside Projects left split */
.split-left .hero-tv-stage{
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  margin-top: 26px;
  transform: translateX(34px);
}

@media (max-width: 980px){
  .split-left .hero-tv-stage{
    transform: none;
    margin-top: 20px;
  }
}


/* ===== V17 TOP PATCH: full-height hero, less "fog", lazy video tweaks ===== */
.hero{
  min-height: 100svh;
  padding: clamp(72px, 9vh, 120px) 20px clamp(48px, 7vh, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* make bg video crisp: reduce milky overlay */
.hero-bg-overlay{
  /* almost no milky tint — keep video crisp */
  background: rgba(245,242,236,0.03);
}

/* keep text readable on video */
.hero h1,
.hero-sub,
.hero-brand__small{
  text-shadow: 0 10px 34px rgba(0,0,0,.16);
}

/* remove separator line between HERO and Projects */
.split-projects{ border-top: 0 !important; }

/* TV: centered within the left split (do not touch internal TV structure) */
.split-left .hero-tv-stage{
  width: min(860px, 100%);
  margin: 34px auto 0;
  transform: none;
}

/* 2K+ monitors: TV slightly larger, still centered */
@media (min-width: 1600px){
  .split-left .hero-tv-stage{
    width: min(980px, 100%);
  }
}
@media (min-width: 1900px){
  .split-left .hero-tv-stage{
    width: min(1120px, 100%);
  }
}
@media (max-width: 980px){
  .split-left .hero-tv-stage{
    width: 100%;
    transform: none;
    margin-top: 22px;
  }
}

/* TV clickable (opens showreel modal) */
.hero-tv-stage[data-open-showreel]{
  cursor: pointer;
}
.hero-tv-stage[data-open-showreel]:focus{
  outline: none;
}
.hero-tv-stage[data-open-showreel]:focus-visible{
  outline: 2px solid rgba(0,0,0,.18);
  outline-offset: 6px;
  border-radius: 14px;
}

/* Team note: add a bit more air below cards */
.team-note{ margin-top: 28px; }


/* ===== SHOWREEL MODAL ===== */
body.modal-open{
  overflow: hidden;
}

.showreel-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.showreel-modal.is-open{
  opacity: 1;
  pointer-events: auto;
}

.showreel-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}

.showreel-dialog{
  position: relative;
  /* responsive: almost full width/height with safe margins */
  width: min(1680px, calc(100vw - clamp(24px, 4vw, 72px)));
  height: min(920px, calc(100vh - clamp(24px, 5vh, 72px)));
  border-radius: 26px;
  background: rgba(10,10,10,.92);
  box-shadow: 0 30px 120px rgba(0,0,0,.45);
  overflow: hidden;
  transform: scale(.96) translateY(10px);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}

.showreel-modal.is-open .showreel-dialog{
  transform: scale(1) translateY(0);
}

.sr-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}
.sr-close svg{ width: 22px; height: 22px; fill: #fff; opacity: .9; }
.sr-close:hover{ background: rgba(255,255,255,.10); }

.sr-wrap{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.sr-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.sr-play{
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 70px rgba(0,0,0,.35);
  transition: transform .22s ease, background .22s ease, opacity .18s ease;
}
.sr-play__icon{
  width: 58px;
  height: 58px;
  color: rgba(255,255,255,.96);
  transform: translateX(2px);
}
.sr-play:hover{ transform: scale(1.03); background: rgba(255,255,255,.10); }
.sr-play.is-hidden{ opacity: 0; pointer-events: none; }

.sr-sound{
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.sr-sound:hover{ transform: scale(1.04); background: rgba(255,255,255,.10); }
.sr-sound.is-on{ background: rgba(255,255,255,.14); }
.sr-ico{ width: 30px; height: 30px; }

.sr-hoverHint{
  position: absolute;
  left: 18px;
  bottom: 22px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.9);
  font-size: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.sr-wrap.is-playing:hover .sr-hoverHint{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .showreel-modal,
  .showreel-dialog,
  .sr-play,
  .sr-sound,
  .sr-hoverHint{ transition: none !important; }
}



/* ===== PATCH v18 (requested fixes) ===== */

/* HERO brand: make 'studio' white */
.hero-brand__small{
  color: rgba(255,255,255,.86) !important;
}

/* Nav 'studio' label: white on dark hero */
.nav-by{
  color: rgba(255,255,255,.78) !important;
}

/* Unified heading letter-spacing (stop "sticking") */
:root{ --ls-head: -0.01em; }
.hero-brand__big,
.split-title,
.services-title,
.process-cards__title,
.team__title,
.faq__title,
.who-title,
.cta-title{
  letter-spacing: var(--ls-head) !important;
}

/* Ensure process background video is gone */
.process-bg-video,
.process-bg-overlay{ display:none !important; }

/* Mobile menu: black rounded drawer + slide-from-top */
@media (min-width: 981px){
  .nav-toggle{ display:none !important; }
  .nav-drawer{ display:none !important; }
}

@media (max-width: 980px){
  .nav-links{ display:none !important; }

  .nav-drawer{
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;

    background: rgba(0,0,0,.92) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 22px !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }

  .nav-drawer a{
    color: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    background: rgba(255,255,255,.04) !important;
    border-radius: 14px;
  }

  nav.is-open .nav-drawer{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Mobile layout fixes */
@media (max-width: 600px){
  html, body{ overflow-x: hidden; }

  /* Avoid horizontal drift from 100vw sections on mobile */
  .split-projects,
  .process-cards{
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .split-projects__inner{
    height: auto !important;
    min-height: 0 !important;
  }

  /* Center brand in HERO */
  .hero-brand{ width: 100%; align-items:center; }
  .hero-brand__small,
  .hero-brand__big{ text-align:center; width:100%; }

  /* Hide TV on mobile (TV is inside Projects left split) */
  .split-left .hero-tv-stage{ display:none !important; }

  /* Projects right: center cards wrapper */
  .split-right-wrap{
    max-width: 560px;
    margin: 0 auto !important;
  }

  /* PROCESS: 2 cards per row */
  .process-cards__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .pcard{
    padding: 18px 14px !important;
    border-radius: 20px !important;
  }
  .pcard__title{ font-size: 16px !important; }
  .pcard__desc{
    font-size: 12.5px !important;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
  }

  /* TEAM: 2 cards per row */
  .team__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    height: auto !important;
  }
  .tcard{ width:auto !important; }
}

/* Process popup (mobile click) */
.pmodal{
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.pmodal.is-open{
  opacity: 1;
  pointer-events: auto;
}
.pmodal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pmodal__dialog{
  position: relative;
  width: min(560px, calc(100vw - 32px));
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  color: #000;
  padding: 22px 18px 18px;
  box-shadow: 0 30px 120px rgba(0,0,0,.45);
  transform: scale(.96) translateY(8px);
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
  outline: none;
}
.pmodal.is-open .pmodal__dialog{ transform: scale(1) translateY(0); }
.pmodal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.pmodal__no{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 11px;
  color: rgba(0,0,0,.55);
}
.pmodal__title{
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: var(--ls-head);
  font-size: 22px;
  color: rgba(0,0,0,.92);
}
.pmodal__text{
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0,0,0,.74);
}


/* ===== PATCH v19 (layout spacing + centering) ===== */

:root{
  --section-pad-top: 116px;
  --section-pad-bottom: 70px;
  --section-pad-x: clamp(18px, 4vw, 56px);
}

/* Match spacing with SERVICES */
.process-cards,
.team,
.faq{
  padding: var(--section-pad-top) var(--section-pad-x) var(--section-pad-bottom) !important;
}

/* Center "НАШИ ПРОЕКТЫ" in the left split */
.split-title{
  width: 100%;
  text-align: center;
}

@media (max-width: 600px){
  /* Kill 100vw drift on mobile for ALL full-bleed sections */
  html, body{ overflow-x: hidden; }
  .services-wide,
  .split-projects,
  .process-cards,
  .team,
  .faq{
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Mobile paddings: smaller + одинаковые */
  .services-wide,
  .process-cards,
  .team,
  .faq{
    padding: 72px 16px 64px !important;
  }

  /* HERO: hard-center INDIVIDNI even if something overrides alignment */
  .hero-brand{
    max-width: none !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-brand__big{
    display: inline-block !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center !important;
    max-width: 100%;
    white-space: nowrap;
  }

  /* Split: keep cards truly centered (not stretched full width) */
  .split-left{ padding: 26px 16px !important; }
  .split-right{ padding: 18px 16px !important; }
  .split-right-wrap{
    width: min(92%, 560px) !important;
    margin: 0 auto !important;
  }
}

/* ===== PATCH v20 (nav studio + projects text center + mobile hover off) ===== */

/* NAV: 'studio' in the top menu must be black */
.nav-by{ color: rgba(0,0,0,.92) !important; }

/* Projects split description: center */
.split-text{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile / touch: service cards should NOT окрашиваться */
@media (hover: none), (pointer: coarse){
  .svc-card:hover{ transform: none !important; }
  .svc-card:hover::before{ opacity: 0 !important; }

  .svc-card:hover .svc-media img,
  .svc-card:hover .svc-media video{
    opacity: 1 !important;
    transform: scale(1.02) !important;
  }

  .svc-card:hover .svc-overlay{
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%) !important;
    color: #fff !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    text-align: left !important;
    padding: 16px 16px 18px !important;
  }

  .svc-card:hover .svc-name{
    font-size: 18px !important;
    letter-spacing: -0.02em !important;
  }

  .svc-card:hover .svc-text{
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(8px) !important;
    font-size: 12.5px !important;
  }

  /* Extra safety for tap */
  .svc-card:active{ transform: none !important; }
  .svc-card:active::before{ opacity: 0 !important; }
}

/* Mobile: tighten centering issues (INDIVIDNI + projects cards) */
@media (max-width: 600px){
  /* Make INDIVIDNI fit and look centered (no uneven cropping) */
  .hero-brand__big{
    font-size: clamp(44px, 14.6vw, 74px) !important;
  }

  /* Projects cards: centered + max-width */
  .split-right-grid{ justify-items: center !important; }
  .proj-item{ width: min(100%, 520px) !important; }
}

/* ===== PATCH v21 (projects cards centering up to 980px) ===== */
@media (max-width: 980px){
  .split-right-wrap{
    width: min(92%, 560px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .split-right-grid{ justify-items: center !important; }
  .proj-item{ width: min(100%, 520px) !important; }
}

/* === MOBILE: hard-center INDIVIDNI wordmark (fix for subtle viewport drift) === */
@media (max-width: 640px){
  /* full-bleed helpers can cause 1–6px drift on mobile browsers */
  .full-bleed{
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Ensure hero brand container is truly centered even if inner is SVG/flex */
  .hero-brand{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* If INDIVIDNI is plain text */
  .hero-brand__big{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* If INDIVIDNI is SVG letters group */
  .hero-wordmark{
    width: fit-content !important;
    max-width: 98vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-brand__big svg,
  .hero-brand__big img,
  .hero-wordmark svg,
  .hero-wordmark img{
    display:block !important;
    margin: 0 auto !important;
  }
}
/* Mobile: keep SVG wordmark truly centered (negative kerning shifts center) */
@media (max-width: 640px){
  .hero-wordmark .wm:not(:first-child){
    margin-left: 0 !important; /* keep center true on mobile */
  }
}

@media (max-width: 640px){
  /* контейнер слова */
  .hero .individni,
  #individni,
  .individni{
    max-width: calc(100vw - 24px); /* отступы по 12px */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* само слово (если это текст) */
  .hero .individni,
  #individni,
  .individni{
    font-size: clamp(42px, 12vw, 72px);
    letter-spacing: 0.06em;   /* если сильно раздвинуто — уменьши до 0.03em */
    line-height: 0.9;
    white-space: nowrap;      /* чтобы не переносилось */
  }
}

@media (max-width: 600px){
  .hero-brand__big{
    font-size: clamp(40px, 12.8vw, 66px) !important; /* чуть меньше */
    letter-spacing: 0.01em !important;              /* ключевой фикс */
    max-width: calc(100vw - 40px) !important;       /* отступы */
    white-space: nowrap;
  }
}

/* ===== TARIFFS (after FAQ) ===== */
.tariffs{
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  /* align like TEAM: left, with section padding */
  padding: 110px clamp(18px, 4vw, 56px) 90px;
}
.tariffs__inner{
  width: 100%;
  margin: 0;
}
.tariffs__title,
.tariffs__lead{
  width: min(1120px, 100%);
  margin-left: 0;
}

.tariffs__title{
  font-family: var(--font-head);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(56px, 6.8vw, 120px);
  line-height: .95;
  text-transform: uppercase;
  margin: 0;
}
.tariffs__lead{
  margin: 18px 0 34px;
  max-width: 95ch;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 14px;
}

.tariffs__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
  align-items: stretch;
  justify-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}


.tariff-card{
  --accent: #e5e7eb;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px 18px 16px;

  /* WHITE cards */
  background: #fff;
  color: #0b0b0b;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
  display: flex;
  flex-direction: column;

  /* более вытянутые ~2.5:4 */
  width: 100%;
  max-width: 260px;
  aspect-ratio: 5 / 8;
  min-height: 420px;

  /* no stacking/overlap tricks */
  transform: none;
  transition: box-shadow .25s ease, border-color .25s ease;
}

/* акцентная линия (без градиентов) */
.tariff-card::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.tariff-card > *{ position: relative; }

.tariff-card:hover{
  border-color: rgba(0,0,0,.16);
  box-shadow: 0 18px 48px rgba(0,0,0,.20);
}
.tariff-card:hover::before,
.tariff-card:focus-within::before{
  opacity: 1;
}

.tariff-card__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.tariff-card__name{
  margin:0;
  color: #0b0b0b;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 20px;
  line-height: 1;
}
.tariff-card__price{
  font-weight: 800;
  color: rgba(0,0,0,.82);
  font-size: 16px;
  opacity: .96;
  white-space: nowrap;
}

.tariff-card__desc{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(0,0,0,.78);
  min-height: calc(1.55em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}


.tariff-card__bullets{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(0,0,0,.62);
  font-size: 13px;
  line-height: 1.35;
  /* occupy the middle and center vertically */
  flex: 1;
  padding-top: 4px;
  justify-content: flex-start;
}
.tariff-card__bullets li{
  position: relative;
  padding-left: 14px;
}
.tariff-card__bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

.tariff-card__btn{
  margin-top: 14px;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  height: 46px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;

  border: 1px solid rgba(0,0,0,.14);
  background: #0b0b0b;
  color: #fff;

  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.tariff-card__btn:hover{
  background: #1b1b1b;
  transform: translateY(-1px);
}
.tariff-card__btn--ghost{
  background: transparent;
  color: #0b0b0b;
  border-color: rgba(0,0,0,.18);
}

.tariff-card--lite{ --accent: #34d399; }    /* green */
.tariff-card--std{ --accent: #a855f7; }     /* violet */
.tariff-card--brand{ --accent: #fb923c; }  /* orange */
.tariff-card--tender{ --accent: #3b82f6; }  /* blue */

@media (max-width: 1100px){
  .tariffs__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; width: min(980px, 100%); justify-items: stretch; }
  .tariff-card{ max-width: none; aspect-ratio: 3 / 4; min-height: 380px; }
}
@media (max-width: 640px){
  .tariffs{ padding: 90px clamp(18px, 4vw, 56px) 70px; }
  .tariffs__inner{ width: min(1120px, 100%); }
  .tariffs__lead{ margin-bottom: 26px; }
  .tariffs__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(560px, 100%); margin: 0 auto; }
  .tariff-card{
    aspect-ratio: auto;
    min-height: auto;
  }
}
@media (max-width: 420px){
  .tariffs__grid{ grid-template-columns: 1fr; }
}

