/* ==========================================================================
   Juniper Island - Main CSS
   Direction 2: Premium Tech Styling
   ========================================================================== */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  /* Colors */
  --color-black: #000;
  --color-white: #fff;
  --color-white-glass: rgba(255, 255, 255, 0.02);
  --color-white-glass-hover: rgba(255, 255, 255, 0.04);
  --color-white-border: rgba(255, 255, 255, 0.08);
  --color-white-border-hover: rgba(255, 255, 255, 0.12);
  --color-gray-light: #f5f5f7;
  --color-gray-medium: #a1a1a6;
  --color-gray-dark: #86868b;
  --color-gray-900: #111827;
  --color-gray-600: #6b7280;
  --color-gray-400: #9ca3af;
  --color-gray-100: #f3f4f6;
  --color-black-glass: rgba(0, 0, 0, 0.3);
  --color-black-glass-hover: rgba(0, 0, 0, 0.4);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-family-system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --font-weight-ultra-thin: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.6s ease;
  
  /* Shadows */
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-system);
  font-feature-settings: 'rlig' 1, 'calt' 1, 'kern' 1, 'liga' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
  min-height: 100vh;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: var(--font-weight-normal);
  line-height: 1.4;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.ultra-thin-title {
  font-weight: var(--font-weight-ultra-thin);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-gray-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}

.ultra-thin-subtitle {
  font-weight: var(--font-weight-light);
  color: var(--color-gray-medium);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}

.stat-number-ultra {
  font-weight: var(--font-weight-ultra-thin);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'tnum' 1;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}

/* Responsive Typography */
.clamp-hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
}

.clamp-hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.clamp-section-title {
  font-size: clamp(3rem, 8vw, 5rem);
}

.clamp-section-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.clamp-work-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.clamp-stat-number {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* ==========================================================================
   Floating Navigation (Direction 7 Inspired)
   ========================================================================== */

.floating-logo {
  position: fixed;
  top: 8%;
  left: -1.4rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.floating-logo:hover {
  opacity: 0.8;
}

.floating-logo img {
  height: 32.2px;
  width: auto;
  transform: rotate(-90deg);
  transform-origin: center;
  filter: invert(1); /* Make logo white for dark background */
}

.floating-nav {
  position: fixed;
  top: 3.3%;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.floating-link {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  transition: all var(--transition-fast);
  padding: 0;
  background: none;
  border: none;
}

.floating-link:hover {
  color: var(--color-white);
  transform: translateX(-4px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .floating-nav {
    top: max(0.25rem, env(safe-area-inset-top, 0px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 1.25rem;
    justify-content: center;
  }

  .floating-link {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 0.625rem;
    padding: 0.25rem 0.25rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.6;
  }

  .floating-link:hover {
    opacity: 1;
    transform: none;
  }

  .floating-logo {
    top: calc(max(0.25rem, env(safe-area-inset-top, 0px)) + 2.25rem);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .floating-logo img {
    height: 20px;
    transform: rotate(0deg); /* Horizontal on mobile */
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: 85vh;
  padding: 0 var(--space-2xl);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.hero-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.02) 0%, transparent 70%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,0.01) 0%, transparent 50%);
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
}

.hero-emphasis {
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.stat:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.stat-number {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 200;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.02) 0%, transparent 70%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,0.01) 0%, transparent 50%);
  pointer-events: none;
  z-index: -3;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #f5f5f7;
  text-align: center;
}

.hero-title strong {
  font-weight: 600;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 4rem;
  color: #fff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 2rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Make entire case study card clickable */
.case-study-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

.btn-secondary {
  background: transparent;
  color: #f5f5f7;
  border: 1px solid rgba(255,255,255,0.3);
}

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

/* ========================================
   HERO V6: ONE SIZE, LAYOUT HIERARCHY
   ======================================== */

.hero-content-v6 {
  max-width: 1200px;
  margin: 0;
  margin-left: 4%;
  position: relative;
  z-index: 10;
}

.hero-line {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
}

h1.hero-line {
  margin-top: 0;
}

.hero-line.faded {
  color: rgba(255, 255, 255, 0.5);
}

.hero-line:last-child {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.hero-text-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.hero-text-link:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.hero-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 1rem;
}

/* Ticker Belt */
.ticker-belt {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 45s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.ticker-item {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 2rem;
  font-size: 0.75rem;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Services Section - Standalone */
.services-section-standalone {
  padding: clamp(6rem, 10vh, 8rem) 4rem;
}

.services-heading {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 4rem);
}

/* Journal Intro Section */
.journal-intro-section {
  padding: clamp(6rem, 12vh, 8rem) 4rem;
  text-align: center;
}

/* Context label - subtle introduction */
.stat-rotator-context {
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 clamp(2rem, 4vh, 3rem) 0;
}

.stat-rotator-centered {
  position: relative;
  min-height: 8em;
  max-width: 800px;
  margin: 0 auto clamp(2rem, 4vh, 3rem);
}

.rotating-stat {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateY(10px);
  pointer-events: none;
}

.rotating-stat.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Primary stat content - matches hero size */
.stat-line {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* Percentage - subtle emphasis */
.stat-number {
  font-weight: 400;
  color: #fff;
}

/* Citation - subtle but readable */
.stat-citation {
  font-size: clamp(0.6875rem, 1.2vw, 0.75rem);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 0;
}

/* Journal CTA - exit point */
.journal-cta {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  margin: 0;
}

.journal-cta a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-decoration-thickness: 1px;
  transition: all 0.3s ease;
}

.journal-cta a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .hero-content-v6 {
    margin-left: 2rem;
  }

  .ticker-track {
    animation-duration: 30s;
  }

  .ticker-sep {
    margin: 0 1.5rem;
  }

  .services-section-standalone {
    padding: 3rem 2rem;
  }

  .journal-intro-section {
    padding: 4rem 2rem;
  }

  .stat-rotator-context {
    margin-bottom: 1.5rem;
  }

  .stat-rotator-centered {
    margin-bottom: 1.5rem;
  }
}

/* BELT SECTION */
.belt {
  padding: 4rem;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.belt-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.belt-quote {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: #f5f5f7;
  position: relative;
  padding-left: 2rem;
}

.belt-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
}

.belt-author {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #a1a1a6;
  margin-top: 1rem;
  padding-left: 2rem;
}

.belt-logos {
  text-align: right;
  padding: 2rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  backdrop-filter: blur(20px);
}

.belt-logos h3 {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #a1a1a6;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.logo-strip {
  max-width: 100%;
  height: auto;
  opacity: 0.6;
  filter: brightness(1.2);
}

/* Tablet breakpoint - when work grid is 2 columns */
@media (max-width: 1023px) {
  .hero {
    padding: 0 3rem;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .hero-stats > .stat {
    padding: 1rem 0.5rem;
  }

  .hero-stats > .stat > .stat-number {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }

  .hero-stats > .stat > .stat-label {
    font-size: 0.625rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 2rem;
  }

  .hero-stats {
    gap: 0.5rem;
  }

  .hero-stats > .stat {
    padding: 0.75rem 0.25rem;
  }

  .hero-stats > .stat > .stat-number {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .hero-stats > .stat > .stat-label {
    font-size: 0.5625rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .belt {
    padding: 3rem 2rem;
  }
  
  .belt-content {
    grid-template-columns: 1fr;
    text-align: left;
  }
  
  .belt-logos {
    text-align: left;
  }
  
  .btn {
    width: 200px;
    text-align: center;
  }
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
  position: relative;
  overflow: hidden;
  padding: var(--space-sm) 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-white);
  background: var(--color-white);
  color: var(--color-black);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--color-gray-100);
  transform: translateY(-1px);
}

.btn-secondary {
  position: relative;
  overflow: hidden;
  padding: var(--space-sm) 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-white-border);
  background: transparent;
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--color-white-border-hover);
  background: var(--color-white-glass);
  transform: translateY(-1px);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.belt-section {
  background: var(--color-white-glass);
  border-top: 1px solid var(--color-white-border);
  border-bottom: 1px solid var(--color-white-border);
  padding: var(--space-lg) 0;
}

/* Services Section - Belt Style */
.services-section-bg {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--color-white-border);
  border-bottom: 1px solid var(--color-white-border);
  padding: var(--space-lg) 0;
}

.testimonials-section-bg,
.contact-section-bg {
  background: var(--color-white-glass);
  border-top: 1px solid var(--color-white-border);
  padding: var(--space-3xl) 0;
}

.testimonials-section-bg {
  border-bottom: 1px solid var(--color-white-border);
}

.work-section,
.about-section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .ultra-thin-title {
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   Belt Section (Testimonial + Logos)
   ========================================================================== */

.belt-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 768px) {
  .belt-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.belt-testimonial {
  padding: var(--space-lg);
}

.belt-quote {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  color: var(--color-gray-light);
}

.belt-cite {
  color: var(--color-gray-medium);
  font-size: 0.875rem;
}

.belt-logos-container {
  background: var(--color-black-glass);
  border: 1px solid var(--color-white-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: var(--space-lg);
  text-align: center;
}

.belt-logos-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-gray-medium);
  margin-bottom: var(--space-sm);
}

.logo-strip-filter {
  opacity: 0.6;
  filter: brightness(1.2);
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Work Section - Square Tiles Grid
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Responsive breakpoints */
@media (max-width: 1279px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* Square tile base */
.glass-work-card {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.work-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

/* Focal point control for cropping */
.work-image img[data-focal="top"] { object-position: center top; }
.work-image img[data-focal="bottom"] { object-position: center bottom; }
.work-image img[data-focal="left"] { object-position: left center; }
.work-image img[data-focal="right"] { object-position: right center; }

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.work-cta {
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
  font-size: 1.125rem;
}

.glass-work-card:hover .work-overlay {
  opacity: 1;
}

.glass-work-card:hover .work-image img {
  transform: scale(1.05);
}

/* Collapsed state: hide work-content, show overlay with title */
.work-content {
  display: none;
}

.work-content .ultra-thin-subtitle {
  font-weight: 400;
  color: var(--color-gray-light);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.tag-premium {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-gray-light);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-sm);
}

.work-stats {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
}

.work-stat {
  text-align: center;
}

.work-stat .stat-number {
  display: block;
  font-weight: var(--font-weight-ultra-thin);
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.work-stat .stat-label {
  font-size: 0.75rem;
  color: var(--color-gray-medium);
}

.work-link {
  color: var(--color-gray-medium);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.work-link:hover {
  color: var(--color-white);
}

/* ==========================================================================
   Expandable Case Study Tiles
   ========================================================================== */

/* Image Rotator */
.work-image-rotator {
  position: relative;
  width: 100%;
  height: 100%;
}

.work-image-rotator img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-image-rotator img.active {
  opacity: 1;
}

/* Title overlay on image */
.work-image-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
  z-index: 5;
}

.work-image-overlay-content .tag-premium {
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.work-image-overlay-content h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.work-image-overlay-content .work-client {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* Hide the old work-overlay hover state for expandable cards */
.glass-work-card[data-case-study] .work-overlay {
  display: none;
}

/* Expandable card states */
.glass-work-card[data-case-study] {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-work-card[data-case-study]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Expanded State - Full Row Width
   ========================================================================== */

.glass-work-card.expanded {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  cursor: default;
  z-index: 10;
  display: flex;
  flex-direction: row;
  min-height: 400px;
  max-height: 500px;
}

.glass-work-card.expanded:hover {
  transform: none;
}

/* Expanded: video section (left side) */
.glass-work-card.expanded .work-image {
  position: relative;
  width: 55%;
  height: 100%;
  flex-shrink: 0;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

/* For vertical video content, switch to narrower video + wider content */
.glass-work-card.expanded[data-video-aspect="vertical"] .work-image {
  width: 280px;
}

/* Hide rotator images when expanded, show video */
.glass-work-card.expanded .work-image-rotator {
  display: none;
}

.glass-work-card.expanded .work-image-overlay-content {
  display: none;
}

.work-video-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glass-work-card.expanded .work-video-container {
  display: block;
}

.work-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

/* Expanded: content section (right side) */
.glass-work-card.expanded .work-expanded-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: var(--space-xl);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

/* Expanded content styling */
.work-expanded-content {
  display: none;
}

.work-expanded-content .expanded-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.work-expanded-content .expanded-client {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 var(--space-md) 0;
}

.work-expanded-content .tag-premium {
  margin-bottom: var(--space-sm);
  align-self: flex-start;
}

.work-expanded-content .ultra-thin-subtitle {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 400;
  color: var(--color-gray-light);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.work-expanded-content .work-stats {
  display: flex;
  gap: var(--space-lg);
  margin: 0;
}

/* Close button for expanded card */
.work-close-btn {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s ease;
}

.work-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.glass-work-card.expanded .work-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Collapsed cards styling when one is expanded */
.work-grid.has-expanded .glass-work-card:not(.expanded) {
  opacity: 0.4;
  pointer-events: none;
}

/* ==========================================================================
   Expanded State - Mobile (stack vertically)
   ========================================================================== */

@media (max-width: 768px) {
  .glass-work-card.expanded {
    flex-direction: column;
    min-height: auto;
    max-height: none;
  }

  .glass-work-card.expanded .work-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .glass-work-card.expanded[data-video-aspect="vertical"] .work-image {
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 400px;
  }

  .work-video-container iframe {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .glass-work-card.expanded .work-expanded-content {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: var(--space-lg);
  }

  .work-expanded-content .work-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }
}


/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.service-card {
  text-align: left;
}

.service-icon-premium {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-gray-light);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.5rem;
}

.service-title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--color-gray-medium);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.service-features-custom {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
}

.service-features-custom li {
  display: inline;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--color-white);
  opacity: 0.5;
  font-weight: 300;
}

.service-features-custom li:not(:last-child)::after {
  content: " / ";
  opacity: 0.6;
}

.service-features-custom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.3s ease;
}

.service-features-custom a:hover {
  opacity: 0.7;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: var(--space-3xl) 0;
  text-align: center;
}

/* Why Content Responsive Grid */
@media (max-width: 768px) {
  .why-content {
    grid-template-columns: 1fr !important;
  }
}

/* Mid-Scroll CTA Section - Inline Link */
.inline-cta-section {
  padding: 5rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.inline-cta {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
}

.inline-cta a {
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: all 0.3s ease;
  font-weight: 400;
}

.inline-cta a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.7);
  text-underline-offset: 7px;
}

@media (max-width: 768px) {
  .inline-cta-section {
    padding: 3rem 1.5rem;
  }

  .inline-cta {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .inline-cta a {
    text-underline-offset: 4px;
  }

  .inline-cta a:hover {
    text-underline-offset: 6px;
  }
}

/* Services Preview & Toggle - Belt Style */
.services-preview {
  text-align: center;
  margin: var(--space-sm) 0;
}

.services-preview-text {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 300;
  color: var(--color-gray-light);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.services-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem 3rem;
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(20px);
}

.services-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.toggle-arrow {
  transition: transform var(--transition-fast);
}

.services-toggle-btn.expanded .toggle-arrow {
  transform: rotate(90deg);
}

.services-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out;
}

.services-content.expanded {
  max-height: 2000px;
  transition: max-height 0.6s ease-in;
}

/* Services In-Situ CTA */
.services-cta {
  text-align: center;
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.services-cta-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.services-cta-text {
  font-size: 1rem;
  color: var(--color-gray-light);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.services-cta-button {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-white);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(20px);
}

.services-cta-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Additional Services Layout */
.additional-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .additional-services {
    grid-template-columns: 1fr;
  }
}

.production-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 480px) {
  .production-services-grid {
    grid-template-columns: 1fr;
  }
}

.production-category-title {
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
}

.industry-experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 480px) {
  .industry-experience-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Why Juniper Island Section
   ========================================================================== */

.why-juniper-section {
  padding: var(--space-3xl) 0;
}

.why-juniper-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .why-juniper-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.team-photos {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.team-member {
  text-align: center;
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-sm);
  border: 2px solid var(--color-white-border);
}

.member-name {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.member-title {
  font-size: 0.875rem;
  color: var(--color-gray-medium);
  font-weight: var(--font-weight-medium);
}

.why-juniper-text {
  padding-left: var(--space-lg);
}

@media (max-width: 768px) {
  .why-juniper-text {
    padding-left: 0;
  }
}

.why-juniper-description {
  font-size: 1.125rem;
  color: var(--color-gray-light);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.different-title {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.different-list {
  list-style: none;
  padding: 0;
}

.different-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-gray-medium);
  line-height: 1.6;
}

.different-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
}

/* ==========================================================================
   About Section - Asymmetric Editorial Layout
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl);
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-content {
  padding-left: var(--space-lg);
}

.about-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-normal);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-subhead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: var(--font-weight-light);
  color: var(--color-gray-medium);
  margin-bottom: var(--space-lg);
  line-height: 1.4;
}

.about-body {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: var(--font-weight-light);
  color: var(--color-gray-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.about-body:last-of-type {
  margin-bottom: 0;
}

/* Mobile: Stack vertically, photo becomes 16:9 */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }

  .about-photo img {
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .about-content {
    padding-left: 0;
  }
}

.about-subtitle {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.about-column p {
  color: var(--color-gray-medium);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.approach-point {
  margin-bottom: var(--space-lg);
}

.approach-title {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.approach-point p {
  color: var(--color-gray-medium);
  line-height: 1.6;
  margin-bottom: 0;
}

/* TEAM SECTION - D2 PREMIUM STYLING */
.team {
  padding: 8rem 4rem;
  background: #000;
}

.team-content {
  max-width: 1200px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 6rem;
}

.team-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 200;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.team-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 300;
  color: #a1a1a6;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
}

.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.team-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.team-member {
  text-align: center;
}

.member-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.member-name {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.member-title {
  font-size: 0.75rem;
  font-weight: 300;
  color: #86868b;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-text {
  display: grid;
  gap: 3rem;
}

.team-story p {
  font-size: 0.9375rem;
  color: #a1a1a6;
  line-height: 1.5;
  font-weight: 300;
}

.story-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.values-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  font-size: 0.8125rem;
  color: #a1a1a6;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-weight: 300;
}

.values-list strong {
  font-weight: 400;
  color: #f5f5f7;
}

.team-cta {
  padding-top: 2rem;
}

/* TEAM SECTION - Legacy classes for backward compatibility */
.team-section {
  border-top: 1px solid var(--color-white-border);
  padding-top: var(--space-2xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 2px solid var(--color-white-border);
}

.team-name {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--color-gray-medium);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-sm);
}

.team-bio {
  color: var(--color-gray-medium);
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Team Section - Mobile Responsive */
@media (max-width: 768px) {
  .team {
    padding: 4rem 2rem;
  }
  
  .team-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.values-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.values-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-gray-medium);
  line-height: 1.6;
}

.values-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
}

.values-list li strong {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   Testimonials Section - Iconic Simplicity
   ========================================================================== */

/* Testimonials Carousel */
.testimonials-carousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  height: 320px;
  overflow: hidden;
  width: 100%;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Iconic Simplicity - Uniform text sizing */
.testimonial-company {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--color-white);
  opacity: 0.5;
  margin: 0 0 1.5rem 0;
}

.testimonial-text {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white);
  margin: 0 0 1.5rem 0;
}

.testimonial-author {
  display: block;
  font-style: normal;
}

.author-name {
  display: block;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--color-white);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.author-title {
  display: block;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--color-white);
  opacity: 0.5;
}

/* Simpler carousel dots */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-xl);
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.indicator.active {
  background: rgba(255, 255, 255, 0.8);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .testimonials-track {
    height: 420px;
  }
}

/* ==========================================================================
   Quote CTA (Event Page Bridge)
   ========================================================================== */

.event-quote-cta {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: #faf9f6;
}

.event-quote-cta p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
}

.event-quote-cta a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.event-quote-cta a:hover {
  color: rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Contact Section - Iconic Style (Uniform Sizing)
   ========================================================================== */

.contact-conversation {
  max-width: 600px;
  margin: 0 auto;
}

/* Uniform text size for everything */
.contact-headline,
.contact-intro-line,
.contact-form-intro,
.inline-form-input,
.inline-form-submit {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-family: inherit;
}

.contact-intro-line {
  color: var(--text-primary);
  opacity: 0.5;
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.contact-headline {
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-xl);
}

.contact-email-link,
.contact-phone-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity var(--transition-fast);
}

.contact-email-link:hover,
.contact-phone-link:hover {
  opacity: 0.7;
}

.contact-form-intro {
  color: var(--text-primary);
  opacity: 0.5;
  margin-bottom: var(--space-lg);
}

.contact-inline-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: clamp(4rem, 8vh, 6rem);
}

.inline-form-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  resize: none;
  width: 100%;
}

.inline-form-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

.inline-form-input::placeholder {
  color: var(--text-primary);
  opacity: 0.4;
}

.inline-form-submit {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  margin-top: var(--space-md);
}

.inline-form-submit:hover {
  opacity: 0.7;
}

/* Legacy contact styles kept for other pages */
.contact-link {
  color: var(--color-gray-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-white);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.contact-form {
  padding: var(--space-lg);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-xs);
  color: var(--color-gray-light);
}

.form-input-underline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.125rem);
  transition: all var(--transition-fast);
  width: 100%;
  outline: none;
}

.form-input-underline:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.form-input-underline::placeholder {
  color: var(--text-primary);
  opacity: 0.4;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-gray-medium);
  margin-top: var(--space-xs);
}

.contact-form-button {
  width: 100%;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: var(--font-weight-medium);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.contact-form-button:hover:not(:disabled) {
  background: var(--color-gray-100);
}

.contact-form-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-response-time {
  font-size: 0.875rem;
  text-align: center;
  margin-top: var(--space-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--color-white-border);
  padding: var(--space-xl) 0;
  margin-top: var(--space-2xl);
}

.footer-content {
  text-align: center;
  color: var(--color-gray-medium);
}

.footer-tagline {
  margin-top: var(--space-xs);
  font-size: 0.875rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-balance {
  text-wrap: balance;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-normal);
  color: var(--color-gray-medium);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Contact Form Toggle Styles
   ========================================================================== */

.details-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: var(--font-weight-light);
  color: var(--color-gray-medium);
  transition: color 0.3s ease;
  padding: 0;
}

.details-toggle:hover {
  color: var(--color-white);
}

.toggle-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.optional-fields {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.optional-fields .form-group {
  margin-bottom: 1.5rem;
}

.optional-fields .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .optional-fields .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

