/* ============================================
   Studio — B2B landing funnel. Oswald headings.
   Black & white + one CTA accent. Bootstrap 5 + minimal custom.
   ============================================ */

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oswald/v57/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUtiZTaR.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --bg: #0a0a0a;
  --bg-alt: #111;
  --bg-light: #f2f2f2;
  --text: #0a0a0a;
  --text-on-dark: #f5f5f5;
  --text-muted: #444;
  --accent: #0a0a0a;
  --accent-hover: #1a1a1a;
  --border: rgba(0,0,0,.1);
  --section-padding: clamp(4rem, 10vw, 8rem);
  --font: "Oswald", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.42;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3 { font-family: var(--font); }

/* ----- Header: full width, no .container, flush-left nav cluster ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.12);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 32px;
  padding-right: 32px;
  height: 60px;
  width: 100%;
  box-sizing: border-box;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  flex-shrink: 0;
}

.nav-menu-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: calc(3% - 20px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--text);
}

.site-header .logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.brand-games {
  font-family: 'Oswald', sans-serif;
  font-size: 14pt;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-link {
  font-family: 'Oswald', sans-serif;
  font-size: 14pt;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active,
.nav-link:focus {
  border-bottom-color: rgba(0,0,0,.3);
}

.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-nav-cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: 'Oswald', sans-serif;
  font-size: 14pt;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark) !important;
  background: var(--bg) !important;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.btn-nav-cta:hover {
  background: #1a1a1a !important;
  color: #fff !important;
}

/* ----- Navigation: burger on small screens ----- */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

.nav-burger-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}

.nav-burger-icon::before,
.nav-burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  -webkit-transition: -webkit-transform 0.25s ease, transform 0.25s ease;
  transition: transform 0.25s ease;
}

.nav-burger-icon::before { top: -7px; }
.nav-burger-icon::after { bottom: -7px; }

.nav-open .nav-burger-icon { background: transparent; }
.nav-open .nav-burger-icon::before {
  -webkit-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-burger-icon::after {
  -webkit-transform: translateY(-7px) rotate(-45deg);
  transform: translateY(-7px) rotate(-45deg);
}

/* Промежуток 992–1200: компактная навбар (уменьшенный шрифт), бургер не показываем */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .nav-burger { display: none; }
  .nav-links { gap: 10px; }
  .nav-link { font-size: 9pt; letter-spacing: 0.03em; }
  .brand-games { font-size: 11pt; letter-spacing: 0.08em; }
  .btn-nav-cta { font-size: 9pt; padding: 0.35rem 0.85rem; }
  .nav-menu-wrap { margin-left: calc(2% - 20px); }
}

/* Бургер и выезжающее меню только ниже 992px */
@media (max-width: 991.98px) {
  .nav-burger { display: flex; }
  .nav-left { flex: 0 1 auto; }
  .nav-menu-wrap {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.12);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0 1.5rem 1rem;
    gap: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    margin-left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .nav-open .nav-menu-wrap {
    max-height: 80vh;
    opacity: 1;
    visibility: visible;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0.5rem;
  }
  .nav-links .nav-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .nav-links .nav-link:last-child { border-bottom: none; }
  .nav-right { padding-top: 0.75rem; }
  .nav-right .btn-nav-cta { display: block; text-align: center; }
}

@media (min-width: 1200px) {
  .nav-menu-wrap { position: static; max-height: none; opacity: 1; overflow: visible; visibility: visible; }
}

/* ----- Section base ----- */
.studio-section {
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--section-padding) 0;
}

.studio-section-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ----- Hero (100vh, industrial texture, split) ----- */
.hero-studio {
  min-height: 100vh;
  padding: 0;
  background: #fff;
  position: relative;
}

.hero-industrial.hero-studio {
  background: #fafafa;
}

.hero-industrial-bg {
  display: none;
}

.hero-industrial.hero-studio::after {
  content: "";
  position: absolute;
  left: 45%;
  width: 20%;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(0,0,0,0.08) 50%,
    rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Same as mobile: row centers content vertically */
.hero-studio .row {
  min-height: 100vh;
  align-items: center;
}

/* Hero: фоны колонок и сетка отдельными слоями (прямые дети секции) — сетка поверх фона, на Mac fixed совпадает */
.hero-col-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-col-bg-left {
  left: 0;
  width: 50%;
  background: #fafafa;
}
.hero-col-bg-right {
  right: 0;
  width: 50%;
  background: #0b0b0b;
}
.hero-grid-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-grid-layer-left {
  left: 0;
  width: 50%;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(0,0,0,0.1) 71px, rgba(0,0,0,0.1) 72px),
    repeating-linear-gradient(90deg, transparent 0, transparent 71px, rgba(0,0,0,0.1) 71px, rgba(0,0,0,0.1) 72px);
  background-size: 72px 72px;
  background-attachment: fixed;
}
.hero-grid-layer-right {
  right: 0;
  width: 50%;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(255,255,255,0.1) 71px, rgba(255,255,255,0.1) 72px),
    repeating-linear-gradient(90deg, transparent 0, transparent 71px, rgba(255,255,255,0.1) 71px, rgba(255,255,255,0.1) 72px);
  background-size: 72px 72px;
  background-attachment: fixed;
}
.hero-has-grid-layers .hero-left-col,
.hero-has-grid-layers .hero-right-col {
  background: transparent;
}

/* Left column: light grid + readability fade (на hub сетка из .hero-grid-layer-left) */
.hero-left-col {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  position: relative;
  background: #fafafa;
}

.hero-left-col::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(0,0,0,0.1) 71px, rgba(0,0,0,0.1) 72px),
    repeating-linear-gradient(90deg, transparent 0, transparent 71px, rgba(0,0,0,0.1) 71px, rgba(0,0,0,0.1) 72px);
  background-size: 72px 72px;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

.hero-has-grid-layers .hero-left-col::before {
  background-image: none;
}

/* Fade overlay: Safari/Mac fix — use rgba(same as bg, 0), -webkit- prefix */
.hero-left-col::after {
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: -webkit-radial-gradient(
    circle at 25% 45%,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.6) 45%,
    rgba(250,250,250,0) 75%
  );
  background: radial-gradient(
    circle at 25% 45%,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.6) 45%,
    rgba(250,250,250,0) 75%
  );
  pointer-events: none;
  z-index: 1;
}

/* Safari (Mac): stronger fade so overlay is visible — does not affect Windows/Chrome */
@supports (font: -apple-system-body) and (not (-webkit-touch-callout: default)) {
  .hero-left-col::after {
    background: -webkit-radial-gradient(
      circle at 25% 45%,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.85) 45%,
      rgba(250,250,250,0) 80%
    );
    background: radial-gradient(
      circle at 25% 45%,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.85) 45%,
      rgba(250,250,250,0) 80%
    );
  }
}

.hero-studio-content {
  width: 100%;
  max-width: 100%;
  padding: 0 48px 48px;
  margin-top: -1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 860px;
  width: 100%;
  text-align: left;
}

.hero-studio h1 {
  font-family: var(--font);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.75rem;
}

.hero-studio-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 2.25rem;
}

.hero-studio-since {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.75;
  margin: 14px 0 1.25rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.75rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background .2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-cta:hover { background: var(--accent-hover); color: #fff; }

.btn-cta-primary {
  padding: 0 2rem;
  background: var(--bg);
}

.btn-cta-primary:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-cta-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.35);
  border-radius: 5px;
  letter-spacing: 0.08em;
}

.btn-cta-outline:hover { background: var(--text); color: #fff; }

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.hero-trust-item:hover {
  opacity: 1;
}

.hero-trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  stroke-width: 2.25;
}

/* ----- Hero right: dark half + subtle grid (same centering as mobile) ----- */
.hero-right-col {
  background: #0b0b0b;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  position: relative;
}

.hero-right-col::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(255,255,255,0.1) 71px, rgba(255,255,255,0.1) 72px),
    repeating-linear-gradient(90deg, transparent 0, transparent 71px, rgba(255,255,255,0.1) 71px, rgba(255,255,255,0.1) 72px);
  background-size: 72px 72px;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

.hero-has-grid-layers .hero-right-col::before {
  background-image: none;
}

/* In-flow flex child, centered by parent (same logic as mobile hero) */
.proof-stage {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  perspective: 1200px;
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
}

.proof-stage-panel {
  position: relative;
  width: 100%;
  max-width: min(1350px, calc(50vw - 2rem));
  min-height: 70vh;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: clamp(1rem, 2.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: visible;
}

.proof-stage-panel::before {
  display: none;
}

.proof-stack {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1260 / 672;
  height: auto;
  min-height: 320px;
  transform-style: preserve-3d;
}

.proof-card {
  position: absolute;
  width: 66.67%;
  max-width: 840px;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.15) inset,
    0 6px 24px rgba(0,0,0,.35),
    0 24px 64px rgba(0,0,0,.28);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  isolation: isolate;
  contain: layout style paint;
  cursor: pointer;
}

.proof-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 12px 40px rgba(0,0,0,.4),
    0 32px 80px rgba(0,0,0,.35);
}

.proof-card.proof-card-stay-on-top {
  z-index: 35;
}

.proof-card-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #0a0a0a;
  z-index: 2;
  text-transform: uppercase;
  background: rgba(255,255,255,.95);
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.proof-card-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  z-index: 2;
}

.proof-card-dot-tl { top: 8px; left: 8px; }
.proof-card-dot-tr { top: 8px; right: 8px; }
.proof-card-dot-br { bottom: 8px; right: 8px; }
.proof-card-dot-bl { bottom: 8px; left: 8px; }

.proof-card-inner {
  position: absolute;
  inset: 0;
  background: #fff;
  isolation: isolate;
}

.proof-card-inner-img {
  background: #fff;
  padding: 0;
}

.proof-card-inner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Cycling positions: subtle 3D + translateZ so overlapping cards don't blend */
.proof-card.pos-1 {
  left: 0;
  top: 0;
  transform: scale(1) rotateY(-4deg) rotateX(3deg) translateZ(40px);
  opacity: 1;
  z-index: 40;
}

.proof-card.pos-1:hover {
  transform: translateY(-6px) scale(1.02) rotateY(-4deg) rotateX(3deg) translateZ(40px);
}

.proof-card.pos-2 {
  left: 13.33%;
  top: -8.78%;
  transform: scale(0.96) rotateY(-5deg) rotateX(4deg) translateZ(30px);
  opacity: 0.92;
  z-index: 30;
}

.proof-card.pos-2:hover {
  transform: translateY(-6px) scale(0.98) rotateY(-5deg) rotateX(4deg) translateZ(30px);
}

.proof-card.pos-3 {
  left: 25.87%;
  top: 3.13%;
  transform: scale(0.92) rotateY(-5deg) rotateX(3deg) translateZ(20px);
  opacity: 0.85;
  z-index: 20;
}

.proof-card.pos-3:hover {
  transform: translateY(-6px) scale(0.94) rotateY(-5deg) rotateX(3deg) translateZ(20px);
}

.proof-card.pos-4 {
  left: 36.67%;
  top: 15.03%;
  transform: scale(0.88) rotateY(-4deg) rotateX(4deg) translateZ(10px);
  opacity: 0.78;
  z-index: 10;
}

.proof-card.pos-4:hover {
  transform: translateY(-6px) scale(0.9) rotateY(-4deg) rotateX(4deg) translateZ(10px);
}

/* ----- Capabilities (dark) — grid like hero black + vignette like Process ----- */
.capabilities-studio {
  background: #0b0b0b;
  color: var(--text-on-dark);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Grid: same as hero black — 72px, repeating lines 0.1 white, fixed чтобы левая/правая сетка совпадала на всех платформах */
.capabilities-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(255,255,255,0.1) 71px, rgba(255,255,255,0.1) 72px),
    repeating-linear-gradient(90deg, transparent 0, transparent 71px, rgba(255,255,255,0.1) 71px, rgba(255,255,255,0.1) 72px);
  background-size: 72px 72px;
  background-attachment: fixed;
  pointer-events: none;
}

/* Fade toward edges (vignette) */
.capabilities-studio::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 0%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}

.capabilities-studio .studio-section-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.capabilities-studio .section-title,
.proof-studio .section-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  text-align: center;
  color: #fff;
}

.cap-block {
  text-align: center;
  padding: 2.25rem 1rem;
  position: relative;
  transition: transform 0.25s ease;
}

@media (min-width: 992px) {
  .cap-block:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.15);
  }
}

.cap-block:hover {
  transform: translateY(-4px);
}

/* Icon: thin-line, 1px border, inner shadow; hover: brighter border, lift, glow */
.cap-block-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  color: rgba(255,255,255,.95);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.cap-block:hover .cap-block-icon {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.2), 0 6px 20px rgba(255,255,255,.08);
}

.cap-block-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

.cap-block h3 {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.cap-block p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.78);
  margin: 0;
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

/* ----- Platforms (Choose Your Platform: 3 large blocks below hero) ----- */
.platforms-studio {
  background: #fff;
  min-height: auto;
  padding: clamp(4rem, 10vw, 6rem) 0;
}

.platforms-studio.platform-blocks .section-title {
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platforms-studio .section-title,
.process-studio .section-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
  text-align: center;
  color: var(--text);
}

.platform-panel {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  min-height: 240px;
  transition: border-color .2s, box-shadow .2s;
}

.platform-panel-large {
  min-height: 200px;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 4px;
}

.platform-panel-industrial {
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
  background: #fff;
}

.platform-panel-industrial:hover {
  border-color: rgba(0,0,0,.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 4px 16px rgba(0,0,0,.06),
    0 8px 24px rgba(0,0,0,.04);
  color: var(--text);
}

@media (min-width: 768px) {
  .platform-panel-large {
    min-height: 220px;
    padding: 2.5rem 2.25rem;
  }
}

.platform-panel:hover,
.platform-panel-large:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  color: var(--text);
}

.platform-panel-industrial:hover {
  border-color: var(--accent);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 6px 20px rgba(0,0,0,.07),
    0 12px 32px rgba(0,0,0,.05);
}

.platform-panel-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.platform-panel-large .platform-panel-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.platform-panel-icon svg { width: 32px; height: 32px; stroke-width: 1.5; }

.platform-panel-large .platform-panel-icon svg { width: 28px; height: 28px; }

.platform-panel h3 {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.platform-panel-large h3 {
  font-size: 1.35rem;
}

.platform-panel p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* ----- Platform stage (fullscreen 40/60, plain white section) ----- */
.platform-stage {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 5rem 64px 4rem;
  background: #fff;
  background-image: none;
  box-sizing: border-box;
}

/* Section background: plain white only. No grid layers (removed from DOM for Safari/Mac). */

.platform-stage-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.platform-stage-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.5rem;
  text-align: center;
}

.platform-stage-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  text-align: center;
}

.platform-stage-layout {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 0;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.platform-stage-left {
  display: flex;
  flex-direction: column;
  padding-right: 3rem;
}

/* Platform buttons: light gray bg + small grid (always visible) */
.platform-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 120px;
  max-height: 140px;
  padding: 1.25rem 0 1.25rem 16px;
  text-decoration: none;
  color: var(--text);
  background-color: #ebebeb !important;
  background-image:
    linear-gradient(rgba(0,0,0,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  border-bottom: 1px solid rgba(0,0,0,.1);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.2s ease, color 0.2s ease;
  border-left: 3px solid transparent;
  box-sizing: border-box;
}

.platform-row:last-child {
  border-bottom: none;
}

.platform-row:hover {
  background-color: #e0e0e0 !important;
  background-image:
    linear-gradient(rgba(0,0,0,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
}

.platform-row:hover .platform-row-title {
  color: var(--text);
}

.platform-row:hover .platform-row-arrow {
  transform: translateX(8px);
  color: var(--text);
}

.platform-row:focus {
  outline: none;
}

.platform-row:focus-visible,
.platform-row.active {
  background-color: #d8d8d8 !important;
  background-image:
    linear-gradient(rgba(0,0,0,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  border-left-color: #0a0a0a;
}

.platform-row:focus-visible .platform-row-title,
.platform-row.active .platform-row-title {
  color: var(--text);
}

.platform-row-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.platform-row-pic {
  display: none;
}

.platform-row-text {
  flex: 1;
  min-width: 0;
}

.platform-row-title {
  font-family: var(--font);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--text);
  transition: color 0.2s ease;
}

.platform-row-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

.platform-row-arrow {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s ease;
}

.platform-stage-right {
  width: 100%;
  min-height: 0;
}

.platform-stage-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  background: #0a0a0a;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0,0,0,.2);
  overflow: hidden;
}

.platform-stage-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.platform-stage-preview-img.is-changing {
  opacity: 0;
  transform: scale(1.02);
}

.platform-stage-preview-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.platform-stage-preview-overlay {
  display: none;
}

.platform-stage-preview-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(255,255,255,.1) 71px, rgba(255,255,255,.1) 72px),
    repeating-linear-gradient(90deg, transparent 0, transparent 71px, rgba(255,255,255,.1) 71px, rgba(255,255,255,.1) 72px);
  background-size: 72px 72px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, rgba(0,0,0,.9) 0%, transparent 65%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, rgba(0,0,0,.9) 0%, transparent 65%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.platform-stage-preview-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.6);
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.15);
  transition: opacity 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .platform-stage-preview-img,
  .platform-row,
  .platform-row-arrow {
    transition-duration: 0.05s;
  }
  .platform-stage-preview-img.is-changing {
    transition-duration: 0.1s;
  }
}

@media (max-width: 991.98px) {
  .platform-stage {
    min-height: auto;
    padding: 4rem 24px 3rem;
  }

  .platform-stage-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .platform-stage-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .platform-stage-left {
    padding-right: 0;
    order: 1;
  }

  .platform-stage-right {
    display: none;
  }

  .platform-row {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    max-height: none;
    padding: 1rem 0 1.25rem 16px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    background-color: #ebebeb !important;
    background-image:
      linear-gradient(rgba(0,0,0,.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
  }

  .platform-row:last-child {
    border-bottom: none;
  }

  .platform-row-content {
    flex: 0 0 auto;
  }

  .platform-row-pic {
    display: block;
    margin-top: 0.75rem;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #0a0a0a;
  }

  .platform-row-pic img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
  }
}

@media (max-width: 575.98px) {
  .platform-stage {
    padding: 3rem 24px 2.5rem;
  }

  .platform-stage-title {
    margin-bottom: 2rem;
  }
}

/* ----- Process (horizontal timeline) — hierarchy, timeline, reveal ----- */
.process-studio {
  position: relative;
  min-height: 100vh;
  background: #F7F7F7;
  overflow: hidden;
}

.process-studio-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% 25%, rgba(0,0,0,0.06), rgba(0,0,0,0) 60%),
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
  pointer-events: none;
}

.process-studio .studio-section-inner {
  position: relative;
  z-index: 1;
}

.process-studio .section-title {
  margin-bottom: 3rem;
  font-weight: 800;
}

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

/* 2px connecting line, soft gray */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 72px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.14), rgba(0,0,0,.14), rgba(0,0,0,.08));
  z-index: 0;
}

.process-timeline-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Scroll reveal: fade + translateY (stagger applied by JS when .process-revealed) */
@media (prefers-reduced-motion: no-preference) {
  .process-timeline-step {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s ease, transform .4s ease, box-shadow .25s ease;
  }
  .process-revealed .process-timeline-step {
    opacity: 1;
    transform: translateY(0);
  }
  .process-revealed .process-timeline-step:nth-child(1) { transition-delay: 0ms; }
  .process-revealed .process-timeline-step:nth-child(2) { transition-delay: 80ms; }
  .process-revealed .process-timeline-step:nth-child(3) { transition-delay: 160ms; }
  .process-revealed .process-timeline-step:nth-child(4) { transition-delay: 240ms; }
}

@media (prefers-reduced-motion: reduce) {
  .process-timeline-step { opacity: 1; transform: none; }
}

.process-timeline-step:hover {
  transform: translateY(-2px);
}
.process-timeline-step:hover .process-timeline-content {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.process-timeline-num {
  font-family: var(--font);
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(0,0,0,.1);
  margin-bottom: -0.5rem;
  user-select: none;
}

/* Filled dot with ring; hover/focus ring brightens */
.process-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 2px rgba(0,0,0,.12);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.process-timeline-step:hover .process-timeline-dot,
.process-timeline-step:focus-within .process-timeline-dot {
  box-shadow: 0 0 0 3px rgba(0,0,0,.2);
  border-color: #fff;
}

.process-timeline-content {
  max-width: 220px;
  padding: 0.5rem 0;
  border-radius: 8px;
  transition: box-shadow .25s ease;
}

.process-timeline-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.process-timeline-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }

.process-timeline-content h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.process-timeline-content p {
  font-size: 0.875rem;
  color: rgba(0,0,0,.55);
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .process-timeline {
    flex-direction: column;
    align-items: stretch;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 22px;
    right: auto;
    width: 2px;
    height: 100%;
  }

  .process-timeline-step {
    flex: none;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 2rem 0 2rem 3.5rem;
    position: relative;
  }

  .process-timeline-step:hover {
    transform: none;
  }

  .process-timeline-num {
    position: absolute;
    left: 0;
    top: 1.5rem;
    font-size: 3rem;
    margin-bottom: 0;
  }

  .process-timeline-dot {
    position: absolute;
    left: 16px;
    top: 2.25rem;
    margin-bottom: 0;
  }

  .process-timeline-content {
    max-width: 100%;
    padding-left: 0;
    text-align: left;
  }
}

/* Legacy process-step (if used elsewhere) */
.process-step { padding: 1.75rem 1rem; text-align: center; }
.process-step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-family: var(--font); font-size: 1.2rem; font-weight: 700; color: var(--text); background: rgba(0,0,0,.08); border-radius: 10px; margin-bottom: 0.75rem; }
.process-step-icon { width: 44px; height: 44px; margin: 0 auto 0.75rem; display: flex; align-items: center; justify-content: center; color: var(--text); }
.process-step-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.process-step h3 { font-family: var(--font); font-size: 1.1rem; font-weight: 600; margin: 0 0 0.35rem; color: var(--text); }
.process-step p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ----- Production Authority (cards) ----- */
.production-authority-section {
  background: #f5f5f5;
  padding: 160px 0;
  min-height: 20vh;
  position: relative;
}

.production-authority-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2rem);
}

.production-authority-header {
  text-align: center;
  margin-bottom: 3rem;
}

.production-authority-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.production-authority-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.production-authority-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.production-authority-card {
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 40px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.production-authority-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,0,0,.18);
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
}

.production-authority-card-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  opacity: 0.6;
}

.production-authority-card-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.production-authority-card-title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
}

.production-authority-card-desc {
  font-size: 14px;
  opacity: 0.65;
  color: var(--text);
  line-height: 1.45;
  margin: 6px 0 0;
}

@media (max-width: 991.98px) {
  .production-authority-section {
    padding: 100px 0;
  }

  .production-authority-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 575.98px) {
  .production-authority-section {
    padding: 72px 0;
  }

  .production-authority-metrics {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .production-authority-card {
    padding: 28px;
  }
}

/* ----- Production Infrastructure (KPI grid, grid-light theme) ----- */
.aaa-production-layer-block {
  position: relative;
  background: #f7f7f7;
  color: #111111;
  padding: 140px 0;
  overflow: hidden;
  border-radius: 0;
}

.aaa-production-layer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(0,0,0,.05) 71px, rgba(0,0,0,.05) 72px),
    repeating-linear-gradient(90deg, transparent 0, transparent 71px, rgba(0,0,0,.05) 71px, rgba(0,0,0,.05) 72px);
  background-size: 72px 72px;
  pointer-events: none;
}

.aaa-production-layer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.aaa-production-layer-header {
  margin-bottom: 0;
}

.aaa-production-layer-title {
  font-family: Inter, var(--font), sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 16px;
}

.aaa-production-layer-subtitle {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,.55);
  line-height: 1.5;
  margin: 0 auto 64px;
  max-width: 720px;
}

.aaa-production-layer-metrics-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 60px;
  margin-bottom: 72px;
}

.aaa-metric-sep {
  display: inline-block;
  width: 1px;
  height: 32px;
  background: rgba(0,0,0,.08);
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
  user-select: none;
}

.aaa-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.aaa-metric-value {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111111;
  margin: 0 0 6px;
  line-height: 1.1;
}

.aaa-metric-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.5);
  line-height: 1.2;
}

.aaa-production-layer-sep {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,.06);
  margin-bottom: 80px;
}

.aaa-production-layer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}

.aaa-production-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.25s ease;
}

.aaa-production-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.08);
}

.aaa-production-card-icon {
  display: block;
  margin-bottom: 18px;
  color: #111111;
  opacity: 0.9;
  line-height: 0;
}

.aaa-production-card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.aaa-production-card:hover .aaa-production-card-icon {
  color: #000000;
}

.aaa-production-card-headline {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111111;
  margin: 0 0 10px;
  line-height: 1.4;
}

.aaa-production-card-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(0,0,0,.6);
  margin: 0;
}

@media (max-width: 991.98px) {
  .aaa-production-layer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .aaa-production-layer-metrics-strip {
    gap: 0 40px;
  }
}

@media (max-width: 575.98px) {
  .aaa-production-layer-block {
    padding: 80px 0;
  }

  .aaa-production-layer-inner {
    padding: 0 24px;
  }

  .aaa-production-layer-title {
    font-size: 28px;
  }

  .aaa-production-layer-metrics-strip {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-bottom: 48px;
  }

  .aaa-metric-sep {
    width: 32px;
    height: 1px;
    background: rgba(0,0,0,.08);
  }

  .aaa-production-layer-sep {
    margin-bottom: 48px;
  }

  .aaa-production-layer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .aaa-production-layer-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Selected Production Work (portfolio section + modals) ----- */
.proof-of-work-studio {
  position: relative;
  background: #0a0a0a;
  padding: var(--section-padding) 0 0 0;
  overflow: hidden;
}

/* Grid: same as hero (72px, white lines 0.1) */
.proof-of-work-studio-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(255,255,255,0.1) 71px, rgba(255,255,255,0.1) 72px),
    repeating-linear-gradient(90deg, transparent 0, transparent 71px, rgba(255,255,255,0.1) 71px, rgba(255,255,255,0.1) 72px);
  background-size: 72px 72px;
  pointer-events: none;
}

.proof-of-work-studio .studio-section-inner {
  position: relative;
  z-index: 1;
}

.proof-of-work-studio .section-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.5rem;
  text-align: center;
}

.proof-of-work-lead {
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin: 0 0 2.5rem;
}

.proof-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  min-height: 420px;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.proof-case-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
  transform: translateY(-4px);
}

.proof-case-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: rgba(255,255,255,.95);
  padding: 4px 8px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,.1);
}

.proof-case-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-light);
}

.proof-case-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-case-title {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.75rem 1rem 0.35rem;
  color: var(--text);
  line-height: 1.3;
}

.proof-case-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 1rem 0.5rem;
  line-height: 1.45;
}

.proof-case-tech {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 1rem 1rem;
}
.proof-case-role {
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Proof case modal (industrial override) */
.proof-case-modal .modal-backdrop { background: rgba(0,0,0,.75); }
.proof-case-modal .modal-dialog { max-width: 900px; margin: 1.75rem auto; }
.proof-case-modal-dialog .modal-content {
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  overflow: hidden;
}

.proof-case-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  padding: 0;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 4px;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.proof-case-close:hover {
  background-color: #f0f0f0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E");
}

.proof-case-modal-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-light);
}

.proof-case-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-case-modal-body {
  padding: 1.75rem 2rem 2rem;
}

.proof-case-modal-title {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.proof-case-modal-grid {
  display: block;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .proof-case-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.proof-case-delivered {
  margin-top: 0;
}

@media (min-width: 768px) {
  .proof-case-delivered { margin-top: 0; }
}

.proof-case-delivered h4 {
  margin: 0 0 0.5rem;
}

.proof-case-delivered ul {
  margin: 0;
  padding-left: 1.25rem;
}

.proof-case-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.5rem;
  margin: 0;
  font-size: 0.9rem;
}

.proof-case-meta dt {
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

.proof-case-meta dd { margin: 0; color: var(--text); }

.proof-case-modal-body h4 {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.proof-case-modal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text);
}

.proof-case-modal-body ul li { margin-bottom: 0.25rem; }

.proof-case-result {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,.1);
  font-size: 0.95rem;
  color: var(--text);
}

/* ----- Trusted By (inside proof section, 50px below grid, full width) ----- */
.trusted-by-block {
  margin-top: 50px;
}

.proof-of-work-studio .trusted-by-block .section-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  text-align: center;
  color: #fff;
}

.trusted-by-lead {
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin: 0 0 2rem;
}

/* Same horizontal bounds as .proof-of-work-grid (no extra padding) */
.trusted-by-container {
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.trusted-by-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.trusted-by-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

/* Logos: 250×64 desktop, white on black */
.trusted-by-logo img {
  width: 250px;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.trusted-by-logo-placeholder {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

/* Trusted By: responsive */
@media (max-width: 991.98px) {
  .trusted-by-logos {
    justify-content: center;
    gap: 1.5rem 2rem;
  }
  .trusted-by-logo {
    flex: 0 0 auto;
  }
  .trusted-by-logo img {
    width: 180px;
    height: 46px;
  }
}

@media (max-width: 575.98px) {
  .trusted-by-block {
    margin-top: 2.5rem;
  }
  .trusted-by-container {
    padding: 1.5rem 1rem;
  }
  .trusted-by-logos {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .trusted-by-logo img {
    width: 160px;
    height: 41px;
  }
}

/* ----- Recognition (Awards) ----- */
.recognition-studio {
  background: var(--bg-light);
  min-height: 50vh;
  padding: clamp(6rem, 14vw, 12rem) 0 var(--section-padding) 0;
  display: flex;
  align-items: center;
}

.recognition-studio .section-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  text-align: center;
  color: var(--text);
}

.recognition-lead {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

.recognition-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow .2s ease;
}

.recognition-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.recognition-card-image {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--bg-light);
}

.recognition-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recognition-card-title {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  padding: 1.25rem 1.25rem 0;
  color: var(--text);
  line-height: 1.3;
}

.recognition-card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  line-height: 1.5;
}

/* ----- Contact / Submit Production Brief ----- */
.contact-studio {
  position: relative;
  min-height: 100vh;
  background: #F7F7F7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.contact-studio-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% 25%, rgba(0,0,0,0.06), rgba(0,0,0,0) 60%),
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
  pointer-events: none;
}

.contact-studio-inner {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-trust-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B6B6B;
}

.contact-trust-intro-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-trust-intro-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #16A34A;
}

.contact-form-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid #E6E6E6;
  border-radius: 14px;
  box-shadow: 0 14px 50px rgba(0,0,0,0.08);
  opacity: 0.98;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-form-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form {
  width: 100%;
  text-align: left;
}

.contact-form .form-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-form .form-subsection {
  margin: 0;
  padding-top: 0;
}

.contact-form .form-subsection:not(:first-child) {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #EFEFEF;
}

.contact-form .form-subsection-title {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin: 0 0 10px;
  line-height: 1.2;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-form .form-subsection-title-nda {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form .form-subsection-title-nda.form-subsection-title {
  color: #111111;
}

.contact-form .form-subsection-title-icon {
  width: 16px;
  height: 16px;
  color: #111111;
  flex-shrink: 0;
}

.contact-form .form-subsection-title-icon-lock {
  width: 16px;
  height: 16px;
  color: #111111;
}

.contact-form .form-subsection .row.g-4 {
  --bs-gutter-y: 16px;
  --bs-gutter-x: 16px;
}

.contact-form .form-subsection-lead {
  font-size: 12px;
  color: #6B6B6B;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.contact-form .form-subsection-nda {
  padding-top: 20px;
  margin-top: 20px;
}

.nda-block-inner {
  background: #F7F7F7;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #E5E5E5;
  border-left: 3px solid #111111;
}

.contact-studio .section-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #111111;
}

.contact-studio .section-lead,
.contact-lead {
  font-size: 1rem;
  color: #6B6B6B;
  margin: 0 auto 2.5rem;
  max-width: 56ch;
  text-align: center;
}

.contact-studio .form-label {
  font-weight: 600;
  color: #111111;
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.contact-studio .form-required {
  color: #DC2626;
  font-weight: 400;
}

.contact-studio .form-optional {
  font-size: 0.8em;
  font-weight: 400;
  color: #6B6B6B;
}

.contact-studio .form-label-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-studio .form-label-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.contact-studio .form-group-block {
  margin-top: 1rem;
}

.contact-studio .form-subsection .row .form-group-block:first-child {
  margin-top: 1rem;
}

.contact-studio .form-control-premium,
.contact-studio .form-select.form-control-premium {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  background: #FFFFFF;
  font-size: 1rem;
  color: #111111;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-studio .form-control-premium::placeholder {
  color: #8A8A8A;
}

.contact-studio .form-control-premium:hover,
.contact-studio .form-select.form-control-premium:hover {
  border-color: #BDBDBD;
}

.contact-studio .form-control-premium:focus,
.contact-studio .form-select.form-control-premium:focus {
  border-color: #111111;
  box-shadow: 0 0 0 4px rgba(17,17,17,0.08);
  outline: none;
}

.contact-studio .form-control-premium.is-invalid,
.contact-studio .form-select.form-control-premium.is-invalid {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.12);
}

.contact-studio .form-control-premium.is-invalid:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.12);
}

/* File upload zone (dropzone) */
.file-upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 96px;
  padding: 22px;
  background: #FAFAFA;
  border: 1.5px dashed #CFCFCF;
  border-radius: 12px;
  transition: border-color 160ms ease, background-color 160ms ease;
  cursor: pointer;
}

.file-upload-zone:hover {
  background: #F4F4F4;
  border-color: #BDBDBD;
}

.file-upload-zone.is-dragover {
  background: rgba(22,163,74,0.08);
  border-color: #16A34A;
}

.file-upload-zone:focus-within {
  border-color: #111111;
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(17,17,17,0.08);
}

.file-upload-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  pointer-events: none;
}

.file-upload-icon {
  width: 18px;
  height: 18px;
  color: #111111;
  flex-shrink: 0;
}

.file-upload-text {
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  pointer-events: none;
}

.file-upload-text-secondary {
  font-size: 12px;
  color: #6B6B6B;
  pointer-events: none;
}

.form-control-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.file-upload-filename {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #111111;
}

.file-upload-filename[hidden] {
  display: none;
}

.file-upload-filename-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.file-upload-filename-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.file-upload-filename-size {
  font-size: 0.75rem;
  color: #6B6B6B;
}

.file-upload-remove {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  font-family: var(--font);
  color: #666;
  background: none;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.file-upload-remove:hover {
  color: #000;
  border-color: #999;
}

.file-upload-zone.has-file .file-upload-text-wrap {
  display: none;
}

.contact-studio .form-control-file {
  padding: 0.65rem 1rem;
  min-height: auto;
}

.contact-studio textarea.form-control-premium {
  min-height: 140px;
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.contact-studio .form-check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.contact-studio .form-check-label-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
}

.contact-studio .form-check-label-custom input[type="radio"] {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  accent-color: #111111;
  flex-shrink: 0;
}

.contact-studio .form-check-label-custom input:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.contact-studio .form-helper {
  font-size: 12px;
  color: #6B6B6B;
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

.contact-studio .form-helper-max {
  font-weight: 600;
  color: #6B6B6B;
}

.contact-studio .form-helper-nda {
  margin-top: 0.75rem;
  font-size: 12px;
  color: #6B6B6B;
}

.contact-studio .form-error {
  font-size: 12px;
  color: #DC2626;
  margin: 0.4rem 0 0;
  line-height: 1.4;
}

.contact-studio .form-error[hidden] {
  display: none;
}

.contact-studio .form-submit-block {
  margin-top: 0;
  padding-top: 28px;
}

.contact-studio .btn-submit {
  padding: 0 56px 0 22px;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #111111;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: background 160ms ease, transform 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  min-height: 52px;
  position: relative;
}

.contact-studio .btn-submit-full {
  width: 100%;
  height: 52px;
  min-height: 52px;
  justify-content: space-between;
}

.contact-studio .btn-submit:hover {
  background: #000000;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.contact-studio .btn-submit:active {
  transform: translateY(0);
}

.contact-studio .btn-submit .btn-submit-arrow {
  transition: transform 160ms ease;
  color: #FFFFFF;
}

.contact-studio .btn-submit:hover .btn-submit-arrow {
  transform: translateY(-50%) translateX(4px);
}

.btn-submit-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.contact-cta-note {
  font-size: 12px;
  color: #6B6B6B;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-studio .btn-submit:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success-message:not([hidden]) {
  display: block;
}

.form-success-title {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.form-success-body {
  font-size: 0.9375rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 639.98px) {
  .contact-form-wrap {
    padding: 20px;
  }
  .contact-studio .section-title {
    margin-bottom: 0.35rem;
  }
  .contact-lead {
    margin-bottom: 1.5rem;
  }
  .contact-trust-intro {
    font-size: 10px;
    gap: 12px;
    margin-bottom: 16px;
  }
  .contact-studio .btn-submit,
  .contact-studio .btn-submit-full {
    height: 52px;
    min-height: 52px;
  }
}

/* ----- Footer — corporate boutique 3-column, minimal ----- */
.site-footer {
  padding: 2.25rem clamp(1.5rem, 4vw, 3rem) 1.25rem;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.02) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.75rem 2.5rem;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.footer-col {
  min-width: 0;
}

.footer-label {
  font-family: var(--font);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-caps: small-caps;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.footer-label-inquiries {
  margin-top: 0.9rem;
}

.footer-company-name {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.footer-company-tagline {
  font-size: 0.8125rem;
  color: var(--text);
  margin: 0 0 0.15rem;
  line-height: 1.4;
}

.footer-company-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.footer-address-block {
  font-size: 0.8125rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}

.footer-email-block {
  margin: 0;
  font-size: 0.8125rem;
}

.footer-email-block a {
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}

.footer-email-block a:hover {
  color: var(--text-muted);
}

.footer-email-block a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(0,0,0,.45);
  transition: color .2s;
}

.footer-linkedin:hover {
  color: var(--text);
}

.footer-linkedin:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.footer-linkedin-icon {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,.06);
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.6875rem;
  color: rgba(0,0,0,.45);
  letter-spacing: 0.02em;
}

@media (max-width: 767.98px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .footer-col-presence {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ----- Platform page hero (with right visual) ----- */
.platform-hero-visual {
  min-height: 50vh;
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.platform-hero-visual .hero-visual-grid { min-height: 100%; }

/* ----- Hero responsive ----- */
/* Intermediate (down to "red 2"): two columns, scale down + vertical center. Then switch to mobile at 991px */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .hero-studio .row {
    min-height: 100vh;
    align-items: center;
  }
  .hero-left-col,
  .hero-right-col { align-self: stretch; }
  .hero-studio-content {
    padding: 32px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-copy { max-width: 100%; }
  .hero-studio h1 {
    font-size: clamp(1.6rem, 2.8vw, 2.35rem);
    margin-bottom: 1rem;
  }
  .hero-studio-lead { font-size: 15px; margin-bottom: 1.5rem; }
  .hero-ctas { gap: 0.6rem; }
  .hero-trust-row { margin-top: 1.25rem; gap: 1rem 1.25rem; }
  .hero-trust-item { font-size: 0.78rem; }
  /* Cards: scale down, keep vertically centered */
  .proof-stage {
    min-height: 0;
    height: 100%;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .proof-stage-panel {
    width: min(560px, 44vw);
    min-height: 0;
    padding: 24px;
  }
  .proof-stack {
    max-width: 520px;
    height: 380px;
  }
  .proof-card { width: min(360px, 38vw); }
  .proof-card.pos-1 { left: 0; top: 0; }
  .proof-card.pos-2 {
    left: 72px;
    top: -24px;
    transform: scale(0.96) rotateY(-5deg) rotateX(4deg) translateZ(30px);
  }
  .proof-card.pos-3 {
    left: 138px;
    top: 8px;
    transform: scale(0.92) rotateY(-5deg) rotateX(3deg) translateZ(20px);
  }
  .proof-card.pos-4 {
    left: 198px;
    top: 44px;
    transform: scale(0.88) rotateY(-4deg) rotateX(4deg) translateZ(10px);
  }
  .proof-card-tag { font-size: 0.78rem; padding: 5px 10px; }
}

/* Tablet / mobile (red 2 and below): full black hero, text block (inverted) + cards below, both centered vertically */
@media (max-width: 991.98px) {
  .hero-col-bg-left {
    background: #0b0b0b;
  }
  .hero-studio,
  .hero-industrial.hero-studio {
    background: #0a0a0a;
    min-height: 100vh;
    overflow-x: hidden;
  }
  .hero-industrial.hero-studio::after {
    display: none;
  }
  .hero-studio .row {
    min-height: 100vh;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1.5rem 3rem;
    gap: 0;
  }
  .hero-left-col {
    min-height: auto;
    width: 100%;
    max-width: 640px;
    display: flex;
    justify-content: center;
    padding: 0;
    background: transparent;
  }
  .hero-left-col::before,
  .hero-left-col::after {
    display: none;
  }
  .hero-right-col {
    min-height: auto;
    height: auto;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    padding: 0;
  }
  .hero-right-col::before {
    display: none;
  }
  .hero-studio-content {
    width: 100%;
    padding: 0 24px;
    justify-content: center;
    text-align: center;
    background: transparent;
  }
  .hero-copy {
    max-width: 100%;
    text-align: center;
    background: transparent;
  }
  /* Inverted: white text on dark, no effects */
  .hero-studio h1 {
    color: #fff;
    font-size: clamp(1.65rem, 5vw, 2.25rem);
    margin-bottom: 1rem;
    text-shadow: none;
  }
  .hero-studio-lead {
    color: rgba(255,255,255,.9);
    font-size: 16px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  .hero-studio-since {
    color: rgba(255,255,255,.75);
  }
  .hero-ctas {
    justify-content: center;
    gap: 0.75rem;
  }
  .hero-trust-row {
    justify-content: center;
    margin-top: 1.25rem;
    gap: 1rem 1.5rem;
  }
  .hero-trust-item { color: rgba(255,255,255,.7); }
  .hero-trust-icon { color: rgba(255,255,255,.7); }
  .btn-cta-primary {
    background: #fff;
    color: #0a0a0a;
  }
  .btn-cta-primary:hover {
    background: #e0e0e0;
    color: #0a0a0a;
  }
  .btn-cta-outline {
    color: #fff;
    border-color: rgba(255,255,255,.5);
  }
  .btn-cta-outline:hover {
    background: #fff;
    color: #0a0a0a;
  }
  /* Cards block: spacing from text, scale, centered; overflow-x скрыт для iOS (без горизонтального скролла) */
  .proof-stage {
    position: relative;
    min-height: auto;
    padding: 2.5rem 1.5rem 2rem;
    margin-top: 50px;
    width: 100%;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: visible;
  }
  .proof-stage-panel {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 0;
    background: transparent;
  }
  .proof-stage-panel::before { display: none; }
  .proof-stack {
    height: 520px;
    max-width: 100%;
    margin: 0 auto;
  }
  .proof-card { width: min(480px, 78vw); }
  .proof-card.pos-1 { left: 0; top: 0; }
  .proof-card.pos-2 { left: 100px; top: -40px; transform: scale(0.96) rotateY(-5deg) rotateX(4deg) translateZ(30px); }
  .proof-card.pos-3 { left: 185px; top: 12px; transform: scale(0.92) rotateY(-5deg) rotateX(3deg) translateZ(20px); }
  .proof-card.pos-4 { left: 260px; top: 60px; transform: scale(0.88) rotateY(-4deg) rotateX(4deg) translateZ(10px); }
  .proof-card-tag { font-size: 0.8rem; padding: 5px 10px; }
}

@media (max-width: 767.98px) {
  .hero-studio .row { padding: 0.75rem 1rem 2.5rem; }
  .hero-left-col { max-width: 100%; }
  .hero-studio-content { padding: 0 16px; }
  .hero-studio h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero-studio-lead { font-size: 15px; }
  .proof-stage { padding: 2rem 1rem; margin-top: 2.5rem; overflow-x: hidden; overflow-y: visible; }
  .proof-stack { height: 440px; overflow: visible; }
  .proof-card { width: min(400px, 85vw); }
  .proof-card.pos-2 { left: 50px; top: -24px; transform: scale(0.96) rotateY(-5deg) rotateX(4deg) translateZ(30px); }
  .proof-card.pos-3 { left: 105px; top: 8px; transform: scale(0.92) rotateY(-5deg) rotateX(3deg) translateZ(20px); }
  .proof-card.pos-4 { left: 160px; top: 42px; transform: scale(0.88) rotateY(-4deg) rotateX(4deg) translateZ(10px); }
  .proof-card-tag { font-size: 0.75rem; padding: 4px 8px; }
}

@media (max-width: 575.98px) {
  .hero-studio .row { padding: 0.5rem 0.75rem 2rem; min-height: 100vh; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-studio-content { padding: 0 14px; }
  .hero-studio h1 { font-size: clamp(1.35rem, 7vw, 1.75rem); margin-bottom: 0.75rem; }
  .hero-studio-lead { font-size: 14px; margin-bottom: 1.25rem; }
  .hero-studio-since { white-space: normal; }
  .btn-cta { min-height: 42px; padding: 0 1.25rem; font-size: 0.85rem; }
  .hero-trust-row { margin-top: 1rem; gap: 0.75rem 1rem; }
  .hero-trust-icon { width: 16px; height: 16px; }
  .proof-stage { padding: 1.5rem 0.75rem; margin-top: 2rem; overflow-x: hidden; overflow-y: visible; }
  .proof-stack { height: 380px; overflow: visible; }
  .proof-card { width: min(300px, 88vw); }
  .proof-card.pos-2 { left: 38px; top: -22px; }
  .proof-card.pos-3 { left: 82px; top: 6px; }
  .proof-card.pos-4 { left: 125px; top: 36px; }
  .proof-card-tag { font-size: 0.65rem; padding: 4px 8px; }
}

/* ========== Overlays с градиентами + Windows (все index: hub, mobile, pc, vr) ========== */
.capabilities-studio::after { display: none !important; }
.capabilities-studio { position: relative; }
.capabilities-fade-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(0,0,0,1.44) 70%, rgba(0,0,0,1) 100%);
}
.process-studio .process-studio-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}
.process-fade-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(255,255,255,1.44) 70%, rgba(255,255,255,1) 100%);
}
.infra-fade-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(255,255,255,1.44) 70%, rgba(255,255,255,1) 100%);
}
.proof-fade-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1.44) 50%, rgba(0,0,0,0) 100%);
}
.contact-studio .contact-studio-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}
.contact-fade-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(255,255,255,1.44) 70%, rgba(255,255,255,1) 100%);
}
html.os-windows .hero-fade-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.28) 35%, rgba(255,255,255,0) 45%, rgba(0,0,0,0) 100%);
}
html.os-windows .capabilities-fade-overlay {
  background: radial-gradient(circle, rgba(255,255,255,0) 60%, rgba(0,0,0,1) 80%, rgba(0,0,0,1) 100%);
}
html.os-windows .process-fade-overlay {
  background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(0,0,0,0.03) 60%, rgba(255,255,255,1) 100%);
}
html.os-windows .infra-fade-overlay {
  background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(0,0,0,0.03) 60%, rgba(255,255,255,1) 100%);
}
html.os-windows .proof-fade-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
}
html.os-windows .contact-fade-overlay {
  background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(0,0,0,0.03) 60%, rgba(255,255,255,1) 100%);
}

/* Hero: при бургере (≤992px) центрирование контента как на hub — все index */
@media (max-width: 991.98px) {
  #hero.hero-studio .row { flex-direction: column; align-items: center; }
  #hero .hero-left-col {
    width: 100%; max-width: 640px; margin-left: auto; margin-right: auto;
    display: flex; justify-content: center; min-height: auto; padding: 0; background: transparent;
  }
  #hero .hero-left-col::before,
  #hero .hero-left-col::after { display: none !important; }
  #hero .hero-studio-content { justify-content: center; text-align: center; padding: 0 24px; }
  #hero .hero-copy { text-align: center; max-width: 100%; }
}
