:root {
  --bg: #0a0c10;
  --text: #f5f7fa;
  --muted: #a7b0bd;
  --accent: #ffffff;
  --accent-2: #ffffff;
  --card: rgba(16, 19, 26, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10%;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.05), transparent 50%),
    radial-gradient(circle at 45% 80%, rgba(255, 255, 255, 0.03), transparent 60%);
  z-index: 0;
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  0% {
    transform: translateY(-12px) scale(1);
  }
  100% {
    transform: translateY(12px) scale(1.04);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealIn {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sectionSpotlight {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  40% {
    transform: translateY(-2px);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

.jump-focus {
  animation: sectionSpotlight 900ms var(--ease-out) both;
  border-radius: 18px;
  position: relative;
  isolation: isolate;
  z-index: 0;
}

.jump-focus::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0;
  animation: fadeInGlow 900ms var(--ease-out) both;
  pointer-events: none;
  z-index: -1;
}

@keyframes fadeInGlow {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes navPulse {
  0% {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0);
    border-color: rgba(255, 255, 255, 0);
  }
  40% {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
  }
  100% {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0);
    border-color: rgba(255, 255, 255, 0);
  }
}

.nav-links a.nav-pulse {
  animation: navPulse 520ms var(--ease-out);
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}

header,
main,
footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: relative;
  z-index: 20;
}

.nav-shell {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 36px));
  z-index: 20;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(15, 19, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px) saturate(160%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: floatIn 700ms var(--ease-out) both;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.2),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(255, 255, 255, 0.12),
      transparent 40%
    );
  opacity: 0.65;
  pointer-events: none;
}

.nav > * {
  position: relative;
  z-index: 1;
}

.nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav .logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(9, 11, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nav .logo .logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nav .logo .logo-text {
  font-family: "Unbounded", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  color: var(--text);
  line-height: 1;
}

.nav .logo:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  outline: none;
}

.nav-links a.active {
  background: var(--accent);
  color: #0a0c10;
  border-color: var(--accent);
}

.nav-cta {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 8vw 120px;
}

.hero-inner {
  max-width: 780px;
  animation: floatIn 900ms var(--ease-out) both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  justify-content: center;
}

.hero-chips span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 11, 15, 0.55);
  color: var(--muted);
  font-size: 0.85rem;
}

.platform-logos {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 14px 8vw 4px;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.logo-carousel-shell {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 30px) 26px;
  border-radius: 18px;
  background: rgba(13, 16, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(140%);
}

.platform-logos-title {
  margin: 0 0 16px;
  text-align: center;
  color: rgba(245, 247, 250, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.45;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.logo-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* Wave pattern animation */
.logo-carousel-item {
  position: relative;
}

/* Create a wave effect - each logo moves up and down in sequence */
.logo-carousel-item:nth-child(1) { animation: waveMove 4s ease-in-out infinite; }
.logo-carousel-item:nth-child(2) { animation: waveMove 4s ease-in-out infinite 0.5s; }
.logo-carousel-item:nth-child(3) { animation: waveMove 4s ease-in-out infinite 1s; }
.logo-carousel-item:nth-child(4) { animation: waveMove 4s ease-in-out infinite 1.5s; }
.logo-carousel-item:nth-child(5) { animation: waveMove 4s ease-in-out infinite 2s; }
.logo-carousel-item:nth-child(6) { animation: waveMove 4s ease-in-out infinite 2.5s; }
.logo-carousel-item:nth-child(7) { animation: waveMove 4s ease-in-out infinite 3s; }
.logo-carousel-item:nth-child(8) { animation: waveMove 4s ease-in-out infinite 3.5s; }

@keyframes waveMove {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 380px) {
  .logo-carousel-track {
    grid-template-columns: 1fr;
  }
}

.logo-carousel-track::-webkit-scrollbar {
  display: none;
}

.logo-carousel-track.is-dragging {
  cursor: default;
  user-select: none;
}

.logo-carousel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 6px 4px;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 1;
}

.logo-carousel-item--vevo .logo-link img {
  max-height: 34px;
  max-width: 100%;
}

.logo-link img {
  display: block;
  max-width: min(160px, 100%);
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.94;
  transition: opacity 0.2s ease;
}

.logo-carousel-item-pair {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 11px;
  place-items: unset;
  min-width: min(168px, 42vw);
}

.logo-carousel-pair-icon {
  flex-shrink: 0;
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-carousel-item-pair--minecraft .logo-carousel-pair-icon.logo-carousel-mono {
  width: 40px;
  height: 40px;
}

.logo-carousel-pair-svg {
  color: var(--text);
  opacity: 0.95;
}

.logo-carousel-pair-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0.95;
}

.logo-carousel-item-pair--minecraft .logo-carousel-pair-name {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-carousel-item-pair img {
  opacity: 0.94;
  transition: opacity 0.2s ease;
}

/* Black / colored SVG sources → white to match other logos on dark strip */
.logo-carousel-item img.logo-carousel-mono {
  filter: brightness(0) invert(1);
}

.logo-carousel-item img.logo-carousel-minecraft {
  filter: grayscale(1) brightness(1.55) contrast(1.15);
}

.logo-carousel-item-pair img.logo-carousel-mono {
  max-width: none;
}

.logo-carousel-item:hover .logo-link img {
  opacity: 1;
}

.logo-carousel-item-pair:hover .logo-carousel-pair-icon,
.logo-carousel-item-pair:hover .logo-carousel-pair-name,
.logo-carousel-item-pair:hover .logo-carousel-pair-svg {
  opacity: 1;
}

.logo-obscured-label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background: rgba(9, 11, 15, 0.45);
  color: rgba(245, 247, 250, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 19, 28, 0.65);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  backdrop-filter: blur(26px) saturate(160%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.logo-carousel-arrow:hover:not(:disabled) {
  background: rgba(20, 24, 32, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.logo-carousel-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.logo-carousel-arrow-prev {
  left: clamp(10px, 3vw, 18px);
}

.logo-carousel-arrow-next {
  right: clamp(10px, 3vw, 18px);
}

@media (max-width: 520px) {
  .logo-carousel-shell {
    padding-inline: 20px;
  }

  .logo-carousel-arrow {
    width: 36px;
    height: 36px;
  }
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0c10;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), filter 220ms var(--ease-out);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.section {
  padding: 70px 8vw;
  scroll-margin-top: 120px;
}

#services {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 24px;
  padding-top: 120px;
  padding-bottom: 120px;
}

#proof {
  padding-top: 120px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 28px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-heading p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.service-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(13, 16, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(140%);
  display: grid;
  gap: 12px;
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card h3 {
  font-family: "Unbounded", sans-serif;
  font-size: 1.1rem;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.service-card ul li::before {
  content: "-";
  color: var(--accent);
  margin-right: 8px;
}

.proof {
  padding-top: 20px;
}

.channels {
  padding-top: 40px;
}

.channels-kicker {
  display: inline-flex;
  margin: 0 auto 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.channels-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  padding: 16px;
  border-radius: 18px;
  background: rgba(13, 16, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(140%);
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out), background 260ms var(--ease-out);
  min-width: 0;
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.channel-card img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(9, 11, 15, 0.7);
  flex-shrink: 0;
}

.channel-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.channel-card div {
  min-width: 0;
}

.channels-more-note {
  width: 100%;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: rgba(245, 247, 250, 0.78);
  font-size: 0.88rem;
  letter-spacing: 0.2px;
}

.channels-more-note::before,
.channels-more-note::after {
  content: "";
  height: 1px;
  width: clamp(48px, 8vw, 110px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.studio-mockup {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 20px;
  border-radius: 28px;
  padding: 22px;
  background: rgba(13, 16, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow);
}

.studio-sidebar {
  border-radius: 20px;
  padding: 18px;
  background: rgba(9, 11, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 18px;
  align-content: start;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px;
}

.studio-brand span {
  font-weight: 600;
}

.studio-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.studio-nav {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.studio-nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.studio-nav svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.studio-nav span.active svg {
  stroke: var(--accent);
}

.studio-nav span.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.studio-pill {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 15, 0.55);
  color: var(--muted);
  font-size: 0.85rem;
}

.studio-main {
  border-radius: 20px;
  padding: 22px;
  background: rgba(9, 11, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 18px;
}

.studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.studio-topbar h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 1.3rem;
}

.studio-range {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.8rem;
}

.studio-headline h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}

.studio-headline h3 span {
  color: var(--accent);
  font-weight: 700;
}

.studio-headline p {
  color: var(--muted);
  margin-top: 6px;
}

.studio-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.studio-stat {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 13, 0.6);
  display: grid;
  gap: 6px;
}

.studio-stat span {
  color: var(--muted);
  font-size: 0.8rem;
}

.studio-stat strong {
  font-size: 1.2rem;
}

.stat-value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-arrow {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  background: rgba(164, 255, 61, 0.15);
  color: #a4ff3d;
  border: 1px solid rgba(164, 255, 61, 0.3);
}

.studio-graph {
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(9, 11, 15, 0.7), rgba(9, 11, 15, 0.35));
  overflow: hidden;
  position: relative;
}

.studio-graph-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: rgba(245, 247, 250, 0.86);
}

.studio-graph-sub {
  color: rgba(167, 176, 189, 0.9);
  font-size: 0.75rem;
}

.studio-graph-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 10px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.studio-graph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 34px
  );
  opacity: 0.18;
}

.studio-graph svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.studio-line-chart {
  max-height: 110px;
}

.studio-mini-chart {
  max-height: 78px;
}

@media (max-width: 720px) {
  .studio-line-chart {
    max-height: 96px;
  }
  .studio-mini-chart {
    max-height: 70px;
  }
}

.studio-mini-chart {
  margin-top: 2px;
}

.studio-mini-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.studio-mini-fill {
  fill: url(#studioMiniFill);
  opacity: 0;
}

.reveal.in-view .studio-mini-path {
  animation: draw 1.8s ease forwards;
}

.reveal.in-view .studio-mini-fill {
  animation: fadeIn 1.8s ease forwards;
}

.studio-path {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.studio-fill {
  fill: url(#studioFill);
  opacity: 0;
}

.reveal.in-view .studio-path {
  animation: draw 2.2s ease forwards;
}

.reveal.in-view .studio-fill {
  animation: fadeIn 2.2s ease forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.contact {
  padding-bottom: 110px;
}

.form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(13, 16, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(140%);
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(245, 247, 250, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.field.full {
  grid-column: span 2;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(7, 9, 13, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3path stroke='%23a4ff3d' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.form select option {
  background: rgba(7, 9, 13, 0.95);
  color: var(--text);
  padding: 8px;
}

.turnstile {
  padding: 4px 0 0;
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

@keyframes statusPop {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes statusShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
  75% {
    transform: translateX(-2px);
  }
}

.form-status.status-success {
  animation: statusPop 420ms var(--ease-out);
}

.form-status.status-error {
  animation: statusShake 420ms var(--ease-out);
}

.button.is-loading {
  opacity: 0.78;
  pointer-events: none;
  transform: translateY(0);
}

.button.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border-radius: 999px;
  border: 2px solid rgba(9, 11, 15, 0.35);
  border-top-color: rgba(9, 11, 15, 0.85);
  display: inline-block;
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.footer {
  padding: 24px 8vw 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: none;
  will-change: opacity, transform;
}

.reveal.in-view {
  animation: revealIn 900ms var(--ease-out) both;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 104px;
  }

  .nav-links {
    display: none;
  }

  .nav {
    padding: 10px 16px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .section {
    padding: 60px 6vw;
  }

  #services {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 96px;
  }

  .hero {
    padding: 150px 6vw 90px;
    min-height: auto;
  }

  .studio-mockup {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .studio-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: span 1;
  }

  .form {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .studio-stats {
    grid-template-columns: 1fr;
  }

  .studio-main {
    padding: 18px;
  }

  .studio-sidebar {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav,
  .hero-inner {
    animation: none;
  }

  .jump-focus {
    animation: none;
  }

  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .reveal.in-view .studio-path,
  .reveal.in-view .studio-fill {
    animation: none;
  }
}
