/* ============================================================
   Scoorbyy — portfolio
   Soft blue minimalist
   ============================================================ */

:root{
  --bg: #f7fbff;
  --surface: #ffffff;
  --ink: #0a1a2f;
  --ink-soft: #3b516b;
  --muted: #6d83a0;
  --line: rgba(13, 38, 70, .09);
  --line-strong: rgba(13, 38, 70, .16);
  --blue: #3d7bf6;
  --blue-deep: #2f66d8;
  --cyan: #59c3ee;
  --gradient: linear-gradient(120deg, #3d7bf6 0%, #4c9dfb 45%, #59c3ee 100%);
  --radius: 22px;
  --shadow-soft: 0 24px 60px -28px rgba(21, 64, 133, .38);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*,*::before,*::after{ box-sizing: border-box; }

[hidden]{ display: none !important; }

html{ scroll-behavior: smooth; overflow-x: clip; }

body{
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked{ overflow: hidden; }

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

button{ font: inherit; color: inherit; }

h1,h2,h3,h4,p{ margin: 0; }

:focus-visible{
  outline: 2px solid rgba(61, 123, 246, .65);
  outline-offset: 3px;
  border-radius: 8px;
}

.shell{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Фон ---------- */

.bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .032;
  mix-blend-mode: multiply;
}

.bg__orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .8;
  will-change: transform;
}

.bg__orb--1{
  width: 640px; height: 640px;
  top: -260px; left: -180px;
  background: radial-gradient(circle at 40% 40%, rgba(93, 155, 255, .42), rgba(93, 155, 255, 0) 68%);
  animation: drift 26s var(--ease) infinite alternate;
}

.bg__orb--2{
  width: 560px; height: 560px;
  top: 120px; right: -200px;
  background: radial-gradient(circle at 50% 50%, rgba(125, 216, 240, .4), rgba(125, 216, 240, 0) 70%);
  animation: drift 32s var(--ease) infinite alternate-reverse;
}

.bg__orb--3{
  width: 720px; height: 720px;
  bottom: -380px; left: 30%;
  background: radial-gradient(circle at 50% 50%, rgba(140, 148, 255, .25), rgba(140, 148, 255, 0) 70%);
  animation: drift 38s var(--ease) infinite alternate;
}

@keyframes drift{
  from{ transform: translate3d(0, 0, 0) scale(1); }
  to{ transform: translate3d(40px, 30px, 0) scale(1.08); }
}

/* ---------- Хедер ---------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 251, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(13, 38, 70, .06);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled{
  background: rgba(247, 251, 255, .86);
  box-shadow: 0 14px 40px -28px rgba(16, 52, 110, .5);
}

.header__inner{
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark{
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.02em;
  box-shadow: 0 10px 22px -10px rgba(48, 110, 230, .85);
  transition: transform .35s var(--ease);
}

.brand:hover .brand__mark{ transform: rotate(-6deg) scale(1.04); }

.brand__name{
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.02em;
}

.tabs{
  position: relative;
  display: inline-flex;
  gap: 2px;
  margin-left: auto;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.tabs__pill{
  position: absolute;
  left: 0;
  top: 5px;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px -8px rgba(24, 70, 150, .35), inset 0 0 0 1px rgba(13, 38, 70, .05);
  transition: transform .45s var(--ease), width .45s var(--ease);
  will-change: transform, width;
}

.tab{
  position: relative;
  z-index: 1;
  padding: 9px 17px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s ease;
}

.tab:hover{ color: var(--ink-soft); }
.tab[aria-selected="true"]{ color: var(--ink); }

.header__tg{
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  color: var(--ink-soft);
  transition: color .25s, border-color .25s, background .25s, transform .3s var(--ease);
}

.header__tg:hover{
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-1px);
}

/* ---------- Страницы ---------- */

.page[hidden]{ display: none; }

.page.is-entering > *{
  animation: pageIn .6s var(--ease) both;
}

@keyframes pageIn{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */

.hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  padding: clamp(52px, 8vw, 96px) 28px clamp(28px, 4vw, 44px);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5a7ca4;
}

.eyebrow__dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 123, 246, .14);
  animation: pulse 3.2s ease-in-out infinite;
}

@keyframes pulse{
  0%, 100%{ box-shadow: 0 0 0 4px rgba(61, 123, 246, .14); }
  50%{ box-shadow: 0 0 0 7px rgba(61, 123, 246, .05); }
}

.hero h1{
  margin-top: 20px;
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
  text-wrap: pretty;
}

.hero h1 em{
  font-style: normal;
  background: linear-gradient(100deg, #2f66d8 0%, #4d9bfa 48%, #64cdf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead{
  margin-top: 24px;
  max-width: 48ch;
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s;
}

.btn--primary{
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 34px -14px rgba(48, 110, 230, .75);
}

.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -16px rgba(48, 110, 230, .85);
}

.btn--ghost{
  background: rgba(255, 255, 255, .72);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover{
  border-color: rgba(61, 123, 246, .35);
  background: #fff;
  transform: translateY(-2px);
}

/* ---------- Hero-композиция ---------- */

.hero__art{
  position: relative;
  padding: 26px 14px 34px 10px;
}

.art__glow{
  position: absolute;
  inset: -8% -6% 0 -4%;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(135deg, rgba(107, 163, 255, .28), rgba(120, 214, 240, .3));
  filter: blur(52px);
  transform: rotate(-8deg);
  z-index: 0;
}

.art__card{
  position: relative;
  display: block;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 20px;
  padding: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 34px 70px -30px rgba(19, 58, 122, .55), inset 0 0 0 1px rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.art__card img{
  border-radius: 14px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.art__card--main{
  z-index: 2;
  transform: rotate(-2.2deg);
}

.art__card--main:hover{
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: 0 42px 80px -30px rgba(19, 58, 122, .6), inset 0 0 0 1px rgba(255, 255, 255, .9);
}

.art__card--small{
  position: absolute;
  z-index: 3;
  width: 47%;
  left: -3%;
  bottom: -2%;
  padding: 6px;
  border-radius: 16px;
  transform: rotate(4.5deg);
  box-shadow: 0 26px 54px -24px rgba(19, 58, 122, .55), inset 0 0 0 1px rgba(255, 255, 255, .9);
}

.art__card--small img{
  border-radius: 11px;
  aspect-ratio: 16 / 9;
}

.art__play{
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(9, 24, 45, .42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  padding-left: 3px;
  transition: background .3s, transform .4s var(--ease);
}

.art__card--main:hover .art__play{
  background: var(--gradient);
  transform: scale(1.07);
}

.art__badge{
  position: absolute;
  z-index: 4;
  top: 4px;
  right: 0;
  padding: 11px 17px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px -16px rgba(19, 58, 122, .5), inset 0 0 0 1px rgba(255, 255, 255, .9);
  white-space: nowrap;
}

/* ---------- Работы ---------- */

.works{
  scroll-margin-top: calc(var(--header-h) + 18px);
  padding-top: clamp(44px, 7vw, 84px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.section-head h2{
  margin-top: 12px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 800;
}

.section-head__note{
  max-width: 28ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
  padding-bottom: 6px;
}

.works__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.4vw, 30px) clamp(16px, 2vw, 26px);
  align-items: start;
}

.works__grid--all{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px) clamp(16px, 2vw, 26px);
}

.works__grid--all .work{
  grid-column: auto;
  margin-top: 0;
}

.more-section{
  padding-bottom: clamp(48px, 7vw, 96px);
}

.works__empty{
  padding: 10px 0 30px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.work{
  display: block;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: cardIn .65s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

@keyframes cardIn{
  from{ opacity: 0; transform: translateY(16px); }
  to{ opacity: 1; transform: none; }
}

.work--1{ grid-column: span 7; }
.work--2{ grid-column: span 5; margin-top: 54px; }
.work--3{ grid-column: span 5; }
.work--4{ grid-column: span 7; margin-top: 54px; }

.work__frame{
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #e6f0fb;
  box-shadow: 0 24px 50px -26px rgba(19, 58, 122, .5), inset 0 0 0 1px rgba(255, 255, 255, .6);
  transform: translateZ(0);
}

.work__frame::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 27, 53, 0) 45%, rgba(8, 27, 53, .34) 100%);
  opacity: 0;
  transition: opacity .45s ease;
}

.work__frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s ease;
}

.work:hover .work__frame img,
.work:focus-visible .work__frame img{
  transform: scale(1.055);
  filter: saturate(1.06);
}

.work:hover .work__frame::after,
.work:focus-visible .work__frame::after{ opacity: 1; }

.work__badge{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 22px -12px rgba(8, 30, 60, .6);
}

.work__play{
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 26, 47, .38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  padding-left: 2px;
  transition: background .3s, transform .4s var(--ease), opacity .3s;
}

.work:hover .work__play,
.work:focus-visible .work__play{
  background: var(--gradient);
  transform: scale(1.08);
}

.work__meta{
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "index title arrow"
    "index tag   arrow";
  align-items: center;
  column-gap: 14px;
  margin-top: 16px;
}

.work__index{
  grid-area: index;
  align-self: start;
  padding-top: 3px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #8ba4c0;
  font-variant-numeric: tabular-nums;
}

.work__title{
  grid-area: title;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 700;
  letter-spacing: -.02em;
  transition: color .25s;
}

.work__tag{
  grid-area: tag;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8ba4c0;
}

.work__arrow{
  grid-area: arrow;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}

.work:hover .work__title,
.work:focus-visible .work__title{ color: var(--blue-deep); }

.work:hover .work__arrow,
.work:focus-visible .work__arrow{
  transform: translate(3px, -3px);
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}

/* ---------- CTA-полоса ---------- */

.cta-band{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  margin: clamp(34px, 5vw, 64px) 0 clamp(40px, 6vw, 76px);
  padding: clamp(30px, 4.5vw, 58px);
  border-radius: 30px;
  background: linear-gradient(115deg, #ecf4ff 0%, #e9f8fd 55%, #eef2ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 20px 50px -34px rgba(24, 70, 150, .5);
}

.cta-band__orb{
  position: absolute;
  right: -70px;
  top: -110px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(120, 200, 255, .5), rgba(120, 200, 255, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
}

.cta-band__text{ position: relative; max-width: 48ch; }

.cta-band h2{
  font-size: clamp(23px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 800;
}

.cta-band p{
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cta-band .btn{ position: relative; }

/* ---------- Страница заказа ---------- */

.page-hero{
  padding-top: clamp(46px, 7vw, 82px);
  padding-bottom: 8px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1{
  margin-top: 20px;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 800;
}

.page-hero h1 em{
  font-style: normal;
  background: linear-gradient(100deg, #2f66d8 0%, #4d9bfa 48%, #64cdf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.order-grid{
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: start;
  gap: clamp(28px, 4.4vw, 60px);
  padding-top: clamp(34px, 4.6vw, 58px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.order-sub{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #5a7ca4;
}

.contact-list{
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 19px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px -28px rgba(19, 58, 122, .7);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s, background .3s;
}

.contact--primary{
  border-color: rgba(61, 123, 246, .24);
  background: linear-gradient(120deg, rgba(75, 141, 255, .13), rgba(125, 216, 236, .16));
}

.contact:hover{
  transform: translateY(-2px);
  border-color: rgba(61, 123, 246, .38);
  box-shadow: 0 24px 44px -26px rgba(19, 58, 122, .55);
}

.contact__icon{
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(48, 110, 230, .9);
}

.contact--secondary .contact__icon{
  background: #fff;
  color: var(--blue-deep);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px -18px rgba(19, 58, 122, .8);
}

.contact__body{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact__title{
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.contact__handle{
  font-size: 13.5px;
  font-weight: 600;
  color: #6486ad;
}

.contact__arrow{
  margin-left: auto;
  flex: none;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}

.contact:hover .contact__arrow{
  transform: translate(2px, -2px);
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}

.steps{
  margin-top: clamp(34px, 4.5vw, 52px);
}

.steps__title{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #5a7ca4;
  margin-bottom: 4px;
}

.step{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.steps__title + .step{ margin-top: 8px; }

.step__num{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.step h4{
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.step p{
  margin-top: 6px;
  font-size: 13.8px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- QR ---------- */

.order-qr{
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.qr-card{
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 30px;
  background: #060c17;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 44px 90px -44px rgba(10, 35, 80, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}

.qr-card__glow{
  position: absolute;
  left: 50%;
  top: 38%;
  width: 130%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, rgba(69, 137, 255, .3), rgba(89, 195, 238, .12) 40%, rgba(6, 12, 23, 0) 68%);
  pointer-events: none;
}

.qr-card__top{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.qr-card__label{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cfe1ff;
}

.qr-card__live{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #59c3ee;
  box-shadow: 0 0 0 4px rgba(89, 195, 238, .16);
  animation: pulse 3s ease-in-out infinite;
}

.qr-card__handle{
  font-size: 12.5px;
  font-weight: 600;
  color: #7f9cc0;
}

.qr-card__qr{
  position: relative;
  display: block;
  margin: 20px auto 0;
  max-width: 300px;
  border-radius: 20px;
  transition: transform .4s var(--ease), box-shadow .4s ease;
}

.qr-card__qr img{
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 26px 50px -22px rgba(0, 0, 0, .9);
}

.qr-card__qr:hover{
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(120, 180, 255, .35);
}

.qr-card__caption{
  position: relative;
  margin-top: 18px;
  text-align: center;
  font-size: 13.2px;
  line-height: 1.6;
  color: #94aed0;
  text-wrap: pretty;
}

.qr-card__link{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 13px 18px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: #e8f2ff;
  font-size: 14px;
  font-weight: 700;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}

.qr-card__link:hover{
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .24);
  transform: translateY(-1px);
}

/* ---------- Футер ---------- */

.site-footer{
  border-top: 1px solid var(--line);
  background: rgba(247, 251, 255, .6);
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 30px;
}

.footer__brand{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.footer__mark{
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.footer__year{
  font-weight: 500;
  color: var(--muted);
}

.footer__links{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.footer__links a{ transition: color .25s; }
.footer__links a:hover{ color: var(--blue-deep); }

.footer__dot{
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- Лайтбокс ---------- */

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden]{ display: none; }

.lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 27, .64);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fadeIn .3s ease both;
}

.lightbox__dialog{
  position: relative;
  width: min(1040px, 100%);
  animation: dialogIn .45s var(--ease) both;
}

@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }

@keyframes dialogIn{
  from{ opacity: 0; transform: translateY(16px) scale(.97); }
  to{ opacity: 1; transform: none; }
}

.lightbox__video{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #04090f;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1);
}

.lightbox__video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox__close{
  position: absolute;
  z-index: 2;
  top: -52px;
  right: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .25s, transform .3s var(--ease);
}

.lightbox__close:hover{
  background: rgba(255, 255, 255, .22);
  transform: rotate(90deg);
}

.lightbox__foot{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
}

.lightbox__caption{
  text-align: center;
  color: rgba(226, 238, 255, .78);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

.lightbox__yt{
  color: rgba(190, 214, 245, .58);
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(190, 214, 245, .22);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}

.lightbox__yt:hover{
  color: #e6f1ff;
  border-color: rgba(230, 241, 255, .6);
}

/* ---------- Появление при скролле ---------- */

[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-in{
  opacity: 1;
  transform: none;
}

/* параллакс первого экрана после появления */
.hero__art.is-in{
  transition: transform .5s var(--ease);
}

/* ---------- Адаптив ---------- */

@media (max-width: 1080px){
  .hero{ gap: 36px; }
  .work--2, .work--4{ margin-top: 36px; }
  .works__grid--all{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px){
  .hero{
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: clamp(40px, 8vw, 64px);
    padding-bottom: 10px;
  }
  .hero__art{
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 18px 30px 6px;
  }
  .hero h1{ max-width: 15ch; }
  .order-grid{ grid-template-columns: 1fr; }
  .order-qr{ position: static; order: -1; }
  .qr-card{ max-width: 460px; margin: 0 auto; }
}

@media (max-width: 760px){
  :root{ --header-h: 108px; }
  .header__inner{
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0 10px;
    row-gap: 8px;
  }
  .brand{ order: 1; }
  .header__tg{ order: 2; margin-left: auto; }
  .tabs{
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .tab{ flex: 1; text-align: center; padding: 9px 8px; font-size: 12.5px; }
}

@media (max-width: 720px){
  .shell{ padding-left: 20px; padding-right: 20px; }
  .header__inner{ gap: 10px; }
  .tab{ padding: 9px 8px; font-size: 12px; }
  .section-head{ flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head__note{ text-align: left; }
  .works__grid{ grid-template-columns: 1fr; }
  .work{ grid-column: auto !important; margin-top: 0 !important; }
  .work--1{ margin-top: 0; }
  .work__frame{ border-radius: 16px; }
  .cta-band{ padding: 28px 24px; border-radius: 24px; }
  .cta-band .btn{ width: 100%; }
  .lightbox{ padding: 16px; }
  .lightbox__close{ top: -48px; }
}

@media (max-width: 520px){
  .header__tg{ display: none; }
  .header__inner{ justify-content: space-between; }
  .brand{ margin-left: 0; }
  .tabs{ margin-left: auto; }
  .tab{ padding: 9px 6px; font-size: 11.5px; }
  .hero h1{ font-size: clamp(34px, 10.4vw, 46px); }
  .hero__actions .btn{ flex: 1 1 auto; }
  .art__badge{ font-size: 11px; padding: 9px 13px; }
  .qr-card{ padding: 18px; border-radius: 24px; }
  .qr-card__qr{ max-width: 250px; }
  .footer__inner{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px){
  .brand__name{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal]{ opacity: 1; transform: none; }
}
