:root {
  --bg: #f5f3ed;
  --paper: #fffefa;
  --ink: #121318;
  --muted: #666a73;
  --line: rgba(18, 19, 24, .13);
  --blue: #3157ff;
  --blue-dark: #1732cb;
  --yellow: #ffd94a;
  --coral: #ff6d52;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(22, 27, 47, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: Manrope, Arial, sans-serif; overflow-x: clip; max-width: 100%; }
body.modal-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.page-noise { position: fixed; inset: 0; pointer-events: none; z-index: 30; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.cursor-aura { position: fixed; width: 360px; height: 360px; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(49,87,255,.12), transparent 67%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .25s; }
.cursor-aura.visible { opacity: 1; }
.section-shell { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 130px 0; }
.section-label { display: inline-flex; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 24px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

.site-header { position: fixed; left: 0; right: 0; top: 18px; z-index: 40; transition: top .3s; }
.header-inner { width: min(1320px, calc(100% - 36px)); height: 72px; margin: 0 auto; padding: 0 14px 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid rgba(18,19,24,.09); background: rgba(255,254,250,.78); backdrop-filter: blur(22px) saturate(170%); border-radius: 22px; box-shadow: 0 16px 48px rgba(22,27,47,.07); }
.site-header.scrolled { top: 8px; }
.brand { font-family: Unbounded, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.08em; justify-self: start; }
.brand span { color: var(--blue); }
.desktop-nav { display: flex; gap: 34px; font-size: 13px; font-weight: 700; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.header-contact { justify-self: end; display: inline-flex; gap: 14px; align-items: center; padding: 15px 20px; border-radius: 15px; color: #fff; background: var(--ink); font-weight: 800; font-size: 13px; }
.header-contact span { color: var(--yellow); }
.menu-button { display: none; width: 46px; height: 46px; background: var(--ink); border: 0; border-radius: 14px; padding: 0; position: relative; }
.menu-button span { position: absolute; width: 19px; height: 2px; background: #fff; left: 14px; transition: transform .3s, top .3s; }
.menu-button span:first-child { top: 18px; }.menu-button span:last-child { top: 26px; }
.menu-button[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }.menu-button[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-nav { display: none; }
.header-progress { position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--blue); border-radius: 10px; max-width: min(1320px, calc(100% - 36px)); }

.hero { min-height: 100svh; padding-top: 150px; position: relative; display: grid; overflow: clip; grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr); gap: 64px; align-items: center; }
#heroCanvas { position: absolute; inset: 70px -10vw 0 auto; width: 62vw; height: 760px; z-index: -1; opacity: .95; }
.hero-copy { padding: 70px 0 42px; }
.availability { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.58); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 5px rgba(52,199,89,.12); }
.hero-kicker { margin: 34px 0 15px; font-size: 12px; color: var(--blue); font-weight: 800; letter-spacing: .18em; }
.hero h1 { margin: 0; font-family: Unbounded, sans-serif; font-size: clamp(58px, 7.2vw, 116px); line-height: .85; letter-spacing: -.075em; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--blue); margin-left: .52em; }
.hero-role { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; font-size: clamp(19px, 2vw, 30px); font-weight: 700; letter-spacing: -.03em; align-items: baseline; }
.role-prefix { color: var(--muted); }
.role-window { display: inline-grid; overflow: hidden; color: var(--blue); min-width: 205px; }
#roleWord { display: inline-block; transition: transform .35s, opacity .35s; }
#roleWord.out { transform: translateY(-110%); opacity: 0; }
#roleWord.in { animation: roleIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes roleIn { from { transform: translateY(110%); opacity: 0; } }
.hero-text { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 56px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 17px; border: 1px solid var(--line); font-weight: 800; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; }
.button-primary { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 15px 35px rgba(49,87,255,.24); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(49,87,255,.34); }
.button-ghost { background: rgba(255,255,255,.55); }
.button-ghost:hover { background: var(--paper); }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: 12px; }
.hero-meta b { color: var(--ink); font-size: 14px; }
.hero-visual { min-height: 710px; display: flex; align-items: center; justify-content: center; }
.photo-stage { width: min(510px, 92%); aspect-ratio: .82; position: relative; perspective: 1200px; }
.photo-shadow { position: absolute; inset: 15% -8% -3% 8%; border-radius: 46%; background: radial-gradient(circle at 50% 40%, rgba(49,87,255,.24), rgba(255,217,74,.18) 45%, transparent 70%); filter: blur(24px); }
.photo-card { position: absolute; inset: 3% 5% 5%; overflow: hidden; border-radius: 46% 46% 28px 28px; background: #18245b; box-shadow: var(--shadow); transform: rotate(3deg); border: 8px solid rgba(255,255,255,.78); transition: transform .2s ease-out; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 48%; filter: saturate(.9) contrast(1.03); }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,16,34,.62)); mix-blend-mode: multiply; }
.photo-label { position: absolute; left: 24px; bottom: 20px; color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .14em; }
.orbit { position: absolute; border: 1px solid rgba(49,87,255,.33); border-radius: 50%; pointer-events: none; }
.orbit::before { content: ''; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 8px rgba(49,87,255,.1); }
.orbit-one { inset: -1% -6% 10% 2%; transform: rotate(-16deg); animation: orbitPulse 8s ease-in-out infinite; }
.orbit-one::before { top: 15%; right: 7%; }
.orbit-two { inset: 15% -15% -1% -7%; transform: rotate(24deg); border-color: rgba(255,109,82,.35); animation: orbitPulse 9s ease-in-out infinite reverse; }
.orbit-two::before { bottom: 13%; left: 7%; background: var(--coral); box-shadow: 0 0 0 8px rgba(255,109,82,.11); }
@keyframes orbitPulse { 50% { transform: rotate(2deg) scale(1.035); } }
.floating-note { position: absolute; z-index: 4; min-width: 124px; padding: 16px 18px; border-radius: 20px; background: rgba(255,254,250,.88); border: 1px solid rgba(18,19,24,.1); backdrop-filter: blur(14px); box-shadow: 0 14px 36px rgba(22,27,47,.13); transition: transform .25s ease-out; }
.floating-note strong { display: block; font-size: 24px; letter-spacing: -.05em; }.floating-note small { color: var(--muted); font-weight: 700; }
.note-one { right: -13%; top: 19%; }.note-two { left: -17%; top: 38%; }.note-three { right: -10%; bottom: 14%; }
.code-sticker { position: absolute; left: -4%; top: 8%; z-index: 5; padding: 11px 15px; background: var(--yellow); border: 1px solid rgba(18,19,24,.16); transform: rotate(-7deg); border-radius: 10px; font-family: monospace; font-weight: 800; box-shadow: 8px 8px 0 rgba(18,19,24,.85); }
.hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--line); margin-bottom: 28px; box-shadow: 0 18px 55px rgba(22,27,47,.07); }
.hero-stats article { padding: 26px 28px; background: rgba(255,254,250,.92); position: relative; }
.hero-stats article span { position: absolute; right: 18px; top: 14px; font-size: 10px; font-weight: 800; color: rgba(18,19,24,.34); }
.hero-stats strong { font-size: clamp(24px,2.2vw,38px); letter-spacing: -.055em; }
.hero-stats p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }

.service-ticker { overflow: hidden; background: var(--ink); color: #fff; padding: 17px 0; transform: rotate(-1deg) scale(1.02); }
.ticker-track { display: flex; width: max-content; gap: 28px; align-items: center; font-family: Unbounded, sans-serif; font-size: 15px; animation: ticker 25s linear infinite; }
.ticker-track i { color: var(--yellow); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.55fr); gap: 80px; align-items: end; margin-bottom: 54px; }
.section-head h2 { margin: 0; font-family: Unbounded,sans-serif; font-size: clamp(44px,6vw,82px); line-height: .98; letter-spacing: -.065em; }
.section-head > p, .section-head > .text-link { margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* Профессиональные направления */
.directions-section {
  padding-top: 115px;
  padding-bottom: 95px;
}
.directions-section .section-head {
  margin-bottom: 44px;
}
.directions-section .section-head h2 {
  font-size: clamp(42px, 5.2vw, 72px);
}
.directions-section .section-head > p {
  max-width: 520px;
}
.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.direction-card {
  --direction-accent: var(--blue);
  --direction-border-hover: rgba(49, 87, 255, .38);
  position: relative;
  min-width: 0;
  min-height: 390px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(22, 27, 47, .055);
  transition:
    transform 300ms cubic-bezier(.2, .8, .2, 1),
    border-color 300ms ease,
    box-shadow 300ms ease;
}
.direction-card--manager {
  --direction-accent: var(--yellow);
  --direction-border-hover: rgba(222, 174, 0, .55);
}
.direction-card--marketing {
  --direction-accent: var(--coral);
  --direction-border-hover: rgba(255, 109, 82, .42);
}
.direction-card:hover {
  transform: translateY(-6px);
  border-color: var(--direction-border-hover);
  box-shadow: 0 24px 58px rgba(22, 27, 47, .11);
}
.direction-card__background-number {
  position: absolute;
  right: -8px;
  bottom: -34px;
  z-index: 0;
  color: var(--ink);
  font-family: Unbounded, sans-serif;
  font-size: clamp(124px, 10vw, 150px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.09em;
  opacity: .035;
  user-select: none;
  pointer-events: none;
  transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
}
.direction-card:hover .direction-card__background-number {
  transform: translate(-3px, -2px);
}
.direction-card__top,
.direction-card__title,
.direction-card__description,
.direction-card__tags,
.direction-card__footer {
  position: relative;
  z-index: 1;
}
.direction-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}
.direction-card__number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}
.direction-card__type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(18, 19, 24, .54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: right;
}
.direction-card__type::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--direction-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--direction-accent) 12%, transparent);
}
.direction-card__title {
  margin: 0 0 22px;
  font-family: Unbounded, sans-serif;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.direction-card__description {
  margin: 0;
  color: rgba(18, 19, 24, .74);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.68;
}
.direction-card__tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.direction-card__tags span {
  min-height: 30px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: rgba(18, 19, 24, .62);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.direction-card__footer {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(18, 19, 24, .58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.direction-card__footer i {
  width: 28px;
  height: 3px;
  display: block;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--direction-accent);
  transition: width 300ms cubic-bezier(.2, .8, .2, 1);
}
.direction-card:hover .direction-card__footer i {
  width: 42px;
}

.text-link { font-weight: 800; color: var(--blue)!important; }
.case-filtering { margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1px solid var(--line); padding: 11px 16px; border-radius: 999px; background: rgba(255,255,255,.5); font-weight: 700; font-size: 12px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.filter:hover { transform: translateY(-2px); }
.filter:hover, .filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.subfilters-shell { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; transition: grid-template-rows .38s cubic-bezier(.2,.75,.2,1), opacity .24s ease, margin-top .38s ease; }
.subfilters-shell.open { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
.subfilters-panel { min-height: 0; overflow: hidden; }
.subfilters-panel::before { content: ''; display: block; height: 1px; background: linear-gradient(90deg, var(--blue), rgba(49,87,255,.08) 48%, transparent); margin-bottom: 14px; }
.subfilters-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 11px; }
.subfilters-head > span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.subfilters-head strong { color: var(--blue); font-size: 11px; }
.subfilters { display: flex; flex-wrap: wrap; gap: 7px; }
.subfilter { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(49,87,255,.18); padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.62); color: #343a52; font-size: 11px; font-weight: 800; cursor: pointer; transition: background .22s, color .22s, border-color .22s, transform .22s, box-shadow .22s; }
.subfilter span { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 7px; background: rgba(49,87,255,.08); color: var(--blue); font-size: 9px; transition: inherit; }
.subfilter:hover { transform: translateY(-2px); border-color: rgba(49,87,255,.42); box-shadow: 0 8px 18px rgba(49,87,255,.08); }
.subfilter.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(49,87,255,.2); }
.subfilter.active span { background: rgba(255,255,255,.18); color: #fff; }
.cases-empty { grid-column: 1 / -1; padding: 54px 32px; border: 1px dashed rgba(49,87,255,.3); border-radius: 24px; background: rgba(255,255,255,.42); text-align: center; }
.cases-empty strong { display: block; font-family: Unbounded, sans-serif; font-size: 22px; letter-spacing: -.04em; }
.cases-empty p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.cases-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.case-card { grid-column: span 4; min-height: 430px; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); position: relative; cursor: pointer; box-shadow: 0 10px 35px rgba(22,27,47,.05); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.case-card:nth-child(1), .case-card:nth-child(5) { grid-column: span 8; }
.case-card:nth-child(1) { min-height: 520px; }.case-card:nth-child(5) { min-height: 470px; }
.case-card:hover { transform: translateY(-8px); box-shadow: 0 26px 65px rgba(22,27,47,.14); }
.case-art { height: 56%; min-height: 230px; position: relative; overflow: hidden; background: var(--art-bg, #3157ff); color: #fff; }
.case-card:nth-child(1) .case-art { height: 64%; }.case-card:nth-child(5) .case-art { height: 60%; }
.case-art::before { content: ''; position: absolute; width: 62%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; right: -8%; top: -25%; box-shadow: 0 0 0 50px rgba(255,255,255,.045), 0 0 0 100px rgba(255,255,255,.035); transition: transform .5s; }
.case-art::after { content: ''; position: absolute; width: 160px; height: 160px; left: 11%; bottom: -60px; background: rgba(255,255,255,.18); border-radius: 34px; transform: rotate(34deg); backdrop-filter: blur(10px); transition: transform .5s; }
.case-card:hover .case-art::before { transform: scale(1.1) rotate(10deg); }.case-card:hover .case-art::after { transform: rotate(50deg) translateY(-12px); }
.case-art-grid { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom,black,transparent); }
.case-art-index { position: absolute; left: 22px; top: 20px; font-family: Unbounded,sans-serif; font-size: 13px; }
.case-art-title { position: absolute; left: 24px; bottom: 24px; z-index: 2; max-width: 72%; font-family: Unbounded,sans-serif; font-size: clamp(24px,3vw,46px); line-height: .95; letter-spacing: -.06em; }
.case-art-mark { position: absolute; right: 22px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; font-size: 24px; z-index: 3; }
.case-body { padding: 22px 24px 24px; }
.case-meta { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.case-meta span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.case-meta strong { color: var(--blue); font-size: 17px; letter-spacing: -.04em; white-space: nowrap; }
.case-body h3 { margin: 13px 0 8px; font-size: 24px; line-height: 1.12; letter-spacing: -.04em; }
.case-body p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 13px; }
.case-footer { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 800; }
.case-tags { display: flex; gap: 5px; flex-wrap: wrap; }.case-tags i { font-style: normal; padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.show-all-wrap { text-align: center; margin-top: 32px; }

.theme-cobalt { --art-bg: linear-gradient(135deg,#1732cb,#5075ff); }.theme-mint { --art-bg: linear-gradient(135deg,#0a8d75,#49d7ab); }.theme-sun { --art-bg: linear-gradient(135deg,#ff8c37,#ffd94a); color:#161616; }.theme-violet { --art-bg: linear-gradient(135deg,#5831c9,#aa71ff); }.theme-coral { --art-bg: linear-gradient(135deg,#b92f2f,#ff745c); }.theme-aqua { --art-bg: linear-gradient(135deg,#087c99,#42d5de); }.theme-rose { --art-bg: linear-gradient(135deg,#bf3970,#ff91b9); }.theme-paint { --art-bg: linear-gradient(135deg,#5428b4,#ff5e92 50%,#ffbd4a); }.theme-navy { --art-bg: linear-gradient(135deg,#111b46,#3157ff); }.theme-lime { --art-bg: linear-gradient(135deg,#5b8e00,#b9eb37); color:#141414; }.theme-red { --art-bg: linear-gradient(135deg,#171717,#e94343); }.theme-museum { --art-bg: linear-gradient(135deg,#2d2d32,#797985); }.theme-ice { --art-bg: linear-gradient(135deg,#326d9e,#92d6f3); }.theme-orange { --art-bg: linear-gradient(135deg,#dc5e22,#ffb14f); }.theme-gold { --art-bg: linear-gradient(135deg,#604514,#d8ae4a); }.theme-medical { --art-bg: linear-gradient(135deg,#217d72,#8fe2d3); }.theme-security { --art-bg: linear-gradient(135deg,#17191e,#3f526d); }.theme-telegram { --art-bg: linear-gradient(135deg,#1677bb,#45c5ff); }

.problem-section { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.problem-section::before { content:''; position:absolute; width:750px;height:750px;border-radius:50%;background:radial-gradient(circle,rgba(49,87,255,.35),transparent 66%);right:-220px;top:-260px; }
.section-head-light .section-label { color: var(--yellow); }.section-head-light > p { color: rgba(255,255,255,.58); }
.problem-list { border-top: 1px solid rgba(255,255,255,.18); }
.problem-row { display: grid; grid-template-columns: 70px 1.1fr 1.4fr auto; gap: 30px; align-items: center; min-height: 142px; border-bottom: 1px solid rgba(255,255,255,.18); position: relative; transition: padding .3s, background .3s; }
.problem-row:hover { padding-inline: 18px; background: rgba(255,255,255,.035); }
.problem-row > span { color: var(--yellow); font-family: Unbounded,sans-serif; font-size: 16px; }
.problem-row h3 { font-size: 24px; line-height: 1.2; margin: 0; letter-spacing: -.04em; }.problem-row p { margin: 0; color: rgba(255,255,255,.56); line-height: 1.6; }
.problem-row button { border: 0; background: transparent; color: var(--yellow); font-weight: 800; cursor: pointer; white-space: nowrap; }

.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: stretch; }
.about-copy { padding: 54px; background: var(--paper); border: 1px solid var(--line); border-radius: 34px; }
.about-copy h2 { margin: 0 0 32px; font-family: Unbounded,sans-serif; font-size: clamp(38px,4.8vw,68px); line-height: 1; letter-spacing: -.06em; }.about-copy p { max-width: 900px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.profi-card { padding: 40px; color: #fff; background: var(--blue); border-radius: 34px; display:flex;flex-direction:column;justify-content:space-between;min-height:430px; box-shadow:0 24px 60px rgba(49,87,255,.25); transition:transform .35s;position:relative;overflow:hidden; }
.profi-card:hover { transform: translateY(-8px) rotate(-1deg); }.profi-card::before { content:'';position:absolute;width:360px;height:360px;border:1px solid rgba(255,255,255,.24);border-radius:50%;right:-150px;top:-100px;box-shadow:0 0 0 55px rgba(255,255,255,.04),0 0 0 110px rgba(255,255,255,.03); }
.profi-top,.profi-bottom { display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1; }.profi-top strong { font-family:Unbounded,sans-serif; }.profi-top span,.profi-bottom span { color:rgba(255,255,255,.72);font-size:12px; }
.profi-score { position:relative;z-index:1; }.profi-score b { display:block;font-size:96px;line-height:.9;letter-spacing:-.08em; }.profi-score span { color:var(--yellow);font-size:26px;letter-spacing:.12em; }
.profi-bottom em { font-style:normal;background:#fff;color:var(--blue);padding:9px 12px;border-radius:999px;font-size:11px;font-weight:800; }

.stack-section { background:#eae7de; }
.stack-board { border:1px solid var(--line);border-radius:28px;overflow:hidden;background:rgba(255,254,250,.55); }
.stack-row { display:grid;grid-template-columns:250px 1fr;gap:28px;padding:27px 30px;border-bottom:1px solid var(--line);align-items:center;transition:background .25s; }.stack-row:last-child{border-bottom:0}.stack-row:hover{background:var(--paper)}
.stack-row h3 { margin:0;font-size:15px; }.stack-row div { display:flex;gap:8px;flex-wrap:wrap; }.stack-row span { padding:8px 11px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:11px;font-weight:700; }

.reviews-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:18px; }
.review-card { min-height:270px;padding:28px;border-radius:26px;border:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s; }
.review-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.stars{color:#ffad00;letter-spacing:.13em}.review-card blockquote{margin:34px 0 auto;font-size:20px;line-height:1.35;font-weight:700;letter-spacing:-.03em}.review-card p{color:var(--muted);font-size:12px}.review-card>span{font-size:12px;font-weight:800}.review-more{background:var(--yellow)}.review-accent{background:var(--blue);color:#fff}.review-more strong,.review-accent strong{font-family:Unbounded,sans-serif;font-size:40px;line-height:1;margin:auto 0 15px}.review-accent p{color:rgba(255,255,255,.7)}

.contacts-section { padding-top:120px;background:var(--ink);color:#fff; }
.contacts-inner { display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end; }.contacts-title .section-label{color:var(--yellow)}.contacts-title h2{margin:0;font-family:Unbounded,sans-serif;font-size:clamp(44px,6vw,84px);line-height:.98;letter-spacing:-.065em}.contacts-title p{color:rgba(255,255,255,.58);max-width:610px;line-height:1.7}
.contact-links { border-top:1px solid rgba(255,255,255,.18); }.contact-links a{display:grid;grid-template-columns:110px 1fr auto;gap:20px;align-items:center;min-height:105px;border-bottom:1px solid rgba(255,255,255,.18);transition:padding .25s,background .25s}.contact-links a:hover{padding-inline:16px;background:rgba(255,255,255,.035)}.contact-links span{color:rgba(255,255,255,.48);font-size:12px}.contact-links strong{font-size:18px}.contact-links i{font-style:normal;color:var(--yellow);font-size:24px}
.footer { margin-top:90px;min-height:92px;border-top:1px solid rgba(255,255,255,.18);display:flex;align-items:center;justify-content:space-between;color:rgba(255,255,255,.5);font-size:12px }.footer a{color:#fff;font-weight:800}

.modal { position:fixed;inset:0;z-index:80;display:none;align-items:center;justify-content:center;padding:20px; }.modal.open{display:flex}.modal-backdrop{position:absolute;inset:0;background:rgba(10,12,18,.74);backdrop-filter:blur(12px)}.modal-panel{position:relative;width:min(1160px,100%);max-height:calc(100svh - 40px);overflow:hidden;background:var(--paper);border-radius:32px;box-shadow:0 40px 100px rgba(0,0,0,.35);animation:modalIn .35s cubic-bezier(.2,.8,.2,1)}.modal-scroll{max-height:calc(100svh - 40px);overflow:auto;overflow-x:hidden;border-radius:inherit;scrollbar-width:thin;scrollbar-color:rgba(18,19,24,.22) transparent;}@keyframes modalIn{from{transform:translateY(30px) scale(.98);opacity:0}}.modal-close{position:absolute;right:18px;top:18px;z-index:8;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.92);font-size:28px;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.modal-art{height:330px;position:relative;overflow:hidden;background:var(--art-bg,#3157ff)}.modal-art::before{content:'';position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid rgba(255,255,255,.45);right:-70px;top:-170px;box-shadow:0 0 0 70px rgba(255,255,255,.05),0 0 0 140px rgba(255,255,255,.035)}.modal-art::after{content:attr(data-title);position:absolute;left:48px;bottom:34px;right:160px;color:#fff;font-family:Unbounded,sans-serif;font-size:clamp(38px,6vw,72px);line-height:.9;letter-spacing:-.07em}.modal-content{padding:44px 48px 50px}.modal-meta{display:flex;gap:16px;align-items:center;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--muted)}.modal-meta strong{margin-left:auto;color:var(--blue);font-size:18px;letter-spacing:-.04em}.modal-content>h2{font-family:Unbounded,sans-serif;font-size:42px;letter-spacing:-.06em;margin:20px 0 36px}.modal-columns{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:34px}.modal-columns h3{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--blue)}.modal-columns p,.modal-columns li{color:var(--muted);line-height:1.65;font-size:14px}.modal-columns ul{padding-left:18px}.modal-footer{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-top:34px;padding-top:26px;border-top:1px solid var(--line)}.modal-tech{display:flex;gap:7px;flex-wrap:wrap}.modal-tech span{padding:8px 10px;border:1px solid var(--line);border-radius:999px;font-size:11px;font-weight:700}

@media (max-width: 1100px){
  .directions-grid{grid-template-columns:1fr}.direction-card{min-height:300px}.direction-card__title br{display:none}
  .desktop-nav{gap:20px}.hero{grid-template-columns:1fr .8fr;gap:20px}.hero h1{font-size:clamp(54px,7.8vw,84px)}.hero h1 span:last-child{margin-left:0}.hero-visual{min-height:620px}.case-card{grid-column:span 6}.case-card:nth-child(1),.case-card:nth-child(5){grid-column:span 6;min-height:430px}.about-grid{grid-template-columns:1fr}.profi-card{min-height:360px}.reviews-grid{grid-template-columns:repeat(2,1fr)}.contacts-inner{grid-template-columns:1fr}.modal-columns{grid-template-columns:1fr 1fr}.modal-columns section:last-child{grid-column:1/-1}
}
@media (max-width: 760px){
  .directions-section{padding-top:82px;padding-bottom:72px}.directions-section .section-head{margin-bottom:30px}.directions-section .section-head h2{font-size:clamp(38px,11.6vw,54px)}.directions-grid{gap:14px}.direction-card{min-height:0;padding:24px}.direction-card__top{margin-bottom:28px}.direction-card__title{font-size:30px;margin-bottom:18px}.direction-card__description{font-size:13px;line-height:1.65}.direction-card__tags{margin-top:21px}.direction-card__background-number{right:-5px;bottom:-23px;font-size:106px}.direction-card__footer{padding-top:24px}
  .section-shell{width:min(100% - 28px,620px)}.section{padding:86px 0}.site-header{top:10px}.header-inner{width:calc(100% - 18px);height:62px;padding:0 8px 0 16px;grid-template-columns:1fr auto auto;gap:8px;border-radius:18px}.desktop-nav{display:none}.header-contact{padding:12px 15px}.menu-button{display:block}.mobile-nav{position:fixed;inset:78px 9px auto;display:flex;flex-direction:column;padding:14px;border-radius:22px;background:rgba(255,254,250,.98);border:1px solid var(--line);box-shadow:var(--shadow);transform:translateY(-18px);opacity:0;pointer-events:none;transition:.3s}.mobile-nav.open{transform:none;opacity:1;pointer-events:auto}.mobile-nav a{padding:14px;border-bottom:1px solid var(--line);font-weight:800}.mobile-nav a:last-child{border:0}
  .hero{min-height:auto;padding-top:110px;display:flex;flex-direction:column;gap:0}.hero-copy{padding:30px 0 10px}.availability{font-size:9px}.hero-kicker{margin-top:24px}.hero h1{font-size:clamp(44px,13.4vw,68px);line-height:.9}.hero-role{font-size:19px;margin-top:24px}.role-window{min-width:140px}.hero-text{font-size:14px;line-height:1.65}.hero-actions{flex-direction:column}.button{width:100%}.hero-meta{gap:8px 16px}.hero-visual{min-height:540px;width:100%}.photo-stage{width:86%;margin-top:10px}.photo-card{inset:5% 3% 7%}.floating-note{min-width:104px;padding:12px 13px}.floating-note strong{font-size:18px}.note-one{right:-10%}.note-two{left:-10%}.note-three{right:-7%}.code-sticker{left:-6%;top:5%}.hero-stats{grid-template-columns:1fr 1fr;margin-top:0}.hero-stats article{padding:20px 18px}.hero-stats strong{font-size:23px}.hero-stats p{font-size:10px}#heroCanvas{width:100%;height:600px;right:0;top:300px}
  .section-head{grid-template-columns:1fr;gap:22px;margin-bottom:34px}.section-head h2{font-size:clamp(38px,12vw,60px)}.section-head>p,.section-head>.text-link{font-size:14px}.filters,.subfilters{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding-bottom:7px;margin-right:-14px;scrollbar-width:none}.filters::-webkit-scrollbar,.subfilters::-webkit-scrollbar{display:none}.filter,.subfilter{white-space:nowrap}.subfilters-head{margin-right:0}.subfilters-head>span{font-size:9px}.subfilters-head strong{font-size:10px}.cases-grid{display:block}.case-card,.case-card:nth-child(1),.case-card:nth-child(5){min-height:0;margin-bottom:14px}.case-art,.case-card:nth-child(1) .case-art,.case-card:nth-child(5) .case-art{height:260px}.case-art-title{font-size:34px}.case-body{padding:19px}.problem-row{grid-template-columns:42px 1fr;gap:10px 14px;padding:25px 0}.problem-row h3{font-size:20px}.problem-row p,.problem-row button{grid-column:2}.problem-row:hover{padding-inline:0}.about-copy{padding:28px}.about-copy h2{font-size:36px}.about-copy p{font-size:14px}.profi-card{padding:28px;min-height:350px}.profi-score b{font-size:78px}.stack-row{grid-template-columns:1fr;padding:22px;gap:14px}.reviews-grid{grid-template-columns:1fr}.review-card{min-height:240px}.contacts-section{padding-top:82px}.contacts-title h2{font-size:42px}.contact-links a{grid-template-columns:80px 1fr auto;min-height:90px}.contact-links strong{font-size:14px}.footer{flex-direction:column;justify-content:center;gap:8px;text-align:center;margin-top:55px}.modal{padding:8px}.modal-panel{max-height:calc(100svh - 16px);border-radius:24px}.modal-scroll{max-height:calc(100svh - 16px)}.modal-art{height:230px}.modal-art::after{left:24px;bottom:24px;right:80px;font-size:36px}.modal-content{padding:28px 22px}.modal-content>h2{font-size:32px}.modal-columns{grid-template-columns:1fr;gap:12px}.modal-columns section:last-child{grid-column:auto}.modal-footer{align-items:flex-start;flex-direction:column}.modal-footer .button{width:100%}
}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}.cursor-aura,#heroCanvas{display:none}}


/* Реальные превью проектов внутри единой 3D-системы */
.case-art.has-image {
  isolation: isolate;
  background: var(--art-bg, #3157ff);
}
.case-art.has-image::before {
  width: 76%;
  right: -20%;
  top: -45%;
  opacity: .72;
}
.case-art.has-image::after {
  width: 210px;
  height: 210px;
  left: -70px;
  bottom: -115px;
  opacity: .52;
  filter: blur(1px);
}
.case-art.has-image .case-art-grid {
  opacity: .18;
}
.case-browser {
  position: absolute;
  z-index: 2;
  left: 9%;
  top: 14%;
  width: 78%;
  height: 72%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow:
    0 28px 60px rgba(6,12,35,.32),
    0 8px 18px rgba(6,12,35,.2),
    inset 0 0 0 1px rgba(18,19,24,.05);
  transform: perspective(1050px) rotateX(4deg) rotateY(-9deg) rotateZ(-1.5deg);
  transform-origin: 50% 50%;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s;
}
.case-card:nth-child(1) .case-browser,
.case-card:nth-child(5) .case-browser {
  left: 10%;
  top: 12%;
  width: 76%;
  height: 74%;
}
.case-card:hover .case-browser {
  transform: perspective(1050px) rotateX(1deg) rotateY(-3deg) rotateZ(0deg) translateY(-8px) scale(1.025);
  box-shadow:
    0 38px 76px rgba(6,12,35,.4),
    0 12px 24px rgba(6,12,35,.22),
    inset 0 0 0 1px rgba(18,19,24,.05);
}
.case-browser-bar {
  height: 28px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(18,19,24,.52);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(18,19,24,.08);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .02em;
}
.case-browser-bar i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff6b64;
}
.case-browser-bar i:nth-child(2) { background: #ffd34d; }
.case-browser-bar i:nth-child(3) { background: #35ca6d; }
.case-browser-bar span {
  min-width: 0;
  margin-left: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-browser-screen {
  height: calc(100% - 28px);
  overflow: hidden;
  background: #f4f5f7;
}
.case-browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.case-card:hover .case-browser-screen img {
  transform: scale(1.035);
}
.case-image-metric {
  position: absolute;
  z-index: 4;
  right: 6%;
  bottom: 8%;
  max-width: 145px;
  padding: 12px 14px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 15px;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  box-shadow: 0 15px 34px rgba(6,12,35,.18);
  backdrop-filter: blur(16px) saturate(150%);
  transform: rotate(2.5deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.case-card:hover .case-image-metric {
  transform: rotate(0deg) translateY(-5px);
}
.case-image-metric b {
  color: var(--blue);
  font-family: Unbounded, sans-serif;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -.05em;
}
.case-image-metric small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.25;
}
.case-art.has-image .case-art-index {
  z-index: 5;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(15,17,27,.44);
  color: #fff;
  backdrop-filter: blur(10px);
}
.case-art.has-image .case-art-mark {
  background: rgba(255,255,255,.88);
  color: var(--ink);
  border-color: rgba(255,255,255,.65);
  box-shadow: 0 12px 30px rgba(6,12,35,.18);
}

/* Большое превью внутри модального окна */
.modal-art.has-image {
  height: 470px;
  isolation: isolate;
}
.modal-art.has-image::before {
  opacity: .75;
}
.modal-art.has-image::after {
  content: none;
}
.modal-browser {
  position: absolute;
  z-index: 2;
  left: 6%;
  top: 9%;
  width: 80%;
  height: 82%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 34px 75px rgba(6,12,35,.35),
    0 10px 24px rgba(6,12,35,.18);
  transform: perspective(1250px) rotateX(3deg) rotateY(-7deg) rotateZ(-1deg);
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  transition: transform .22s ease-out, box-shadow .35s ease-out;
  will-change: transform;
}
.modal-browser-screen {
  height: calc(100% - 28px);
  overflow: hidden;
  background: #f4f5f7;
}
.modal-browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.modal-visual-label {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 8%;
  width: min(300px, 31%);
  padding: 18px 20px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  box-shadow: 0 22px 50px rgba(6,12,35,.2);
  backdrop-filter: blur(18px) saturate(150%);
  transition: transform .22s ease-out, box-shadow .35s ease-out;
  will-change: transform;
}
.modal-visual-label span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.modal-visual-label strong {
  font-family: Unbounded, sans-serif;
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: -.05em;
}
.modal-visual-label b {
  color: var(--blue);
  font-size: 15px;
}

.modal-art.has-image:hover .modal-browser {
  box-shadow: 0 44px 90px rgba(6,12,35,.42), 0 16px 28px rgba(6,12,35,.22);
}
.modal-art.has-image:hover .modal-browser-screen img {
  transform: scale(1.035);
}
.modal-art.has-image:hover .modal-visual-label {
  box-shadow: 0 28px 60px rgba(6,12,35,.24);
}
.modal-scroll::-webkit-scrollbar { width: 10px; }
.modal-scroll::-webkit-scrollbar-track { background: transparent; }
.modal-scroll::-webkit-scrollbar-thumb { background: rgba(18,19,24,.18); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }

@media (max-width: 1100px) {
  .case-browser {
    left: 8%;
    width: 80%;
  }
  .modal-browser {
    left: 5%;
    width: 82%;
    height: 80%;
  }
  .modal-visual-label {
    width: 31%;
  }
}

@media (max-width: 760px) {
  .case-art.has-image {
    height: 285px;
  }
  .case-browser,
  .case-card:nth-child(1) .case-browser,
  .case-card:nth-child(5) .case-browser {
    left: 7%;
    top: 15%;
    width: 82%;
    height: 68%;
    border-radius: 14px;
    transform: perspective(900px) rotateX(3deg) rotateY(-6deg) rotateZ(-1deg);
  }
  .case-browser-bar {
    height: 24px;
  }
  .case-browser-screen {
    height: calc(100% - 24px);
  }
  .case-image-metric {
    right: 5%;
    bottom: 5%;
    max-width: 130px;
    padding: 10px 11px;
  }
  .case-image-metric b {
    font-size: 13px;
  }
  .case-art.has-image .case-art-index {
    left: 14px;
    top: 14px;
  }
  .modal-art.has-image {
    height: 330px;
  }
  .modal-browser {
    left: 5%;
    top: 11%;
    width: 86%;
    height: 72%;
    border-radius: 16px;
    transform: perspective(900px) rotateX(2deg) rotateY(-5deg) rotateZ(-1deg);
  }
  .modal-visual-label {
    right: 3%;
    bottom: 4%;
    width: 47%;
    padding: 12px 13px;
    border-radius: 15px;
  }
  .modal-visual-label strong {
    font-size: 13px;
  }
  .modal-visual-label b {
    font-size: 12px;
  }
}


/* Финальная полировка модального окна кейса */
.modal {
  padding: 12px;
}
.modal-panel {
  width: min(1240px, 100%);
  max-height: calc(100svh - 24px);
  overflow: hidden;
  background: var(--paper);
}
.modal-scroll {
  max-height: calc(100svh - 24px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.modal-progress {
  position: absolute;
  z-index: 9;
  top: 82px;
  right: 8px;
  bottom: 18px;
  width: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18,19,24,.08);
  pointer-events: none;
}
.modal-progress span {
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #3157ff, #6d82ff);
  box-shadow: 0 0 14px rgba(49,87,255,.45);
  transition: height .12s linear;
}
.modal-close {
  right: 20px;
  top: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.modal-close:hover {
  transform: rotate(5deg) scale(1.06);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.17);
}
.modal-art.has-image {
  height: 520px;
  overflow: hidden;
  --modal-parallax-x: 0px;
  --modal-parallax-y: 0px;
}
.modal-art.has-image::before {
  transform: translate3d(var(--modal-parallax-x), var(--modal-parallax-y), 0);
  transition: transform .3s ease-out;
}
.modal-art.has-image::after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 330px;
  height: 330px;
  left: -135px;
  bottom: -185px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,255,255,.035), 0 0 0 120px rgba(255,255,255,.025);
  transform: translate3d(calc(var(--modal-parallax-x) * -.7), calc(var(--modal-parallax-y) * -.7), 0);
  transition: transform .3s ease-out;
  pointer-events: none;
}
.modal-browser {
  left: 4%;
  top: 7%;
  width: 87%;
  height: 86%;
  border-radius: 24px;
  transform: perspective(1350px) rotateX(3deg) rotateY(-6deg) rotateZ(-.8deg);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  will-change: transform;
}
.modal-browser::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,.20) 45%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.modal-art.has-image:hover .modal-browser::after {
  transform: translateX(120%);
}
.modal-browser-screen img {
  transform-origin: center top;
  will-change: transform;
}
.modal-visual-label {
  right: 2.5%;
  bottom: 7%;
  width: min(310px, 29%);
  padding: 20px 22px;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  will-change: transform;
}
.modal-content {
  padding: 48px 54px 54px;
}

@media (max-width: 1100px) {
  .modal-art.has-image { height: 470px; }
  .modal-browser { left: 4%; width: 87%; height: 84%; }
  .modal-visual-label { width: 31%; }
}

@media (max-width: 760px) {
  .modal { padding: 6px; }
  .modal-panel,
  .modal-scroll { max-height: calc(100svh - 12px); }
  .modal-progress { right: 4px; top: 70px; bottom: 14px; width: 3px; }
  .modal-close { right: 12px; top: 12px; width: 44px; height: 44px; }
  .modal-art.has-image { height: 340px; }
  .modal-browser {
    left: 4%;
    top: 10%;
    width: 89%;
    height: 73%;
    border-radius: 16px;
    transform: perspective(900px) rotateX(2deg) rotateY(-4deg) rotateZ(-.6deg);
  }
  .modal-visual-label {
    right: 2.5%;
    bottom: 4%;
    width: 49%;
    padding: 12px 14px;
  }
  .modal-content { padding: 28px 22px 34px; }
}
