:root {
  --section-space-top: clamp(104px, 12vw, 152px);
  --section-space-bottom: clamp(112px, 12vw, 168px);
}

.page-main {
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding: 0;
  border-top: none;
}

.pv-shell {
  position: relative;
  z-index: 2;
  padding: var(--section-space-top) 0 var(--section-space-bottom);
  overflow: hidden;
}

.pv-shell--overlap {
  z-index: 3;
}

.pv-shell--light {
  background: var(--pv-neural-fog);
  color: var(--pv-rich-carbon);
}

.pv-shell--dark {
  background: var(--pv-rich-carbon);
  color: var(--pv-neural-fog);
}

.site-header {
  padding: 12px 16px 0;
  pointer-events: auto;
}


.site-header.is-scrolled .site-nav {
  background: rgba(17, 17, 17, 0.94);
  border-color: rgba(231, 231, 231, 0.16);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 0 14px 0 10px;
  min-height: 40px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-brand-mark {
  height: auto;
}

.site-brand-mark--full {
  width: 115px;
}

.site-brand-mark--symbol {
  display: none;
  width: 30px;
}

.nav-links {
  margin-left: auto;
  gap: 0;
}

.nav-link {
  color: rgba(231, 231, 231, 0.72);
  transition: color 0.4s var(--pv-easing);
}

.nav-link:hover {
  color: var(--pv-neural-fog);
}

.nav-link .corner-accent,
.pv-button .corner-accent {
  color: currentColor;
}

.section-label {
  margin: 0 0 14px;
  font: 500 11px / 1.3 var(--pv-font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.54);
}

.pv-shell--dark .section-label {
  color: rgba(231, 231, 231, 0.58);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1s var(--pv-easing),
    transform 1s var(--pv-easing);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.4s;
}

.pv-section-head,
.pnld-head {
  display: flex;
  gap: 40px 32px;
  align-items: stretch;
  margin-bottom: clamp(56px, 7vw, 96px);
  justify-content: space-between;
}

.pv-section-head--centered {
  justify-content: center;
  text-align: center;
}

.pv-section-copy,
.pv-section-side,
.pnld-copy {
  display: flex;
  flex-direction: column;
}

.pv-title {
  margin: 0;
  font-family: var(--pv-font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.pv-title--xl {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.1;
}

.pv-title--lg {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
}

.pv-title--hero {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1.1;
}

.pv-intro {
  margin: 35px 0 32px;
  max-width: 52ch;
  font: 400 16px / 1.65 var(--pv-font-display);
  color: rgba(17, 17, 17, 0.68);
  text-wrap: pretty;
}

.pv-intro--dark {
  color: rgba(231, 231, 231, 0.72);
}

.pv-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 40px;
  padding: 0 20px;
  color: var(--pv-rich-carbon);
  text-decoration: none;
  text-transform: uppercase;
}

.pv-button:hover {
  animation: glitch-hover 0.3s linear;
}

.pv-button__label {
  position: relative;
  display: flex;
  overflow: hidden;
  font: 500 12px / 1.25 var(--pv-font-mono);
  letter-spacing: 0.08em;
}

.pv-button__label > span:first-child {
  display: block;
  transition: transform 0.4s var(--pv-easing);
}

.pv-button__label > span:last-child {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.4s var(--pv-easing);
}

.pv-button:hover .pv-button__label > span:first-child {
  transform: translateY(-100%);
}

.pv-button:hover .pv-button__label > span:last-child {
  transform: translateY(0);
}

.pv-button--light {
  color: var(--pv-neural-fog);
}

.pv-button--dark {
  color: var(--pv-rich-carbon);
}

.studio-gallery {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.authority-grid,
.testimonial-grid {
  display: grid;
  gap: 20px;
}

.studio-swiper {
  overflow: visible;
  padding-bottom: 12px;
  width: 100%;
}

.studio-swiper .swiper-slide {
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}

.studio-swiper .swiper-slide-active {
  opacity: 1;
  cursor: default;
}

.studio-swiper.swiper-grab-cursor {
  cursor: grab;
}

.studio-swiper.swiper-grab-cursor:active {
  cursor: grabbing;
}

.studio-card {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  scroll-snap-align: start;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-card__visual {
  position: relative;
  aspect-ratio: 0.58;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  transform-origin: center center;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.studio-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.studio-card__body {
  padding: 0 8px;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}



.studio-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.studio-gallery__control {
  appearance: none;
  width: 40px;
  height: 40px;
  border: 1px solid #f6f6f6;
  border-radius: 8px;
  padding: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.8);
  color: var(--fg-soft);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.studio-gallery__control svg {
  transition: transform 0.25s ease;
  color: #000;
}

.studio-gallery__control:hover:not(.swiper-button-disabled) {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(209, 209, 209, 0.4);
}

.studio-gallery__control[data-studio-gallery-prev]:hover:not(.swiper-button-disabled) svg {
  transform: translateX(-2px);
}

.studio-gallery__control[data-studio-gallery-next]:hover:not(.swiper-button-disabled) svg {
  transform: translateX(2px);
}

.studio-gallery__control:active:not(.swiper-button-disabled) {
  transform: scale(0.94);
}

.studio-gallery__control.swiper-button-disabled {
  cursor: default;
  opacity: 0.3;
  pointer-events: none;
}

/* .studio-gallery__control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
} */

.authority-grid,
.testimonial-grid {
  display: grid;
}

.authority-card,
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 280px;
  padding: 28px 24px 24px;
  border-radius: 10px;
  overflow: hidden;
}

.authority-card__index,
.testimonial-card__index,
.pnld-unit,
.atmos-badge,
.footer-links-label,
.footer-copy {
  font: 500 11px / 1.3 var(--pv-font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.authority-card__title,
.footer-title {
  margin: 0;
  font-family: var(--pv-font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.authority-card__copy,
.testimonial-card__quote,
.footer-sub {
  margin: 0;
  font-family: var(--pv-font-display);
  text-wrap: pretty;
}

.studio-card__copy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.46;
  letter-spacing: -0.016em;
  color: rgba(29, 29, 31, 0.66);
  text-wrap: pretty;
}

.studio-card__copy strong {
  color: #1d1d1f;
  font-weight: 700;
}

.authority-card__copy {
  font-size: 15px;
  line-height: 1.55;
}

.clients-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--pv-line-dark);
  border-left: 1px solid var(--pv-line-dark);
}

.clients-section {
  border-top: 1px solid rgba(231, 231, 231, 0.08);
}

.client-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 176px;
  padding: 28px;
  border-right: 1px solid var(--pv-line-dark);
  border-bottom: 1px solid var(--pv-line-dark);
  color: rgba(231, 231, 231, 0.64);
  text-align: center;
  transition:
    color 0.4s var(--pv-easing),
    background 0.4s var(--pv-easing);
}

.client-logo {
  display: block;
  max-height: 54px;
  max-width: 148px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.4s var(--pv-easing);
  filter: brightness(0) invert(1);
}

.client-tile:hover .client-logo {
  opacity: 0.85;
}

.client-tile span {
  font: 500 11px / 1.2 var(--pv-font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.client-tile:hover {
  background: rgba(231, 231, 231, 0.04);
  color: var(--pv-neural-fog);
}

/* ── Focus section ─────────────────────────────────────────── */

.focus-section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.focus-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.focus-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1254px;
  margin: 0 auto;
}

.focus-block .pv-intro {
  margin: 16px auto 0;
  max-width: 55ch;
}

/* ── Atmos section ─────────────────────────────────────────── */

.atmos-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.atmos-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.atmos-block .pv-intro {
  margin: 24px auto 0;
  max-width: 44ch;
}

.atmos-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.atmos-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(231, 231, 231, 0.14);
  border-radius: 999px;
  background: rgba(231, 231, 231, 0.04);
  color: rgba(231, 231, 231, 0.76);
  font: 500 10px / 1 var(--pv-font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.atmos-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pv-electric-teal);
  box-shadow: 0 0 18px rgba(92, 147, 159, 0.6);
}

.pnld-head {
  align-items: center;
}

.pnld-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.pnld-number {
  display: inline-block;
  min-width: 4ch;
  color: var(--pv-rich-carbon);
  font-family: var(--pv-font-display);
  font-size: clamp(96px, 12vw, 190px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.06em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
  margin-left: -12px;
}

.pnld-unit {
  color: rgba(17, 17, 17, 0.54);
}

.authority-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.authority-card {
  aspect-ratio: 1.3 / 1;
  min-height: 320px;
}

.authority-card--dark {
  background: var(--pv-rich-carbon);
  color: var(--pv-neural-fog);
  box-shadow: inset 0 0 0 1px rgba(231, 231, 231, 0.04);
}

.authority-card--mid {
  background: #a5a5a5;
  color: var(--pv-rich-carbon);
}

.authority-card--light {
  background: var(--pv-off-white);
  color: var(--pv-rich-carbon);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.authority-card__top,
.authority-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.authority-card__top {
  gap: 20px;
}

.authority-card__title {
  max-width: 17ch;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
}

.authority-card__icon {
  margin-left: auto;
  font: 500 18px / 1 var(--pv-font-mono);
  opacity: 0.6;
}

.authority-card__bottom {
  gap: 18px;
}

.authority-card__index {
  color: rgba(17, 17, 17, 0.54);
}

.authority-card__index-wrapper {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.authority-card--dark .authority-card__icon {
  opacity: 0.72;
}

.authority-card--dark .authority-card__index {
  color: rgba(231, 231, 231, 0.64);
}

.authority-card--dark .authority-card__index-wrapper {
  border-bottom-color: rgba(231, 231, 231, 0.16);

}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  min-height: 340px;
  background: var(--pv-rich-carbon);
  color: var(--pv-neural-fog);
  box-shadow: inset 0 0 0 1px rgba(231, 231, 231, 0.08);
}

.testimonial-card--mid {
  background: #a5a5a5;
  color: var(--pv-rich-carbon);
}

.testimonial-card--light {
  background: var(--pv-off-white);
  color: var(--pv-rich-carbon);
}

.testimonial-card__quote {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.testimonial-card__meta {
  font: 500 11px / 1.3 var(--pv-font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.58;
}

.site-footer {
  position: relative;
  z-index: 4;
  margin-top: 0;
  border-top: 1px solid rgba(231, 231, 231, 0.08);
  background: var(--pv-rich-carbon);
}

.footer-panel {
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.footer-cta,
.footer-meta {
  min-height: 560px;
  padding: 32px;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: var(--pv-infrared);
  color: var(--pv-rich-carbon);
}

.footer-title {
  max-width: 28ch;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
}

.footer-sub {
  max-width: 28ch;
  font-size: 16px;
  line-height: 1.5;
}

.slogan-footer {
  margin-top: auto;
}

.footer-meta {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  background: var(--pv-rich-carbon);
  color: var(--pv-neural-fog);
}

.footer-meta > .site-brand {
  gap: 15px;
  padding: 0;
  min-height: 60px;
}

.footer-meta > .site-brand .site-brand-mark {
  width: 175px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-content: center;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-label {
  color: rgba(231, 231, 231, 0.46);
}

.footer-links-group a,
.footer-links-group span:not(.footer-links-label) {
  width: fit-content;
  font-family: var(--pv-font-mono);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-links-group a {
  font-size: 16px;
}

.footer-links-group a {
  transition: color 0.4s var(--pv-easing);
}

.footer-links-group a:hover {
  color: var(--pv-electric-teal);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid rgba(231, 231, 231, 0.12);
}

.footer-copy {
  color: rgba(231, 231, 231, 0.74);
}

.footer-copy--soft {
  color: rgba(231, 231, 231, 0.48);
}

@media (max-width: 1180px) {
  .authority-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-cta {
    border-radius: 0;
  }

  .footer-meta {
    grid-template-rows: auto auto auto;
    border-radius: 0;
  }
}

@media (max-width: 960px) {
  .pv-section-head,
  .pnld-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: clamp(40px, 6vw, 64px);
  }

  .pv-section-copy,
  .pv-section-side,
  .pnld-copy {
    width: 100%;
  }

  .pv-section-side {
    align-items: flex-start;
  }

  .clients-wall,
  .authority-grid,
  .testimonial-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .authority-card,
  .testimonial-card {
    min-height: auto;
  }

  .authority-card {
    aspect-ratio: auto;
  }

  .client-tile {
    min-height: 124px;
  }
}

@media (max-width: 767px) {
  .pv-shell {
    padding: 88px 0 112px;
  }

  .site-header {
    padding: 10px 10px 0;
  }

  .site-header .site-brand {
    padding-inline: 8px;
  }

  .site-brand-mark--full {
    display: none;
  }

  .site-brand-mark--symbol {
    display: block;
  }

  .section-label {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .pv-title--xl {
    font-size: clamp(34px, 10vw, 52px);
  }

  .pv-title--lg {
    font-size: clamp(30px, 9vw, 42px);
  }

  .pv-title--hero {
    font-size: clamp(38px, 14vw, 72px);
  }

  .pv-intro,
  .studio-card__copy,
  .authority-card__copy,
  .footer-sub {
    font-size: 14px;
  }

  .studio-gallery {
    gap: 16px;
  }

  .studio-head {
    gap: 18px;
    margin-bottom: 60px;
  }

  .studio-head .pv-intro {
    margin: 18px 0 20px;
    max-width: 34ch;
  }

  .studio-head .pv-button {
    height: 36px;
  }

  .studio-card {
    gap: 14px;
  }

  .studio-card__visual {
    aspect-ratio: 0.72;
    border-radius: 14px;
  }

  .studio-card__body {
    padding-inline: 2px;
  }


  .studio-gallery__control {
    width: 38px;
    height: 38px;
  }

  .studio-gallery__controls {
    margin-top: 20px;
  }

  .pnld-number {
    font-size: clamp(72px, 25vw, 120px);
  }

  .testimonial-card__quote {
    font-size: clamp(22px, 7vw, 28px);
  }

  .footer-cta,
  .footer-meta {
    min-height: auto;
    padding: 24px 18px;
  }

  .footer-title {
    font-size: clamp(34px, 10vw, 50px);
  }

  .footer-links-group a,
  .footer-links-group span:not(.footer-links-label) {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .nav-link,
  .pv-button__label,
  .pv-button__label > span,
  .studio-card,
  .studio-card__visual,
  .studio-card__body,
  .studio-gallery__control,
  .studio-gallery__control svg,
  .client-tile,
  .site-nav {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
