:root {
  --bg: #050505;
  --bg-soft: #111111;
  --white: #f4f4f4;
  --muted: #9a9a9a;
  --line: rgba(244, 244, 244, 0.14);
  --accent: #e10600;
  --accent-ink: #ffffff;
  --radius: 4px;
  --btn-radius: 20px;
  --header: 76px;
  --font: Unbounded, Arial, sans-serif;
  --font-brand: "Black Ops One", Unbounded, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background:
    radial-gradient(1200px 780px at 8% -12%, rgba(225, 6, 0, 0.18), transparent 58%),
    radial-gradient(900px 640px at 100% 8%, rgba(225, 6, 0, 0.1), transparent 52%),
    radial-gradient(700px 520px at 50% 120%, rgba(244, 244, 244, 0.05), transparent 58%),
    var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 88px;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
em {
  font-style: normal;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 5.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.6rem);
  max-width: 22ch;
}

.about h2,
.services h2,
.process h2 {
  max-width: min(38ch, 100%);
}

.works h2 {
  max-width: min(46ch, 100%);
}

h3 {
  font-size: 1.15rem;
  font-weight: 500;
}

p {
  margin: 0;
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.92em;
  color: var(--accent);
}

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

.atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}

.atmosphere__orb--a {
  top: -12%;
  left: -8%;
  width: min(46vw, 520px);
  height: min(46vw, 520px);
  background: rgba(225, 6, 0, 0.28);
  animation: atmosphere-drift-a 22s ease-in-out infinite;
}

.atmosphere__orb--b {
  top: 28%;
  right: -12%;
  width: min(42vw, 460px);
  height: min(42vw, 460px);
  background: rgba(225, 6, 0, 0.16);
  animation: atmosphere-drift-b 28s ease-in-out infinite;
}

.atmosphere__orb--c {
  bottom: -18%;
  left: 28%;
  width: min(50vw, 580px);
  height: min(50vw, 580px);
  background: rgba(244, 244, 244, 0.06);
  animation: atmosphere-drift-c 26s ease-in-out infinite;
}

@keyframes atmosphere-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8%, 14%) scale(1.12);
  }
}

@keyframes atmosphere-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-12%, 10%) scale(1.08);
  }
}

@keyframes atmosphere-drift-c {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10%, -12%) scale(1.1);
  }
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) clamp(16px, 4vw, 56px) 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}

.logo,
.hero__brand,
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
  flex-shrink: 0;
}

.logo img,
.hero__mark,
.footer__logo {
  display: block;
  width: 1.55em;
  height: auto;
  margin-right: -0.06em;
  filter: drop-shadow(0 0 10px rgba(255, 10, 10, 0.28));
  transform-origin: 50% 60%;
  animation: logo-float 3.8s ease-in-out infinite;
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.logo:hover img,
.hero__brand:hover .hero__mark,
.footer__brand:hover .footer__logo {
  animation: none;
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 16px rgba(255, 10, 10, 0.55));
}

.logo {
  font-size: 1.2rem;
}

.logo__word {
  font-family: var(--font-brand);
  font-size: calc(1em + 2pt);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 0.06em;
}

.nav {
  display: flex;
  gap: clamp(12px, 1.8vw, 22px);
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 42px;
  padding: 1px 22px 0;
  border-radius: var(--btn-radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: filter 0.25s var(--ease), transform 0.35s var(--ease);
}

.header__cta:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  position: relative;
  border-radius: var(--btn-radius);
}

.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-btn span:first-child {
  top: 16px;
}

.menu-btn span:last-child {
  top: 24px;
}

.menu-btn.is-open span:first-child {
  top: 20px;
  transform: rotate(40deg);
}

.menu-btn.is-open span:last-child {
  top: 20px;
  transform: rotate(-40deg);
}

.hero,
.about,
.services,
.works,
.process,
.cta {
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: calc(100svh - var(--header));
  padding-top: clamp(16px, 2.4vw, 28px);
  padding-bottom: clamp(20px, 3vw, 36px);
}

.hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: stretch;
  gap: clamp(28px, 3.2vw, 48px);
  min-height: 0;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: none;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 4.15rem);
}

.hero h1 em {
  display: block;
  margin-top: 0.12em;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero h1 em,
.cta h2 em {
  color: var(--accent);
  font-weight: 700;
}

.hero__lead,
.about__text,
.cta__lead,
.card p,
.process__list span {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 52ch;
  font-weight: 400;
}

.hero__lead {
  margin-top: 18px;
}

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

.hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
}

.ico-sprite {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ico {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  overflow: visible;
  color: inherit;
  fill: currentColor;
}

.ico-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, #3a0000);
  border-radius: 50%;
  color: #ffffff;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.28), transparent 46%),
    var(--accent);
  box-shadow:
    0 10px 22px rgba(225, 6, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.ico-tile .ico {
  width: 22px;
  height: 22px;
  color: #ffffff;
  fill: #ffffff;
}

.hero__facts li:hover .ico-tile,
.offer:hover .ico-tile,
.card:hover .ico-tile,
.process__list li:hover .ico-tile {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 14px 28px rgba(225, 6, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero__facts li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg) 55%, #0c0c0c);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.hero__facts li:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: 0 0 28px rgba(225, 6, 0, 0.18);
}

.hero__facts strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.fact__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 1px 22px 0;
  border-radius: var(--btn-radius);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn .ico {
  width: 16px;
  height: 16px;
  box-sizing: content-box;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.btn--ghost .ico {
  background: rgba(244, 244, 244, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--accent:hover {
  box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28);
}

.btn--ghost {
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}

.hero__photo {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 0;
  align-self: stretch;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
  border-radius: 28px;
  background: #111;
  border: 1px solid var(--line);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 36%;
  transform: scale(1.72);
  transform-origin: 56% 34%;
  animation: photo-in 1.2s var(--ease) 0.12s both;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.72));
}

.hero__photo figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
}

.hero__offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding-top: 22px;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: visible;
  padding: 38px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0c0c0c;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), background 0.45s var(--ease);
}

.offer .ico-tile,
.card .ico-tile,
.process__list .ico-tile {
  position: absolute;
  top: -22px;
  left: 20px;
  z-index: 3;
}

.offer:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: #101010;
}

.offer__top,
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer__num,
.card__num {
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.offer h3 {
  font-size: 1rem;
  text-transform: none;
}

.offer p {
  color: var(--muted);
  font-size: 0.78rem;
  max-width: none;
  margin: 0;
}

.offer strong {
  margin-top: auto;
  padding-top: 8px;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

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

@keyframes line-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

@keyframes footer-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-6%);
  }
}

@keyframes footer-bar {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 200% 0;
  }
}

@keyframes shine {
  from {
    left: -40%;
  }
  to {
    left: 120%;
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-2px);
  }
}

@keyframes footer-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 12px #050505,
      0 40px 90px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 12px #050505,
      0 40px 90px rgba(225, 6, 0, 0.18);
  }
}

.hero__copy > *,
.hero__facts,
.hero__photo,
.hero__offers {
  opacity: 0;
  animation: rise 0.85s var(--ease) forwards;
}

.hero__copy > :nth-child(1) {
  animation-delay: 0.05s;
}

.hero__copy > :nth-child(2) {
  animation-delay: 0.16s;
}

.hero__copy > :nth-child(3) {
  animation-delay: 0.28s;
}

.hero__copy > :nth-child(4) {
  animation-delay: 0.4s;
}

.hero__copy > :nth-child(5) {
  animation-delay: 0.5s;
}

.hero__photo {
  animation-delay: 0.28s;
}

.hero__facts {
  animation-delay: 0.2s;
}

.hero__offers {
  animation-delay: 0.56s;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal .card,
.reveal .stats li,
.reveal .case,
.reveal .process__list li {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    background 0.45s var(--ease);
}

.reveal.is-in .card,
.reveal.is-in .stats li,
.reveal.is-in .case,
.reveal.is-in .process__list li {
  opacity: 1;
  transform: none;
}

.reveal.is-in .card:hover,
.reveal.is-in .stats li:hover,
.reveal.is-in .process__list li:hover {
  transform: translateY(-5px);
  transition-delay: 0s;
}

.reveal.is-in .case:hover {
  transform: translateY(-4px);
  transition-delay: 0s;
}

.reveal.is-in .card:nth-child(2),
.reveal.is-in .stats li:nth-child(2),
.reveal.is-in .case:nth-child(2),
.reveal.is-in .process__list li:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal.is-in .card:nth-child(3),
.reveal.is-in .stats li:nth-child(3),
.reveal.is-in .case:nth-child(3),
.reveal.is-in .process__list li:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal.is-in .case:nth-child(4),
.reveal.is-in .process__list li:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal.is-in .case:nth-child(5) {
  transition-delay: 0.32s;
}

.reveal.is-in .case:nth-child(6) {
  transition-delay: 0.4s;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
}

.stats li,
.card,
.process__list li {
  position: relative;
  overflow: visible;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-soft);
  transition:
    border-color 0.45s var(--ease),
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    background 0.45s var(--ease);
}

.stats li {
  padding: 20px 20px;
}

.stats li::after,
.card::after,
.process__list li::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  z-index: 1;
  width: 38%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-18deg);
}

.stats li:hover,
.card:hover,
.process__list li:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: #101010;
  transform: translateY(-5px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stats li:hover::after,
.card:hover::after,
.process__list li:hover::after {
  animation: shine 0.9s var(--ease);
}

.stats strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: none;
}

.stats span {
  color: var(--muted);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 22px;
}

.card {
  padding: 40px 22px 24px;
  min-height: 0;
}

.card__top {
  margin-bottom: 16px;
}

.card__num {
  font-size: 0.72rem;
}

.card h3 {
  margin-bottom: 12px;
  text-transform: uppercase;
}

.about,
.services,
.works,
.process,
.cta {
  position: relative;
  overflow: hidden;
}

.services,
.process {
  overflow: visible;
}

.works {
  overflow: visible;
}

.about::before,
.services::before,
.works::before,
.process::before,
.cta::before {
  content: "";
  position: absolute;
  width: min(560px, 62vw);
  height: min(560px, 62vw);
  right: -14%;
  top: -12%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.12), transparent 68%);
  pointer-events: none;
}

.section-mark {
  position: absolute;
  right: clamp(12px, 4vw, 56px);
  top: 10px;
  z-index: 0;
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.75;
  color: rgba(244, 244, 244, 0.06);
  letter-spacing: 0.04em;
  pointer-events: none;
  user-select: none;
}

.works::after {
  content: "";
  position: absolute;
  width: min(420px, 50vw);
  height: min(420px, 50vw);
  left: -10%;
  bottom: -6%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.1), transparent 70%);
  pointer-events: none;
}

.about > *:not(.section-mark),
.services > *:not(.section-mark),
.works > *:not(.section-mark),
.process > *:not(.section-mark),
.cta > *:not(.section-mark) {
  position: relative;
  z-index: 1;
}

.works__head {
  max-width: min(36ch, 100%);
  margin-bottom: 24px;
}

.cases {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  background: #0c0c0c;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.case:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.case__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.case:hover .case__media img {
  transform: scale(1.05);
}

.case__go {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.72);
  color: var(--white);
  opacity: 0;
  transform: translate(4px, -4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.case__go .ico {
  width: 14px;
  height: 14px;
}

.case:hover .case__go {
  opacity: 1;
  transform: none;
}

.case__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.case__tag {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case__body h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.03em;
}

.case__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: none;
}

.process__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 0 0;
  margin: 0;
  counter-reset: step;
}

.process__list li {
  counter-increment: step;
  padding: 38px 18px 22px;
}

.process__list li::before {
  content: counter(step, decimal-leading-zero);
  position: relative;
  z-index: 2;
  display: block;
  margin-left: auto;
  width: fit-content;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.process__list strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.cta h2 {
  max-width: 22ch;
}

.cta__lead {
  margin: 16px 0 24px;
}

.messengers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 42rem;
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 1px 20px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0c0c0c;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.messenger svg,
.messenger .ico {
  width: 16px;
  height: 16px;
  box-sizing: content-box;
  padding: 7px;
  border-radius: 50%;
  background: rgba(244, 244, 244, 0.08);
}

.messenger:hover svg,
.messenger:hover .ico {
  background: rgba(255, 255, 255, 0.16);
}

.messenger:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px rgba(225, 6, 0, 0.22);
}

.cta {
  padding-bottom: clamp(32px, 5vw, 52px);
}

.footer {
  padding: 0 clamp(16px, 3vw, 40px) 28px;
  background: var(--bg);
}

.footer__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 48px) 20px;
  border-radius: 32px;
  background: var(--white);
  color: #111111;
  box-shadow:
    0 0 0 12px #050505,
    0 40px 90px rgba(0, 0, 0, 0.55);
  animation: footer-glow 6s ease-in-out infinite;
}

.footer__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), #ff5a4a, var(--accent));
  background-size: 200% 100%;
  animation: footer-bar 4.5s linear infinite;
}

.footer__intro {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.footer__brand {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  color: #111111;
}

.footer__logo {
  width: 1.2em;
  margin-right: -0.08em;
}

.footer__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #111111;
}

.footer__tag {
  margin: 0;
  max-width: 42ch;
  color: #5c5c5c;
  font-size: 0.92rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.footer__nav,
.footer__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer__nav a,
.footer__messengers a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111111;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__messengers .ico,
.footer__up .ico {
  width: 14px;
  height: 14px;
}

.footer__nav a:hover,
.footer__messengers a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer__up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #111111;
  border-radius: var(--btn-radius);
  background: #111111;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.footer__up:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer__copy {
  margin: 0;
  color: #6a6a6a;
  font-size: 0.78rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 10px 16px;
  border-radius: var(--btn-radius);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.nav-open {
  overflow: hidden;
}

@media (hover: none) {
  .case__go {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) {
  .hero__main {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
}

@media (max-width: 1200px) {
  .services__grid,
  .process__list,
  .cases {
    grid-template-columns: 1fr 1fr;
  }

  .hero__main {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
  }
}

@media (max-width: 1024px) {
  .hero__facts {
    grid-template-columns: 1fr 1fr;
  }

  .hero__facts li:last-child,
  .hero__offers > :last-child {
    grid-column: 1 / -1;
  }

  .hero__offers {
    grid-template-columns: 1fr 1fr;
  }

  .process__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header: 64px;
  }

  .header {
    gap: 10px;
  }

  .logo {
    flex: 1;
    min-width: 0;
    margin-right: 0;
  }

  .nav {
    margin-left: 0;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header) + env(safe-area-inset-top, 0px)) 0 0;
    z-index: 32;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: 20px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    font-size: 1.12rem;
    color: var(--white);
    padding: 12px 0;
  }

  .nav a::after {
    display: none;
  }

  .header__cta {
    margin-left: 0;
    height: 38px;
    padding: 1px 16px 0;
    font-size: 0.64rem;
  }

  .menu-btn {
    display: block;
    margin-left: 0;
  }

  .hero,
  .about,
  .services,
  .works,
  .process,
  .cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: auto;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .hero__main {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero__copy,
  .hero__photo {
    max-width: none;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .hero__lead {
    margin-top: 14px;
    font-size: 0.86rem;
    max-width: none;
  }

  .hero__actions {
    margin-top: 18px;
  }

  .hero__actions .btn {
    flex: 1 1 160px;
  }

  .hero__photo {
    min-height: 0;
    order: -1;
  }

  .hero__frame {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    max-height: min(42vw, 300px);
    border-radius: 22px;
  }

  .hero__frame img {
    transform: scale(1.45);
    transform-origin: 56% 28%;
  }

  .hero__photo figcaption {
    left: 14px;
    bottom: 12px;
    font-size: 0.8rem;
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .hero__facts li,
  .hero__facts li:last-child,
  .hero__offers > :last-child {
    grid-column: auto;
  }

  .hero__facts li {
    gap: 12px;
    padding: 14px 14px 14px 12px;
  }

  .hero__offers {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .about__grid,
  .services__grid,
  .stats,
  .process__list,
  .footer__cols {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cases {
    grid-template-columns: 1fr 1fr;
  }

  h2 {
    max-width: none;
  }

  .cta h2 {
    max-width: none;
  }

  .messengers {
    max-width: none;
  }

  .footer {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .footer__panel {
    border-radius: 24px;
    padding: 24px 18px 16px;
    box-shadow:
      0 0 0 8px #050505,
      0 24px 50px rgba(0, 0, 0, 0.45);
  }

  .footer__cols {
    gap: 16px;
  }

  .footer__up {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero__frame {
    max-height: 220px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .cases {
    grid-template-columns: 1fr;
  }

  .messengers {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    letter-spacing: 0.1em;
    font-size: 0.62rem;
  }

  .section-mark {
    font-size: 2.2rem;
    top: 6px;
    right: 12px;
  }

  .offer,
  .card,
  .process__list li {
    padding-left: 16px;
    padding-right: 16px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 400px) {
  .logo {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero,
  .about,
  .services,
  .works,
  .process,
  .cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ico-tile {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .work img,
  .case img,
  .card,
  .stats li,
  .process__list li,
  .messenger,
  .atmosphere__orb,
  .atmosphere__orb--a,
  .atmosphere__orb--b,
  .atmosphere__orb--c,
  .hero__facts,
  .hero__facts li,
  .hero__photo,
  .hero__frame img,
  .hero__frame::after,
  .reveal,
  .reveal .card,
  .reveal .stats li,
  .reveal .case,
  .reveal .process__list li,
  .footer__panel,
  .footer__panel::before,
  .logo img,
  .hero__mark,
  .footer__logo {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
