@import url('https://fonts.cdnfonts.com/css/overused-grotesk');

:root {
  --bg-primary: #030305;
  --bg-secondary: #0a0a0f;
  --bg-tertiary: #13131c;
  --bg-overlay: rgba(3, 3, 5, 0.85);

  --text-primary: #ffffff;
  --text-secondary: #e1e1e1;
  --text-muted: #8a8a9f;

  --accent-primary: #5a54f9;
  --accent-hover: #453ecb;
  --accent-glow: rgba(90, 84, 249, 0.4);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(90, 84, 249, 0.3);

  --font-main: 'Overused Grotesk', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.text-hero {
  font-size: clamp(2rem, 5vw, 3.8rem);
  /* Slightly smaller than before */
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(to right, #ffffff, #a5a5b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.05em;
  text-transform: uppercase;
}

.text-h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.text-h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
}

.text-h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
}

.text-body-lg {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-body {
  font-size: 1rem;
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a5a5b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.05em;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  background: #6e68ff;
  box-shadow: 0 10px 20px rgba(90, 84, 249, 0.3);
}

.btn-secondary {
  background-color: rgba(90, 84, 249, 0.05);
  color: #e0e0e0;
  border: 1px solid rgba(90, 84, 249, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(90, 84, 249, 0.1);
  border-color: rgba(90, 84, 249, 0.4);
  color: #fff;
  transform: translateY(-3px);
}



.btn-with-icon:hover::after {
  transform: translateX(6px);
}

/* Sticky CTA styles removed */

/* ==========================================================================
   Background Gradients & Glows
   ========================================================================== */
.bg-glow-1 {
  position: absolute;
  top: -5%;
  left: 0;
  width: 40vw;
  height: 50vw;
  background: radial-gradient(circle at 0% 50%, rgba(90, 84, 249, 0.15) 0%, rgba(3, 3, 5, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.bg-glow-2 {
  position: absolute;
  top: 40%;
  right: 0;
  width: 40vw;
  height: 60vw;
  background: radial-gradient(circle at 100% 50%, rgba(90, 84, 249, 0.08) 0%, rgba(3, 3, 5, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

.bg-glow-3 {
  position: absolute;
  bottom: -10%;
  left: 20%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(3, 3, 5, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  z-index: 100;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

.site-header.sticky {
  background-color: rgba(3, 3, 5, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-sm) 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.site-header.sticky .site-logo img {
  height: 38px;
}

.site-header.sticky .nav-btn {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(90, 84, 249, 0.25);
}

.site-header.sticky .nav-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 30px rgba(90, 84, 249, 0.45);
  transform: translateY(-1px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 40px;
  width: auto;
  transition: height 0.3s ease;
}

@media (min-width: 768px) {
  .site-logo img {
    height: 56px;
  }
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Layout Sections
   ========================================================================== */
section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* --- Section 1: Hero --- */
.hero-section {
  min-height: 85vh;
  /* Reduced from 100vh to pull logos up */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-2xl);
  /* Changed to top space variable to ensure header clearance */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.hero-subline {
  margin-top: 1.5rem;
  /* Reduced from 2.5rem */
  margin-bottom: 2rem;
  /* Reduced from 3rem */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.credibility-row {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: 1.5rem;
  /* Reduced to bring CTAs closer */
  flex-wrap: wrap;
  font-weight: 500;
  color: var(--text-muted);
}

.credibility-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px; /* Prevents shifting during number animation */
}

.credibility-value {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-md);
}

.logo-strip {
  margin-top: 2rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Edge fade effect */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  width: max-content;
  padding: 0 var(--space-md);
  animation: logo-scroll-right 30s linear infinite;
}

@keyframes logo-scroll-right {
  0% {
    transform: translateX(calc(-50% - (var(--space-xl) / 2)));
  }

  100% {
    transform: translateX(0);
  }
}

.logo-strip-inner:hover {
  animation-play-state: paused;
}

.logo-strip-inner img {
  height: 54px; /* Fixed height to prevent layout shift */
  width: 156px; /* Fixed width to prevent layout shift */
  object-fit: contain;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .logo-strip-inner img {
    height: 60px;
    width: 176px;
  }
}

/* --- Section 2: Case Studies --- */
.section-header {
  text-align: left;
  margin-bottom: var(--space-lg);
  max-width: 800px;
}

.section-header .text-body-lg {
  margin-top: var(--space-sm);
}

/* --- Editorial Stack (Replaces old cards) --- */
.editorial-stack {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-bottom: 4rem;
}

.ed-case {
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
  position: relative;
}

.ed-case.reverse {
  flex-direction: row-reverse;
}

.ed-case-img {
  flex: 1.2;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.ed-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ed-case:hover .ed-case-img img {
  transform: scale(1.03);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.ed-case:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ed-case:hover .play-icon {
  transform: scale(1);
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 20px var(--accent-glow);
}

.play-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 6px;
}

.ed-case-content {
  flex: 1;
  padding: 0;
}

.ed-case-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.ed-case-stats {
  margin-bottom: var(--space-lg);
}

.ed-case-stats li {
  font-size: 1.15rem;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-case-stats li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-case-stats strong {
  color: #fff;
}

/* .ed-case-action styles removed, using .btn .btn-secondary in HTML instead */

.card-img-wrapper {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

.card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .play-icon {
  transform: scale(1);
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 20px var(--accent-glow);
}

.play-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  margin-left: 4px;
}

.card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  margin-bottom: 4px;
  color: #fff;
}

.card-subtitle {
  font-size: 0.95rem;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.card-stats {
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.card-stats li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.card-stats li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.card-action {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.card:hover .card-action {
  color: var(--accent-primary);
}

/* --- Section 3: The Problem (Sticky Scroll) --- */
.problem-section {
  position: relative;
  padding: var(--space-xl) 0;
}

.problem-sticky-container {
  display: flex;
  gap: var(--space-2xl);
  position: relative;
}

.problem-sticky-left {
  flex: 1;
  position: sticky;
  top: 30vh;
  align-self: flex-start;
  max-width: 450px;
}

.problem-scroll-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: 6vh;
  padding-bottom: 12vh;
  min-height: 120vh;
  /* Ensures enough scroll distance for sticky */
}

.ed-pain {
  max-width: 600px;
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s ease;
}

.ed-pain.active {
  background: linear-gradient(145deg, rgba(90, 84, 249, 0.06), rgba(90, 84, 249, 0.01));
  border-color: rgba(90, 84, 249, 0.25);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
}

.ed-pain .text-h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.pain-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.pain-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  color: #fff;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.pain-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ed-pain.active .pain-toggle {
  background: rgba(90, 84, 249, 0.15);
  border-color: rgba(90, 84, 249, 0.4);
  color: #a49ffd;
}

.toggle-icon {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

.ed-pain.active .toggle-icon {
  transform: rotate(45deg);
}

.pain-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.ed-pain.active .pain-body {
  max-height: 300px;
  opacity: 1;
  margin-top: 1rem;
}

.ed-pain .text-body-lg {
  opacity: 0.65;
  font-size: 1rem !important;
  line-height: 1.6;
}

.problem-closing {
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  z-index: 10;
  background: radial-gradient(ellipse at center, rgba(90, 84, 249, 0.08) 0%, rgba(3, 3, 5, 0) 70%);
}

.closing-text {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  max-width: 900px;
  text-align: center;
  color: #fff;
}

/* --- Section 4: How We Deliver (Delivery Cards) --- */
.delivery-cards {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.delivery-card {
  display: flex;
  align-items: stretch;
  min-height: 400px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 2.5rem;
}

.delivery-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.delivery-card:nth-child(even) {
  flex-direction: row-reverse;
}

.delivery-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 3rem;
}

.delivery-card:nth-child(even) .delivery-text {
  padding-right: 0;
  padding-left: 3rem;
}

.delivery-badge {
  display: inline-block;
  width: fit-content;
  background: rgba(76, 71, 233, 0.15);
  color: #8B85FF;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8125rem;
  /* 13px */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.delivery-text h3 {
  font-size: 3rem;
  /* 48px */
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.delivery-text>p {
  font-size: 1.125rem;
  /* 18px */
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.delivery-detail {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted) !important;
  font-size: 1rem !important;
  /* 16px minimum */
  line-height: 1.7 !important;
}

.delivery-img {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.delivery-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

@media (max-width: 900px) {

  .delivery-card,
  .delivery-card:nth-child(even) {
    flex-direction: column;
    min-height: auto;
    gap: 2rem;
  }

  .delivery-text,
  .delivery-card:nth-child(even) .delivery-text {
    padding-right: 0;
    padding-left: 0;
  }

  .delivery-img {
    flex: none;
    max-width: 100%;
    padding: 0;
  }
}

/* --- Section 5: The Work --- */
.work-section {
  position: relative;
  overflow: hidden;
}

/* --- Video Carousel System --- */
.video-carousel-section {
  margin-bottom: 1rem;
}

.video-carousel-section-secondary {
  margin-top: 3rem;
}

.carousel-header {
  margin-bottom: 2rem;
}

.video-carousel {
  position: relative;
}

.video-carousel-viewport {
  overflow: hidden;
}

.video-carousel-grid {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-carousel-item {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Reels: 4 per page desktop */
.video-carousel-grid-reels .video-carousel-item {
  width: 25%;
  padding: 0 0.5rem;
}

.video-carousel-item-reel {
  aspect-ratio: 9/16;
}

/* Long-form: 2 per page desktop */
.video-carousel-grid-longform .video-carousel-item {
  width: 50%;
  padding: 0 0.5rem;
}

.video-carousel-item-long {
  aspect-ratio: 16/9;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
}

.carousel-nav-btn:hover:not(:disabled) {
  border-color: var(--accent-primary);
  background: rgba(90, 84, 249, 0.1);
  color: var(--accent-primary);
}

.carousel-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.carousel-nav-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-page-indicator {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  min-width: 3rem;
  text-align: center;
}

/* Placeholder shimmer for unloaded video slots */
.video-carousel-item:empty {
  background: linear-gradient(90deg, #0a0a0f 25%, #13131c 50%, #0a0a0f 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}

@media (max-width: 768px) {
  .video-carousel-grid-reels .video-carousel-item {
    width: 100%;
  }

  .video-carousel-grid-longform .video-carousel-item {
    width: 100%;
  }
}

.swiper-strip {
  margin-bottom: 3rem;
}

.swiper-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.swiper-strip-header h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.swiper {
  width: 100%;
  padding-bottom: 1.5rem !important;
  overflow: hidden !important;
}

.swiper-slide {
  height: auto;
}

wistia-player {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

wistia-player[media-id]:not(:defined) {
  display: block;
  padding-top: 177.78%;
  background: linear-gradient(90deg, #0a0a0f 25%, #13131c 50%, #0a0a0f 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: 12px;
}

wistia-player[aspect="1.7778"]:not(:defined) {
  padding-top: 56.25% !important;
  aspect-ratio: 16/9;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* --- Longform Video Marquee styles --- */

.reels-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.reels-nav-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.reels-nav-btn:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.reels-nav-btn svg {
  width: 16px;
  height: 16px;
  fill: white;
}

@media (max-width: 767px) {
  .reels-swiper {
    overflow: visible !important;
  }

  .reels-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    transform: none !important;
  }

  .reels-swiper .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .reels-nav {
    display: none;
  }
}

/* Static Grids (Longform & Podcasts) */
.static-grid {
  display: grid;
  gap: 20px;
}

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

.podcast-item {
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .static-grid-3 {
    grid-template-columns: 1fr;
  }
}

.longform-card {
  aspect-ratio: 16/9;
  border-radius: 12px;
}

.podcast-card {
  aspect-ratio: 1;
  border-radius: 12px;
}

.podcast-card .card-img-wrapper {
  aspect-ratio: 1;
}

.podcast-info {
  margin-top: 0.75rem;
}

.podcast-info h5 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.podcast-info p {
  font-size: 1rem;
}

/* --- Section 6: Engagement Models --- */
#models {
  position: relative;
  overflow: hidden;
}

.models-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  max-width: 1600px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

#models .container {
  position: relative;
  z-index: 1;
}

.editorial-split {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.split-col {
  flex: 1;
  padding: 2.5rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.split-col.dfy {
  border-color: rgba(90, 84, 249, 0.3);
}

.split-col:first-child {
  /* Removed border right */
}

.split-header {
  margin-bottom: 1.5rem;
}

.split-header h3 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.15;
}

.split-header p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.ed-list {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.ed-list>li {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.55;
}

.ed-list>li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ed-list ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.ed-list ul li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  position: relative;
  border: none;
  padding: 0;
}

.ed-list ul li::before {
  content: '—';
  position: absolute;
  left: -1.25rem;
  color: rgba(255, 255, 255, 0.15);
}

.split-footer {
  padding: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: none;
}

.dfy .split-footer {
  background: linear-gradient(to top, rgba(90, 84, 249, 0.12) 0%, rgba(90, 84, 249, 0.03) 100%);
  border: none;
}

.split-footer p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.split-cta {
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: -0.01em;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* --- Section 7: Testimonials --- */
.video-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-section .container {
  position: relative;
  z-index: 1;
}

.testimonials-glow {
  position: absolute;
  top: 0;
  right: -20%;
  width: 800px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Bento Testimonial Layout */
.testimonial-bento {
  column-count: 3;
  column-gap: 1rem;
}

.bento-video {
  display: flex;
  flex-direction: column;
  break-inside: avoid;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 0.75rem;
}

.bento-video-player {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
}

.bento-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(76, 71, 233, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.bento-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(76, 71, 233, 1);
}

.bento-video-info {
  padding: 1.25rem 0 0;
}

.bento-video-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.bento-video-info p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Text Testimonials Column */
/* Removed .bento-texts wrapper styling since everything flows in .testimonial-bento now */

.bento-text-card {
  break-inside: avoid;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-text-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.bento-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.bento-quote-wrapper {
  margin-bottom: 1rem;
}

.bento-quote.truncate-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-quote-wrapper.expanded .bento-quote.truncate-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--accent-primary, #5a54f9);
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.read-more-btn:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.bento-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bento-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #3b36a8 100%);
}

.bento-author h5 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1px;
}

.bento-author p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonial-bento {
    display: flex;
    flex-direction: column;
  }

  .bento-video-player {
    aspect-ratio: 16/9;
  }
}

/* --- Section 8: Final CTA --- */
.final-cta-section {
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.cta-glow-left {
  bottom: -20%;
  left: -10%;
  transform: scaleX(-1);
}

.cta-glow-right {
  top: -20%;
  right: -10%;
}

.final-cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
}

.cta-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.cta-heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-subtext {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto 2rem;
}

.cta-main-btn {
  font-size: 1.125rem;
  padding: 16px 48px;
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 0 40px rgba(76, 71, 233, 0.3);
  transition: all 0.3s ease;
}

.cta-main-btn:hover {
  box-shadow: 0 0 60px rgba(76, 71, 233, 0.5);
  transform: translateY(-2px);
}

.cta-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* --- Section 9: Footer --- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-link {
  transition: color 0.3s ease;
  color: inherit;
}

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

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.15);
}

.dev-credit-link {
  font-size: 8px; /* Extremely tiny but crawlable */
  font-weight: 500;
  letter-spacing: 0.12em; /* Premium typography styling for uppercase */
  opacity: 0.3;
  transition: all 0.3s ease;
  padding-left: 2px; /* Perfect visual alignment with the logo graphics */
}

.dev-credit-link:hover {
  opacity: 0.95;
  color: var(--accent-primary) !important;
}

/* ==========================================================================
   YouTube Modal
   ========================================================================== */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.yt-modal.active {
  opacity: 1;
  visibility: visible;
}

.yt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.yt-modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  aspect-ratio: 16/9;
  z-index: 1;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.yt-modal.active .yt-modal-content {
  transform: scale(1);
}

.yt-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-modal-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

#yt-player {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --space-2xl: 6rem;
    --space-xl: 4.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 6rem;
    /* 96px */
    --space-xl: 3rem;
    /* 48px — section padding */
    --space-lg: 2rem;
    /* 32px */
    --space-md: 1.5rem;
    /* 24px */
  }

  /* Bypass delayed scroll-reveal animations on mobile for instant rendering and high performance */
  .gs-reveal,
  .gs-pain,
  .closing-text,
  .problem-closing {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* ==============================================
     TYPE SCALE — Major Third (1.25x)
     32px → 26px → 20px → 16px → 14px → 12px
     ============================================== */
  .text-hero {
    font-size: 2rem;
    /* 32px */
    line-height: 1.1;
  }

  .text-h2 {
    font-size: 2rem;
    /* 32px — same as hero */
    line-height: 1.1;
  }

  .text-h3 {
    font-size: 1.375rem;
    /* 22px */
  }

  .text-h4 {
    font-size: 1.125rem;
    /* 18px */
  }

  .text-body-lg {
    font-size: 1rem;
    /* 16px */
    line-height: 1.65;
  }

  /* ==============================================
     SPACING — 8px grid
     8 · 16 · 24 · 32 · 40 · 48 · 64 · 80
     Sections: 48px top + 48px bottom = 96px gap
     ============================================== */
  section {
    padding: 3rem 0;
    /* 48px */
  }

  .section-header {
    margin-bottom: 2rem;
    /* 32px */
  }

  .container {
    padding: 0 1.25rem;
    /* 20px */
  }

  /* ---- Hero ---- */
  .hero-section {
    padding-top: 5.5rem;
    min-height: auto;
  }

  .hero-subline {
    margin-top: 0.75rem;
    /* 12px — tight to hero */
    margin-bottom: 2rem;
    /* 32px */
    font-size: 1rem;
  }

  .credibility-row {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    /* 24px */
    margin-bottom: 2rem;
    /* 32px */
  }

  .credibility-value {
    font-size: 2rem;
    /* 32px */
  }

  .credibility-item {
    font-size: 0.875rem;
    /* 14px */
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
    /* 12px */
  }

  .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    /* 16px */
  }

  .logo-strip {
    margin-top: 2.5rem;
    /* 40px */
  }

  .logo-strip-inner img {
    max-height: 38px;
    width: 120px;
  }

  /* ---- Case Studies ---- */
  .editorial-stack {
    gap: 4rem;
    /* 64px between cases */
    margin-bottom: 2rem;
  }

  .ed-case {
    flex-direction: column;
    gap: 1.5rem;
    /* 24px image-to-content */
  }

  .ed-case.reverse {
    flex-direction: column;
  }

  .ed-case-img {
    width: 100%;
  }

  .ed-case-content h3 {
    font-size: 1.625rem;
    /* 26px */
  }

  .ed-case-stats {
    margin-bottom: 1.5rem;
    /* 24px */
  }

  .ed-case-stats li {
    font-size: 1rem;
    /* 16px */
    padding: 0.5rem 0;
    /* 8px */
  }

  .ed-case-action {
    font-size: 1rem;
    /* 16px */
    padding: 14px 24px;
    width: auto;
  }

  .card-subtitle {
    font-size: 0.875rem !important;
    /* 14px */
    margin-bottom: 1rem !important;
    /* 16px */
  }

  /* ---- Problem ("Here's what breaks") ---- */
  .problem-section {
    padding: 3rem 0;
    /* 48px */
  }

  .problem-sticky-container {
    flex-direction: column;
    gap: 1.5rem;
    /* 24px */
  }

  .problem-sticky-left {
    position: static;
    max-width: 100%;
  }

  .problem-scroll-right {
    padding-top: 0;
    padding-bottom: 0;
    gap: 1.5rem;
    min-height: auto;
    /* 24px between pain points */
  }

  .ed-pain {
    padding: 1.5rem 1.25rem;
  }

  .ed-pain .text-h3 {
    font-size: 1.375rem;
    /* 22px */
  }

  .ed-pain p {
    font-size: 1rem;
    /* 16px */
    margin-top: 0.5rem !important;
    /* 8px */
    opacity: 0.6;
  }

  .closing-text {
    font-size: 2rem;
    /* 32px — matches hero */
  }

  .problem-closing {
    min-height: 60vh;
    padding: 3rem 1.5rem;
    /* 48px / 24px */
  }

  /* ---- Delivery Cards ---- */
  .delivery-cards {
    gap: 3rem;
    /* 48px */
  }

  .delivery-card {
    flex-direction: column !important;
    gap: 1.5rem;
    /* 24px */
    padding-bottom: 3rem;
    /* 48px */
    min-height: auto;
  }

  .delivery-text,
  .delivery-card:nth-child(even) .delivery-text {
    padding-right: 0;
    padding-left: 0;
    align-items: flex-start;
  }

  .delivery-badge {
    margin-bottom: 0.5rem;
    /* 8px */
    padding: 5px 14px;
    font-size: 0.75rem;
    /* 12px */
  }

  .delivery-text h3 {
    font-size: 1.625rem;
    /* 26px */
    margin-bottom: 0.5rem;
    /* 8px */
  }

  .delivery-text>p {
    font-size: 1rem;
    /* 16px */
  }

  .delivery-detail {
    margin-top: 1rem;
    /* 16px */
    padding-top: 1rem;
    /* 16px */
    font-size: 0.875rem !important;
    /* 14px */
  }

  .delivery-img {
    padding: 0;
  }

  /* ---- Work Section ---- */
  .work-section {
    padding: 3rem 0;
    /* 48px */
  }

  .swiper-strip {
    margin-bottom: 2.5rem;
    /* 40px */
  }

  .swiper-strip-header {
    margin-bottom: 1rem;
    /* 16px */
  }

  .swiper-strip-header h3 {
    font-size: 1.25rem;
    /* 20px */
  }

  /* ---- Engagement Models ---- */
  #models {
    padding: 3rem 0;
    /* 48px */
  }

  .editorial-split {
    flex-direction: column;
    gap: 1.5rem;
    /* 24px */
  }

  .split-col {
    padding: 1.5rem;
    /* 24px */
  }

  .split-col:first-child {
    border-right: none;
    border-bottom: none;
  }

  .split-header {
    margin-bottom: 1.5rem;
    /* 24px */
  }

  .split-header h3 {
    font-size: 1.625rem;
    /* 26px */
  }

  .split-header p {
    font-size: 1rem;
    /* 16px */
    margin-top: 0.5rem !important;
  }

  .ed-list>li {
    font-size: 1rem;
    /* 16px */
    padding: 0.5rem 0;
    /* 8px */
  }

  .ed-list ul li {
    font-size: 0.875rem;
    /* 14px */
  }

  .ed-list {
    margin-bottom: 1.5rem;
    /* 24px */
  }

  .split-footer {
    padding: 1.5rem;
    /* 24px */
  }

  .split-footer p {
    font-size: 1rem;
    /* 16px */
  }

  .split-cta {
    font-size: 1rem;
    padding: 14px 24px;
    margin-top: 1rem !important;
  }

  /* ---- Testimonials ---- */
  .testimonials-section {
    padding: 3rem 0;
    /* 48px */
  }

  .testimonial-bento {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: 1rem;
    /* Space for scroll */
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .testimonial-bento::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
  }

  .bento-video,
  .bento-text-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    max-width: 85%;
    -webkit-tap-highlight-color: transparent;
  }

  .bento-video:hover,
  .bento-text-card:hover {
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.03) !important;
  }

  .bento-video {
    position: relative;
    top: auto;
    order: -1;
    margin-bottom: 0;
    padding: 0.5rem;
    /* 8px */
  }

  .bento-video-player {
    aspect-ratio: auto;
    height: auto;
  }

  .bento-text-card {
    padding: 1.5rem;
    /* 24px */
    margin-bottom: 0;
  }

  .bento-quote {
    font-size: 1rem;
    /* 16px */
    line-height: 1.65;
    margin-bottom: 1rem;
    /* 16px */
  }

  .bento-author img {
    width: 32px;
    height: 32px;
  }

  .bento-author h5 {
    font-size: 0.875rem;
    /* 14px */
  }

  .bento-author p {
    font-size: 0.875rem;
    /* 14px */
  }

  .bento-video-info {
    padding: 1rem 0 0;
    /* 16px */
  }

  .bento-video-info h4 {
    font-size: 1.125rem;
    /* 18px */
  }

  .bento-video-info p {
    font-size: 0.875rem;
    /* 14px */
  }

  /* ---- Final CTA ---- */
  .final-cta-section {
    padding: 4rem 0;
    /* 64px */
  }

  .cta-label {
    font-size: 0.875rem;
    /* 14px */
    margin-bottom: 1rem;
    /* 16px */
  }

  .cta-heading {
    font-size: 2rem;
    /* 32px — same as hero */
    margin-bottom: 1rem;
    /* 16px */
  }

  .cta-subtext {
    font-size: 1rem;
    /* 16px */
    margin-bottom: 2.5rem;
    /* 40px */
  }

  .cta-main-btn {
    font-size: 1rem;
    /* 16px */
    padding: 16px 40px;
    margin-bottom: 1rem;
    /* 16px */
  }

  .cta-note {
    font-size: 0.875rem;
    /* 14px */
  }

  /* ---- Footer ---- */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    /* 8px */
    font-size: 0.875rem;
    /* 14px */
  }

  .footer-logo img {
    height: 36px;
  }

  /* ---- Nav ---- */
  .nav-btn {
    padding: 7px 16px;
    font-size: 0.8125rem;
    /* 13px */
  }

  .site-logo img {
    height: 32px;
  }

  .video-testimonials {
    grid-template-columns: 1fr;
  }

  .yt-modal-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
  }
}

/* Native CSS Scroll Reveal & Parallax Animations (0KB overhead hardware accelerated) */
.gs-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.gs-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.gs-pain {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.gs-pain.revealed {
  opacity: 1;
  transform: translateY(0);
}

.closing-text {
  opacity: 0.15;
  transform: scale(0.96) translateY(15px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.closing-text.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.problem-closing {
  background: radial-gradient(ellipse at center, rgba(90, 84, 249, 0.0) 0%, rgba(3, 3, 5, 0) 70%);
  transition: background 1s ease;
  will-change: background;
}

.problem-closing.revealed {
  background: radial-gradient(ellipse at center, rgba(90, 84, 249, 0.15) 0%, rgba(3, 3, 5, 0) 70%);
}

/* Custom Wistia overlays removed — using default Wistia player UI */
