/* ─── DESIGN SYSTEM & CSS VARIABLES ──────────────────────────────── */
:root {
  /* Theme Dark (Default) */
  --bg-color: #0D0D0F;
  --surface-color: #141418;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #F0EDE8;
  --text-muted: #6B6876;
  --accent-gold: #C8923A;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Spacing & Layout */
  --max-width: 1320px;
  --padding-desktop: 120px;
  --padding-mobile: 72px;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-theme: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
  --transition-fast: all 0.25s ease;
}

/* Theme Cream (Editorial Warm Newspaper) */
.theme-cream {
  --bg-color: #F5F2EB;
  --surface-color: #EDE9DF;
  --border-color: rgba(26, 26, 29, 0.08);
  --text-primary: #1A1A1D;
  --text-muted: #7E7B87;
}

/* ─── RESET & BASE STYLES ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* overflow-x removed from html — prevents scroll events from being blocked on Safari/mobile.
     Horizontal overflow is safely handled on body only. */
  transition: var(--transition-theme);
}

body {
  background-color: var(--bg-color);
  overflow-x: hidden;
  position: relative;
  transition: var(--transition-theme);
}

a, button {
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ─── LAYOUT WRAPPERS & UTILITIES ────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  width: 100%;
}

section {
  padding-top: var(--padding-desktop);
  padding-bottom: var(--padding-desktop);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: var(--transition-theme);
}

#services {
  overflow: visible;
}

@media (max-width: 768px) {
  section {
    padding-top: var(--padding-mobile);
    padding-bottom: var(--padding-mobile);
  }
}

/* Section Headers */
.section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.section-title em {
  font-style: italic;
  font-family: var(--font-display);
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────────────── */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(240, 237, 232, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.theme-cream .cursor-dot {
  background-color: var(--text-primary);
}
.theme-cream .cursor-ring {
  border-color: rgba(26, 26, 29, 0.4);
}

.cursor-dot.hover {
  opacity: 0;
}

.cursor-ring.hover {
  width: 20px;
  height: 20px;
  background-color: var(--text-primary);
  border-color: var(--text-primary);
}

/* Hide default cursor on interactive items */
a, button, select, input, textarea, [role="button"], .filter-pill, .accordion-header, .theme-toggle {
  cursor: none !important;
}

@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
  a, button, select, input, textarea, [role="button"], .filter-pill, .accordion-header, .theme-toggle {
    cursor: auto !important;
  }
}

/* ─── BACKGROUND NOISE OVERLAY ──────────────────────────────────── */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.045;
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid var(--accent-gold);
  border-radius: 9999px;
  background-color: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-gold);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pill:hover {
  color: #0D0D0F;
}

.btn-pill:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.link-underline {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 4px;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.link-underline:hover::after {
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
}

/* ─── SCROLL REVEALS ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .portfolio-card, .cursor-ring {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ─── 1. NAVIGATION ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  /* Explicit transparent baseline so browsers have coordinates to animate from */
  background-color: rgba(0, 0, 0, 0);
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.4s ease, background 0.4s ease, border-bottom 0.4s ease, height 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--bg-color) !important;
  background: var(--bg-color) !important;
  border-bottom: 1px solid var(--border-color);
  height: 75px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--accent-gold);
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta .btn-pill {
  padding: 10px 24px;
  font-size: 13px;
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  width: 44px;
  height: 22px;
  border-radius: 9999px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 3px;
  transition: var(--transition-fast);
}

.theme-toggle-dot {
  width: 14px;
  height: 14px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-cream .theme-toggle-dot {
  transform: translateX(22px);
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  z-index: 110;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
  transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(-2px, -3px);
  background-color: var(--text-primary);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(-2px, 3px);
  background-color: var(--text-primary);
}

/* Full-screen Overlay Menu */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 60px 40px;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-overlay.active {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 60px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--text-primary);
  transition: var(--transition-fast);
  opacity: 0;
  transform: translateY(30px);
}

.mobile-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.mobile-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav-link:hover {
  color: var(--accent-gold);
  padding-left: 12px;
}

.mobile-overlay-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.mobile-overlay.active .mobile-overlay-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ─── 2. HERO SECTION ───────────────────────────────────────────── */
.hero {
  height: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero {
    height: 100vh;
    min-height: 780px;
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Subtle luxury animated mesh fallback for the background */
#home {
  position: relative;
  background: linear-gradient(135deg, #0D0D0F 0%, #15121B 25%, #181410 50%, #0F0F12 75%, #0D0D0F 100%);
  background-size: 400% 400%;
  animation: ambientMesh 20s ease infinite;
  transition: var(--transition-theme);
}

.theme-cream #home {
  background: linear-gradient(135deg, #F5F2EB 0%, #EFEBE0 25%, #F0ECDF 50%, #EDE9DF 75%, #F5F2EB 100%);
  background-size: 400% 400%;
  animation: ambientMesh 20s ease infinite;
}

@keyframes ambientMesh {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Ambient Hero fallback Video Loop Background (underneath Vanta) */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
  display: block;
}

.theme-cream .hero-video-bg {
  opacity: 0.05;
  mix-blend-mode: multiply;
}

.hero-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-content {
    margin-top: -2vh;
  }
}

/* ─── HERO SHOWREEL VIDEO CARD & GRID ───────────────────────────── */
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.hero-text-col {
  width: 100%;
}

.hero-visual-col {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-showreel-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 16 / 10;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.theme-cream .hero-showreel-card {
  box-shadow: 0 30px 60px rgba(26, 26, 29, 0.06);
}

.hero-showreel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  pointer-events: none;
  z-index: 5;
}

.hero-showreel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(20, 20, 24, 0) 30%, rgba(13, 13, 15, 0.85) 100%);
  pointer-events: none;
  z-index: 2;
  transition: var(--transition-theme);
}

.theme-cream .hero-showreel-card::after {
  background: radial-gradient(circle at 50% 50%, rgba(237, 233, 223, 0) 30%, rgba(245, 242, 235, 0.85) 100%);
}

.hero-showreel-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
}

.hero-showreel-card:hover::before {
  inset: 8px;
  border-color: rgba(200, 146, 58, 0.3);
}

#showreel-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showreel-card:hover #showreel-canvas {
  transform: scale(1.03);
}

.showreel-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(13, 13, 15, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  z-index: 6;
  border-radius: 9999px;
}

.theme-cream .showreel-badge {
  background: rgba(245, 242, 235, 0.85);
  border-color: rgba(26, 26, 29, 0.08);
  color: #1A1A1D;
}

.showreel-sound-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 13, 15, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: var(--transition-fast);
}

.theme-cream .showreel-sound-btn {
  background: rgba(245, 242, 235, 0.85);
  border-color: rgba(26, 26, 29, 0.08);
  color: #1A1A1D;
}

.showreel-sound-btn:hover {
  background: var(--accent-gold);
  color: #0D0D0F;
  border-color: var(--accent-gold);
  transform: scale(1.08);
}

.showreel-sound-btn svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 64px;
  }
  
  .hero-h1 {
    font-size: clamp(48px, 5.5vw, 84px) !important;
  }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 112px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  max-width: 1100px;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero-h1 span.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 80px;
}

.btn-showreel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 14px 28px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.btn-showreel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: #0D0D0F;
  font-size: 10px;
  padding-left: 2px;
}

.btn-showreel:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.hero-awards-row {
  display: flex;
  align-items: center;
  gap: 48px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  max-width: 900px;
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.award-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  transition: fill 0.3s ease;
}

.award-badge:hover svg {
  fill: var(--accent-gold);
}

@media (max-width: 768px) {
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .hero-awards-row {
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* ─── 3. MARQUEE STRIP ──────────────────────────────────────────── */
.marquee-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  transition: var(--transition-theme);
}

.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.marquee-text span {
  padding: 0 40px;
}

@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ─── 4. SERVICES SECTION (INTERACTIVE STICKY CARDS DECK) ───────── */
#services {
  position: relative;
  background: transparent;
  padding: 100px 0;
  margin: 0;
  overflow: visible;
}

.services-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}



/* Base services grid transitions */
.services-deck-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  transition: background 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              border 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              border-radius 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              padding 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: background, border, padding, box-shadow;
}

/* ─── 4.1 GLASS EXHIBITION CONTAINER ─────────────────────────── */
.services-deck-grid.container-style-glass {
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 146, 58, 0.15);
  border-radius: 24px;
  padding: 54px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.theme-cream .services-deck-grid.container-style-glass {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(200, 146, 58, 0.22);
  box-shadow: 0 30px 80px rgba(26, 26, 29, 0.06);
}



.services-deck-left {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.services-deck-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-muted);
}

.indicator-active {
  color: var(--accent-gold);
  font-style: italic;
  transition: color 0.3s ease;
}

.services-deck-nav-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.services-deck-progress-track {
  position: relative;
  width: 2px;
  height: 160px;
  background-color: var(--border-color);
  margin-left: 20px; /* Aligns with active number visually */
  border-radius: 9999px;
  margin-top: 12px;
}

.services-deck-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; /* Dynamic fill */
  background: linear-gradient(to bottom, var(--accent-gold), #e5a93b);
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(200, 146, 58, 0.4);
  transition: height 0.08s linear;
}

.services-deck-dots {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.deck-dot {
  pointer-events: auto;
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 2px solid var(--border-color);
  cursor: pointer;
  padding: 0;
  align-self: center;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

.deck-dot:focus {
  outline: none;
}

.deck-dot.active {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--accent-gold);
}

.deck-dot:hover {
  border-color: var(--accent-gold);
  transform: scale(1.2);
}

/* Tooltip on Hover */
.dot-tooltip {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.deck-dot:hover .dot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.services-deck-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 380px;
}

.services-deck-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30vh;
  height: auto;
  width: 100%;
  padding-bottom: 10vh;
}

/* Service Card Styles */
.service-card {
  position: sticky;
  top: 120px;
  width: 100%;
  height: auto;
  min-height: 520px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform, opacity, filter;
}

.service-card:nth-child(1) { z-index: 1; }
.service-card:nth-child(2) { z-index: 2; }
.service-card:nth-child(3) { z-index: 3; }
.service-card:nth-child(4) { z-index: 4; }

.theme-cream .service-card {
  box-shadow: 0 -15px 30px rgba(26, 26, 29, 0.05);
}

.service-card:hover {
  border-color: var(--accent-gold);
}

/* Glass Exhibition Card Overrides */
.container-style-glass .service-card {
  background-color: rgba(20, 20, 24, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.3), 
              0 25px 50px rgba(0, 0, 0, 0.4);
}

.theme-cream .container-style-glass .service-card {
  background-color: rgba(245, 242, 235, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(26, 26, 29, 0.06);
  box-shadow: 0 -15px 40px rgba(26, 26, 29, 0.03), 
              0 25px 50px rgba(26, 26, 29, 0.06);
}

.container-style-glass .service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 40%, rgba(200, 146, 58, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.theme-cream .container-style-glass .service-card::before {
  background: linear-gradient(135deg, rgba(200, 146, 58, 0.3), transparent 40%, rgba(200, 146, 58, 0.1) 100%);
}

.container-style-glass .service-card:hover::before {
  background: linear-gradient(135deg, rgba(200, 146, 58, 0.4), transparent 40%, rgba(200, 146, 58, 0.5) 100%);
}

.container-style-glass .service-card:hover {
  border-color: rgba(200, 146, 58, 0.4);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.3), 
              0 30px 60px rgba(200, 146, 58, 0.15);
}

.theme-cream .container-style-glass .service-card:hover {
  border-color: rgba(200, 146, 58, 0.6);
  box-shadow: 0 -15px 40px rgba(26, 26, 29, 0.04), 
              0 30px 60px rgba(200, 146, 58, 0.1);
}

.service-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.2);
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 13, 15, 0.6) 100%);
  opacity: 0.8;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.theme-cream .service-card-visual::after {
  background: linear-gradient(180deg, transparent 55%, rgba(245, 242, 235, 0.6) 100%);
}

.service-card:hover .service-card-visual::after {
  opacity: 0.3;
}

.theme-cream .service-card-visual {
  background-color: rgba(0, 0, 0, 0.03);
}

.service-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-visual img {
  transform: scale(1.04);
}

.service-card:hover .service-card-visual {
  border-color: rgba(200, 146, 58, 0.3);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.service-card-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--accent-gold);
  font-style: italic;
  font-weight: 700;
}

.service-card-title {
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  color: var(--text-primary);
}

.service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 40px;
}

.service-card-tags li {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 9999px;
  transition: var(--transition-theme);
}

.service-card:hover .service-card-tags li {
  border-color: rgba(200, 146, 58, 0.3);
  color: var(--accent-gold);
}

.service-card-btn {
  width: fit-content;
  padding: 10px 24px;
  font-size: 13px;
}

@media (max-width: 992px) {
  #hero-video,
  #unmute-hero-showreel-btn,
  .hero-visual-col {
    display: none !important;
  }
  #services {
    height: auto !important;
  }
  .services-sticky-wrapper {
    position: relative !important;
    height: auto !important;
    top: auto !important;
    display: block !important;
    overflow: visible !important;
    width: 100%;
  }
  .services-deck-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-deck-grid.container-style-glass {
    padding: 24px;
    border-radius: 16px;
    gap: 32px;
  }
  .services-deck-left {
    position: relative;
    top: 0;
  }
  .services-deck-progress-track {
    display: none;
  }
  .services-deck-nav-container {
    margin-bottom: 16px;
  }
  .services-deck-indicator {
    margin-bottom: 0;
  }
  .services-deck-right {
    position: relative !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    padding-bottom: 0;
  }
  .service-card {
    top: 24px !important;
    padding: 32px;
    /* Disable blur on mobile — it obscures the stacked cards */
    filter: none !important;
    /* Keep slight scale/opacity for depth cue but cap them */
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── 5. PORTFOLIO SECTION ──────────────────────────────────────── */
.portfolio-header-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}

.portfolio-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
}

/* Filter Pills */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  transition: var(--transition-theme);
}

.filter-pill {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: var(--transition-fast);
}

.filter-pill::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.filter-pill.active {
  color: var(--accent-gold);
}

.filter-pill.active::after {
  transform: scaleX(1);
}

.filter-pill:hover {
  color: var(--text-primary);
}

/* Grid Base */
.portfolio-grid {
  /* Default is mobile coverflow layout */
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  perspective: 1000px;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: transform;
  border: 1px solid var(--border-color);
  background-color: var(--surface-color);
}

.portfolio-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover {
  transform: scale(1.03);
}

.portfolio-card:hover::after {
  transform: scaleX(1);
}

.portfolio-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-bg {
  transform: scale(1.06);
}

.portfolio-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 13, 15, 0.85) 0%, rgba(13, 13, 15, 0.2) 60%, rgba(13, 13, 15, 0) 100%);
  z-index: 2;
  transition: opacity 0.5s ease;
}

.theme-cream .portfolio-card-overlay {
  background: linear-gradient(to top, rgba(245, 242, 235, 0.95) 0%, rgba(245, 242, 235, 0.2) 60%, rgba(245, 242, 235, 0) 100%);
}

.portfolio-card-title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text-primary);
  margin: 0;
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 400;
}

.portfolio-card:hover .portfolio-card-title {
  transform: translateY(-6px);
}

.portfolio-card-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(20, 20, 24, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  z-index: 3;
  font-weight: 500;
}

.theme-cream .portfolio-card-tag {
  background: rgba(245, 242, 235, 0.8);
  border-color: rgba(26, 26, 29, 0.1);
  color: var(--text-primary);
}

.portfolio-card-year {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-year {
  transform: translateY(-6px);
}

/* Mobile Base Card Adjustments for Coverflow */
.portfolio-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out; /* Smooth JS updates */
}

/* Desktop Hover Reveal Overrides */
@media (min-width: 993px) {
  .portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-x: visible;
    scroll-snap-type: none;
    perspective: none;
    padding-bottom: 0;
  }
  .portfolio-card {
    flex: none;
    aspect-ratio: auto;
    height: auto;
    padding: 40px 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: none; /* Emphasize custom image follow */
    transition: none; /* remove base hover transforms */
    opacity: 1 !important; /* override coverflow inline styles */
    transform: none !important;
  }
  .portfolio-card:first-child {
    border-top: 1px solid var(--border-color);
  }
  .portfolio-bg, .portfolio-card-overlay, .portfolio-card-year {
    display: none !important;
  }
  .portfolio-card-title {
    position: static;
    font-size: clamp(32px, 5vw, 64px);
    transition: transform 0.4s ease, color 0.4s ease;
  }
  .portfolio-card:hover .portfolio-card-title {
    transform: translateX(20px);
    color: var(--accent-gold);
  }
  .portfolio-card-tag {
    position: static;
    font-size: 14px;
    opacity: 0.6;
  }
  .portfolio-card::after { display: none; }
}

/* Cursor Follow Image — positioned absolute inside #work section */
#work {
  position: relative;
  overflow: hidden;
}

#cursor-reveal-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 380px;
  height: 240px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  will-change: transform;
}
#cursor-reveal-image.active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .portfolio-filters {
    gap: 8px;
  }
}

/* Mobile swipe hint — only visible on mobile */
.portfolio-swipe-hint {
  display: none;
}

@media (max-width: 992px) {
  .portfolio-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    animation: swipeHintPulse 2s ease-in-out infinite;
  }
  .portfolio-swipe-hint svg {
    animation: swipeHintSlide 2s ease-in-out infinite;
    flex-shrink: 0;
  }
}

@keyframes swipeHintPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes swipeHintSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* ─── 6. RESULTS SECTION ────────────────────────────────────────── */
.results {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.result-col {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.result-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border-color);
}

.result-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 16px;
}

.result-label {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .result-col {
    padding: 40px 24px;
  }
  .result-col:nth-child(2)::after {
    display: none;
  }
  .result-col:nth-child(1)::after, .result-col:nth-child(3)::after {
    top: 15%;
    height: 70%;
  }
  .result-col:nth-child(-n+2) {
    border-bottom: 1px solid var(--border-color);
  }
}

@media (max-width: 580px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .result-col {
    padding: 28px 16px;
  }
  .result-col::after {
    display: none !important;
  }
  .result-col:nth-child(-n+2) {
    border-bottom: 1px solid var(--border-color);
  }
}

/* ─── 7. PARTNERS STRIP ─────────────────────────────────────────── */
.partners-header {
  margin-bottom: 48px;
}

.logo-marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.logo-marquee {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.logo-marquee-track {
  display: inline-flex;
  gap: 20px;
  animation: logoScrollLeft 30s linear infinite;
}

.logo-marquee.scroll-right .logo-marquee-track {
  animation: logoScrollRight 30s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.partner-pill:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

@keyframes logoScrollLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes logoScrollRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ─── 8. TESTIMONIALS SECTION ───────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 60px;
  align-items: center;
}

.testimonials-marquee-container {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  display: flex;
  position: relative;
}

.testimonials-track {
  display: inline-flex;
  gap: 24px;
  animation: logoScrollLeft 45s linear infinite;
}

.testimonials-marquee-container:hover .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  width: 340px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  white-space: normal;
  transition: var(--transition-theme);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 32px;
  font-weight: 400;
}

.testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-gold);
}

.testimonial-role {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  width: fit-content;
  padding-bottom: 2px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.testimonial-link:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ─── 9. CONTACT SECTION ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-bullets {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.contact-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-bullet-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  margin-top: 8px;
}

.contact-bullet-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-bullet-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  position: relative;
  margin-bottom: 36px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 12px;
  padding-right: 24px;
}

.theme-cream .form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom: 1px solid var(--accent-gold);
}

.form-group label {
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  pointer-events: none;
  transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease;
}

.form-group.focused label,
.form-group.filled label {
  transform: translateY(-26px);
  font-size: 11px;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-submit {
  width: 100%;
  height: 52px;
  background-color: var(--accent-gold);
  color: #0D0D0F;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.btn-submit:hover {
  background-color: #d89f46;
  transform: translateY(-2px);
}

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

/* Clipboard Copy Row */
.clipboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  transition: var(--transition-theme);
}

.clipboard-label {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.clipboard-btn {
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  transition: color 0.3s ease;
}

.clipboard-btn:hover {
  color: var(--accent-gold);
}

.clipboard-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.clipboard-tooltip {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--accent-gold);
  color: #0D0D0F;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-fast);
  pointer-events: none;
}

.clipboard-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .contact-left {
    gap: 32px;
  }
  .clipboard-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ─── 10. FOOTER ────────────────────────────────────────────────── */
.footer {
  background-color: var(--bg-color);
  padding-top: 90px;
  padding-bottom: 48px;
  border-top: 1px solid var(--border-color);
  transition: var(--transition-theme);
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-tagline {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 320px;
}

.footer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.footer-link {
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  transition: var(--transition-theme);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.cyber-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: var(--transition-theme);
}

.cyber-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 2;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}



/* ─── SLIDE-IN EDITORIAL CASE STUDY DRAWER ─────────────────────── */
.case-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 650px;
  max-width: 100vw;
  height: 100vh;
  background-color: var(--surface-color);
  border-left: 1px solid var(--border-color);
  z-index: 200;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 40px rgba(0,0,0,0.3);
}

.case-drawer.active {
  transform: translate3d(0, 0, 0);
}

.case-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13,13,15,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 195;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.case-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.case-drawer-header {
  padding: 24px 40px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--surface-color);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: var(--transition-theme);
}

.case-drawer-close {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.case-drawer-close:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.case-drawer-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.case-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.case-drawer-title-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-drawer-category {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
}

.case-drawer-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  color: var(--text-primary);
}

.case-drawer-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background-color: var(--bg-color);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-color);
}

.case-drawer-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.meta-val {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.case-drawer-desc-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-drawer-desc-title {
  font-family: var(--font-body);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  font-weight: 700;
}

.case-drawer-desc-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.case-drawer-quote-block {
  background-color: var(--bg-color);
  border-left: 2px solid var(--accent-gold);
  padding: 24px;
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-theme);
}

.case-drawer-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
}

.case-drawer-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-drawer-cta {
  margin-top: 20px;
  width: 100%;
}

@media (max-width: 768px) {
  .case-drawer-body {
    padding: 32px 24px;
  }
  .case-drawer-header {
    padding: 16px 24px;
  }
}

/* ─── 8.5 BEHIND-THE-SCENES FLIP CARDS ─────────────────────── */
.bts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bts-flip-card {
  perspective: 1200px;
  height: 360px;
  cursor: pointer;
}

.bts-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desktop hover to flip */
@media (hover: hover) {
  .bts-flip-card:hover .bts-flip-inner {
    transform: rotateY(180deg);
  }
}

/* Touch devices — JS adds .is-flipped class on tap */
.bts-flip-card.is-flipped .bts-flip-inner {
  transform: rotateY(180deg);
}

.bts-flip-front,
.bts-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.bts-flip-front {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background-color: var(--surface-color);
}

.bts-flip-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,15,0.88) 0%, rgba(13,13,15,0.1) 60%, transparent 100%);
  z-index: 1;
}

.bts-flip-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
}

.bts-flip-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  position: relative;
  z-index: 2;
  line-height: 1.2;
}

/* Hint icon top-right */
.bts-flip-front::before {
  content: '↻';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  z-index: 2;
  line-height: 36px;
  text-align: center;
}

.bts-flip-back {
  transform: rotateY(180deg);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  gap: 16px;
}

.bts-flip-back-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--accent-gold);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
}

.bts-flip-back-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.bts-flip-back-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .bts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bts-flip-card {
    height: 300px;
  }
}
