.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.modal[aria-hidden="true"],
.lightbox[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.modal[aria-hidden="false"],
.lightbox[aria-hidden="false"] {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 960px) {
  .nav[data-nav].open,
  .nav[data-nav].is-open {
    background: #fff !important;
    opacity: 1 !important;
  }

  .site-header.is-menu-open {
    background: #fff !important;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .hero-visual {
    min-height: 500px !important;
    margin-top: -26px !important;
  }

  .hero-visual::before {
    width: 96% !important;
    height: 100% !important;
    right: -2% !important;
    bottom: 0 !important;
    background-position: center bottom !important;
  }

  .hero-visual .card-profile {
    left: 24px !important;
    top: 126px !important;
    bottom: auto !important;
  }
}

.modal[aria-hidden="false"],
.lightbox[aria-hidden="false"] {
  background: rgba(18, 20, 38, 0.48) !important;
}

.service-cta,
.contact-line {
  min-height: 44px !important;
}

@media (min-width: 961px) and (max-width: 1320px) {
  .header-inner {
    gap: 22px !important;
  }

  .brand-role {
    display: none !important;
  }

  .brand {
    min-width: 172px !important;
  }

  .nav {
    gap: 24px !important;
  }

  .header-actions .btn {
    min-height: 52px !important;
    padding-inline: 20px !important;
  }
}

.hero,
.hero-grid,
.hero-copy,
.hero-visual,
.hero-visual .metric-card {
  perspective: none !important;
  transform-style: flat !important;
  will-change: auto !important;
  filter: none !important;
}

.hero::before,
.hero::after,
.hero-visual::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

[data-depth],
.hero-copy[data-depth] {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.hero-visual .metric-card {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.process-card > div {
  display: grid !important;
  grid-template-columns: 32px 1fr !important;
  column-gap: 8px !important;
  align-items: start !important;
}

.process-card .step-num {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  line-height: 1.25 !important;
  padding-top: 2px !important;
}

.process-card b {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin-top: 0 !important;
  line-height: 1.2 !important;
}

.process-card p {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

.hero-visual .card-profile {
  left: 34% !important;
  bottom: 76.1% !important;
  width: 262px !important;
  padding: 20px 22px 17px !important;
  overflow: visible !important;
  animation: none !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 12px 14px 0 rgba(116, 92, 248, 0.1),
    0 24px 52px -18px rgba(71, 61, 140, 0.3),
    0 2px 5px rgba(15, 17, 43, 0.06) !important;
}

.hero-visual .card-profile::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -13px;
  left: calc(50% - 41px);
  width: 82px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.74),
    rgba(230, 225, 255, 0.5)
  );
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 7px 18px rgba(64, 54, 135, 0.12);
  rotate: -5deg;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.hero-visual .card-profile::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 42px;
  bottom: -16px;
  height: 26px;
  border-radius: 999px;
  background: rgba(116, 92, 248, 0.13);
  filter: blur(10px);
  z-index: -1;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #745cf8 8%, #ba7dea 52%, #ff956f 100%);
  box-shadow: 0 10px 22px rgba(116, 92, 248, 0.28);
  flex: 0 0 auto;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.profile-meta b {
  color: #3c4255;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.profile-meta span {
  color: #8c93a6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.15;
}

.profile-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 13px;
}

.profile-stat strong {
  color: transparent;
  background: linear-gradient(90deg, #8b66ff, #d77cad 72%, #ff956f);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -0.055em;
  font-size: 34px;
  font-weight: 900;
  line-height: 0.95;
}

.profile-stat span {
  color: #6b7284;
  margin-top: 0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.profile-spark {
  display: block;
  width: 70%;
  height: 34px;
  margin: 7px 0 0 64px;
  overflow: visible;
}

.profile-bubbles .bubble {
  transform-box: fill-box;
  transform-origin: center;
  animation: profileBubbleCount 2.8s cubic-bezier(0.2, 0.86, 0.24, 1) infinite;
}

.profile-bubbles .bubble text {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.profile-bubbles .b1 {
  animation-delay: 0s;
}

.profile-bubbles .b2 {
  animation-delay: 0.16s;
}

.profile-bubbles .b3 {
  animation-delay: 0.32s;
}

.profile-bubbles .b4 {
  animation-delay: 0.48s;
  filter: drop-shadow(0 6px 10px rgba(255, 149, 111, 0.28));
}

.hero-visual .card-profile .profile-spark.profile-step path {
  stroke-dasharray: 18 220 !important;
  stroke-dashoffset: 238 !important;
  animation: profileStepGrowth 2.8s cubic-bezier(0.18, 0.86, 0.28, 1) infinite !important;
}

.hero-visual .card-profile .profile-spark.profile-step circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: profileDotPop 2.8s cubic-bezier(0.18, 0.86, 0.28, 1) infinite !important;
}

@keyframes profileStepGrowth {
  0% {
    opacity: 0.28;
    stroke-dasharray: 0 238;
    stroke-dashoffset: 238;
  }

  18% {
    opacity: 1;
    stroke-dasharray: 38 200;
    stroke-dashoffset: 190;
  }

  38% {
    stroke-dasharray: 82 156;
    stroke-dashoffset: 142;
  }

  58% {
    stroke-dasharray: 132 106;
    stroke-dashoffset: 88;
  }

  76%,
  100% {
    opacity: 1;
    stroke-dasharray: 238 0;
    stroke-dashoffset: 0;
  }
}

@keyframes profileDotPop {
  0%,
  60% {
    opacity: 0;
    scale: 0.25;
  }

  72% {
    opacity: 1;
    scale: 1.34;
  }

  82% {
    scale: 0.86;
  }

  92%,
  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes profileBubbleCount {
  0% {
    opacity: 0.22;
    scale: 0.38;
    translate: 0 10px;
  }

  24% {
    opacity: 1;
    scale: 1.12;
    translate: 0 -2px;
  }

  38% {
    scale: 0.92;
    translate: 0 1px;
  }

  54%,
  100% {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

.hero-subtitle {
  max-width: 520px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.services-lead,
.shoot-lead {
  max-width: 390px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  text-align: right !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.services-head,
.shoot-head {
  align-items: flex-end !important;
}

.services-head h2 .grad {
  display: inline !important;
  background: linear-gradient(90deg, #745cf8, #9e7dff 42%, #d87caf 72%, #ff956f) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

#services,
#cases,
#process,
#shoot,
#contacts {
  scroll-margin-top: calc(var(--header) + 8px) !important;
}

.cta h2,
.cta h2 span,
.cta h2 .grad {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  background-image: none !important;
}

.cta h2 {
  font-size: clamp(28px, 3.8vw, 46px) !important;
  line-height: 1.02 !important;
}

.cta-box {
  gap: 24px !important;
}

.cta-contact {
  gap: 14px !important;
}

.cta-contact .contact-line {
  min-height: 38px !important;
}

.process-card > div {
  display: block !important;
  min-width: 0 !important;
}

.process-card .step-num,
.process-card b,
.process-card p {
  display: block !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

.process-card .step-num {
  margin: 0 0 5px !important;
  padding-top: 0 !important;
  line-height: 1 !important;
}

.process-card b {
  margin: 0 !important;
  line-height: 1.18 !important;
}

.process-card p {
  margin-top: 6px !important;
}

.process-grid {
  align-items: stretch !important;
}

.process-card {
  align-items: start !important;
  height: 100% !important;
}

.step-icon {
  width: 58px !important;
  height: 58px !important;
  margin-top: 0 !important;
  border-radius: 18px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 241, 255, 0.86)),
    linear-gradient(135deg, rgba(116, 92, 248, 0.16), rgba(255, 149, 111, 0.1)) !important;
  border: 1px solid rgba(116, 92, 248, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(84, 73, 158, 0.14) !important;
}

.step-icon svg {
  width: 31px !important;
  height: 31px !important;
  stroke-width: 2.15px !important;
  color: var(--violet) !important;
}

.step-icon svg * {
  vector-effect: non-scaling-stroke;
}

.process-card b {
  min-height: 40px !important;
}

.shoot-cell.mobile-extra {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .profile-spark path,
  .profile-spark circle,
  .profile-bubbles .bubble {
    animation: none !important;
    opacity: 1 !important;
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    scale: 1 !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--header) + 6px) !important;
  }

  .hero-copy {
    padding-top: 4px !important;
  }

  .hero-title {
    max-width: 100% !important;
    font-size: clamp(35px, 10.2vw, 43px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
  }

  .hero-subtitle {
    max-width: 96% !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .services-lead,
  .shoot-lead {
    display: none !important;
    max-width: min(82%, 320px) !important;
    margin-left: auto !important;
    margin-right: 2px !important;
    text-align: right !important;
    font-size: 12.5px !important;
    line-height: 1.42 !important;
  }

  .cta h2 {
    font-size: clamp(23px, 6.4vw, 29px) !important;
    line-height: 1.08 !important;
  }

  .services-head {
    gap: 10px !important;
  }

  .hero-stats {
    gap: 9px !important;
    margin-top: 18px !important;
  }

  .mini-stat {
    min-height: 94px !important;
    padding: 13px 14px !important;
  }

  .mini-stat span {
    font-size: 10.5px !important;
    line-height: 1.22 !important;
  }

  .hero-visual {
    min-height: 430px !important;
    margin-top: -34px !important;
  }

  .hero-visual::before {
    width: 118% !important;
    height: 100% !important;
    right: -15% !important;
    bottom: 0 !important;
    background-position: center bottom !important;
  }

  .hero-visual .card-views,
  .hero-visual .card-engage,
  .hero-visual .card-reels,
  .hero-visual .card-micro2 {
    display: none !important;
  }

  .hero-visual .card-profile {
    display: block !important;
    position: absolute !important;
    left: 10px !important;
    top: 40px !important;
    bottom: auto !important;
    width: 202px !important;
    padding: 12px 13px 11px !important;
    border-radius: 12px !important;
  }

  .process-grid {
    gap: 12px !important;
    align-items: stretch !important;
  }

  .process-card {
    grid-template-columns: 56px 1fr !important;
    align-items: start !important;
    min-height: 132px !important;
    padding: 14px !important;
    gap: 12px !important;
  }

  .step-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 17px !important;
  }

  .step-icon svg {
    width: 30px !important;
    height: 30px !important;
  }

  .process-card > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 12px 40px 1fr !important;
    row-gap: 5px !important;
    align-content: start !important;
    min-width: 0 !important;
  }

  .process-card .step-num {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    line-height: 1 !important;
  }

  .process-card b {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 40px !important;
    margin: 0 !important;
    line-height: 1.18 !important;
  }

  .process-card p {
    grid-column: 1 !important;
    grid-row: 3 !important;
    margin-top: 0 !important;
  }

  .cases {
    padding-top: 30px !important;
  }

  .case-filters {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 6px !important;
    scroll-padding-inline: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .case-filters .filter-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
  }

  .case-list {
    gap: 16px !important;
  }

  .case-card {
    padding: 10px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  .case-intro {
    gap: 0 !important;
  }

  .case-media {
    order: -1 !important;
    width: calc(100% + 20px) !important;
    height: 190px !important;
    margin: -10px -10px 18px !important;
    border-radius: 20px 20px 14px 14px !important;
    align-self: stretch !important;
  }

  .case-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .case-info {
    padding: 0 8px 4px !important;
  }

  .shoot-cell.mobile-extra {
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 160px !important;
  }

  .cta {
    padding-top: 20px !important;
  }

  .cta-box {
    gap: 16px !important;
    padding: 22px 18px !important;
  }

  .cta-box p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-top: 14px !important;
  }

  .cta-actions {
    gap: 10px !important;
  }

  .cta-contact {
    gap: 8px !important;
    margin-top: 4px !important;
    padding-top: 14px !important;
  }

  .cta-contact .contact-line {
    min-height: 34px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .hero-visual .card-profile::after {
    left: 28px;
    right: 28px;
    bottom: -13px;
    height: 20px;
  }

  .hero-visual .card-profile::before {
    top: -11px;
    width: 68px;
    height: 20px;
    border-radius: 4px;
  }

  .profile-head {
    gap: 10px;
  }

  .profile-avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .profile-meta b {
    font-size: 11px !important;
  }

  .profile-meta span {
    font-size: 8.5px !important;
  }

  .profile-stat {
    gap: 5px;
    margin-top: 12px;
  }

  .profile-stat strong {
    font-size: 29px !important;
  }

  .profile-stat span {
    font-size: 10px !important;
  }

  .profile-spark {
    width: 66%;
    height: 28px;
    margin: 6px 0 0 50px;
  }
}

@media (max-width: 420px) {
  .hero-visual .card-profile {
    left: 10px !important;
    top: 40px !important;
    bottom: auto !important;
    width: 198px !important;
  }

  .hero-title {
    font-size: clamp(34px, 10.4vw, 41px) !important;
  }
}
