/* ============================================
   Studio — Dark Cinematic Agency Landing
   Liquid glass morphism + cinematic video
   ============================================ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-heading: 'Instrument Serif', serif;
  --font-body: 'Barlow', sans-serif;
}

html, body {
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; font: inherit; }

/* ─── Liquid Glass (subtle) ─── */
.liquid-glass {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ─── Liquid Glass Strong ─── */
.liquid-glass-strong {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.liquid-glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.2) 80%,
    rgba(255, 255, 255, 0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}


/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.studio-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.studio-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* ── Video background ── */
.studio-video-wrap {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 0;
}
.studio-video-full {
  inset: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform: none;
}
.studio-video {
  opacity: 0;
  transition: opacity 0.5s ease;
  object-fit: cover;
  object-position: top center;
}
.studio-video-wrap .studio-video {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.studio-video-full .studio-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  left: 0;
  transform: none;
  object-position: center;
}

/* ── Navbar ── */
.studio-nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
@media (min-width: 1024px) {
  .studio-nav { padding: 0 64px; }
}

.studio-nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.studio-nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: #fff;
}

.studio-nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  border-radius: 99px;
  padding: 6px 6px 6px 20px;
}
@media (min-width: 768px) {
  .studio-nav-links { display: flex; }
}

.studio-nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.studio-nav-links a:hover { opacity: 0.6; }

.studio-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #000;
  border-radius: 99px;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 16px;
  margin-left: 8px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.studio-nav-cta:hover { opacity: 0.85; transform: scale(1.02); }

.studio-nav-spacer {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* ── Hero Main ── */
.studio-hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 16px 0;
  text-align: center;
}

/* Badge */
.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 99px;
  padding: 8px 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}
.studio-badge-pill {
  background: #fff;
  color: #000;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
}

/* Headline */
.studio-headline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.8;
  letter-spacing: -4px;
  color: #fff;
  max-width: 960px;
  margin-top: 24px;
}
.studio-headline .blur-word {
  display: inline-block;
  margin-right: 0.28em;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(50px);
  transition-property: filter, opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.studio-headline .blur-word.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Subtext */
.studio-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #fff;
  max-width: 640px;
  margin-top: 16px;
  line-height: 1.4;
}

/* CTA Row */
.studio-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.studio-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 99px;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #fff;
  transition: transform 0.2s;
}
.studio-cta-btn:hover { transform: scale(1.03); }

.studio-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 400;
  font-size: 0.9375rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.studio-cta-secondary:hover { opacity: 1; }

/* Stats Cards */
.studio-stats {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.studio-stat-card {
  width: 220px;
  padding: 20px;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.studio-stat-icon {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}
.studio-stat-num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -1px;
  color: #fff;
  margin-top: 16px;
}
.studio-stat-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

/* Trust Bar */
.studio-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 32px;
}
.studio-trust-pill {
  display: inline-block;
  border-radius: 99px;
  padding: 10px 24px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}
.studio-logos {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .studio-logos { gap: 64px; }
}
.studio-logos span {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) {
  .studio-logos span { font-size: 1.875rem; }
}


/* ═══════════════════════════════════════════
   CAPABILITIES SECTION
   ═══════════════════════════════════════════ */
.studio-cap {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}
.studio-cap-content {
  position: relative;
  z-index: 10;
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (min-width: 768px) {
  .studio-cap-content { padding: 96px 64px 40px; }
}
@media (min-width: 1024px) {
  .studio-cap-content { padding: 96px 80px 40px; }
}

/* Header */
.studio-cap-header {
  margin-bottom: auto;
}
.studio-cap-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  display: block;
}
.studio-cap-heading {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -3px;
  color: #fff;
}

/* Cards Grid */
.studio-cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .studio-cards { grid-template-columns: repeat(3, 1fr); }
}

.studio-card {
  border-radius: 1.25rem;
  padding: 24px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  transition-property: filter, opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.studio-card.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.studio-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.studio-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.studio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.studio-tag {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.studio-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.studio-card-spacer {
  flex: 1;
  min-height: 24px;
}

.studio-card-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
  color: #fff;
}
.studio-card-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  max-width: 32ch;
  margin-top: 12px;
}


/* ═══════════════════════════════════════════
   HERO ANIMATIONS
   ═══════════════════════════════════════════ */
.anim-hero {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  transition-property: filter, opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-hero.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
