/* Fonts: Bebas Neue (display) + Inter (UI) */
:root {
  --bg: #ffffff;
  --bg-alt: #000000;
  --panel: #ffffff;
  --elev: #f5f5f5;
  --text: #000000;
  --text-alt: #ffffff;
  --muted: #666666;
  --brand: #ff2d2d; /* primary red accent */
  --brand-2: #ff5252; /* secondary red for subtle gradients */
  --accent: #ff2d2d;
  --danger: #ff4d4f;
  --radius: 0px;
  --radius-sm: 0px;
  --shadow-1: 0 10px 30px rgba(0,0,0,.15);
  --shadow-2: 0 30px 80px rgba(0,0,0,.2);
  --container: 1200px;
  --ease-slow: cubic-bezier(.16,.84,.26,.99);
  --dur-slow: 2400ms;
}

/* Dark Mode - Swap colors based on time */
.dark-mode {
  --bg: #000000; /* Black background (was white) */
  --bg-alt: #ffffff; /* White background (was black) */
  --panel: #000000;
  --elev: #1a1a1a;
  --text: #ffffff; /* White text (was black) */
  --text-alt: #000000; /* Black text (was white) */
  --muted: #999999;
  /* --brand stays red (#ff2d2d) */
  /* --brand-2 stays red (#ff5252) */
  --shadow-1: 0 10px 30px rgba(255,255,255,.1);
  --shadow-2: 0 30px 80px rgba(255,255,255,.15);
}


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

html { 
  -webkit-text-size-adjust: 100%; /* Prevent iOS text size adjustment */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
  scroll-behavior: smooth;
}

html, body { 
  height: 100%; 
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:16px;top:16px;width:auto;height:auto;padding:8px 10px;background:#111;border-radius:8px}

.container { max-width: none; padding: 0 48px; margin: 0; width: 100%; }

h1,h2,h3 { margin: 0 0 12px; line-height: 1.1; letter-spacing: .3px; }
h1,.headline,h2,h3 { font-family: "Bebas Neue", Impact, system-ui, sans-serif; font-weight: 400; }

/* Red underline for card titles */
.card h3::after,
.steps li h3::after {
  content: '';
  display: block;
  width: 70%;
  height: 2px;
  background: var(--brand);
  margin-top: 8px;
}
h1.headline { font-size: clamp(44px, 6.2vw, 92px); }
.headline .phrase { display: inline; opacity: 0; transition: opacity 3s ease-in-out; }
.headline .phrase.show { opacity: 1; }

/* Hero section completely removed - all CSS deleted */
h2 { 
  font-size: clamp(32px, 4vw, 56px);
  transition: color 0.3s ease;
}
h2:hover {
  color: var(--brand) !important; /* Red on hover */
}
h3 { font-size: clamp(22px, 2.2vw, 28px); }
p { color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); }

/* Header - Desktop: Normal flow, scrolls with page */
@media (min-width: 769px) {
  .site-header {
    position: relative !important; 
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Dark mode header */
  .dark-mode .site-header {
    background: rgba(0, 0, 0, 0.95) !important;
  }
  
  /* Ensure header doesn't get transformed by any scroll effects */
  .site-header * {
    position: relative;
    transform: none !important;
  }

  .header-inner { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 88px; 
    padding: 16px 48px; 
    pointer-events: auto;
    width: 100%;
    position: relative;
  }

  .logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: var(--text);
    position: relative;
    left: auto;
    transform: none;
  }
  
  .nav { 
    display: flex; 
    align-items: center; 
    gap: 18px; 
    position: relative;
    right: auto;
  }

  /* Hero slide - Desktop: center vertically, left aligned with logo */
  .hero-slide {
    position: absolute; /* Absolute within hero, not fixed */
    top: 50%;
    left: 48px; /* Match logo left edge */
    transform: translateY(-50%); /* Center vertically through middle */
    right: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center; /* Center vertically through middle */
    gap: 0;
    margin: 0;
    padding: 0;
    width: auto;
  }

  .hero-slide .border-line {
    display: none; /* Remove vertical red line on desktop */
  }

  .hero-slide .text-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 0;
    padding: 0;
    width: auto;
    text-align: left;
    align-items: flex-start; /* Left align */
    justify-content: center; /* Center vertically */
  }

  .hero-slide .word {
    font-family: "Bebas Neue", Impact, system-ui, sans-serif;
    font-size: clamp(64px, 8vw, 120px); /* Original size - DO NOT CHANGE */
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 0.8; /* Match headline line height */
    color: var(--text);
    margin: 0;
    padding: 0;
    display: block;
    white-space: nowrap;
    text-align: left;
  }

  .hero-slide.active {
    opacity: 1;
  }
}

/* Header - Mobile: Absolute position (unchanged) */
@media (max-width: 768px) {
  .site-header {
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
    backdrop-filter: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 88px; 
  padding: 16px 48px; 
  pointer-events: auto;
  width: 100%;
  position: relative;
}

.logo { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  color: var(--text);
}
.logo-mark { display: block; color: var(--brand); }
.logo-img { height: 56px; width: auto; filter: brightness(0); }

/* Dark mode logo - invert to white */
.dark-mode .logo-img {
  filter: brightness(0) invert(1);
}

.nav { 
  display: flex; 
  align-items: center; 
  gap: 18px; 
}
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 0; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; align-items: center; justify-content: center; }
.nav a { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 700; 
  font-size: 13px; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  opacity: .95; 
  position: relative;
  transition: opacity 0.3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}
.nav a:hover { 
  opacity: 1; 
}
.nav a:hover::after {
  width: 100%;
}
.nav a.cta { 
  padding: 10px 14px; 
  border-radius: 0; 
  background: transparent; 
  border: 2px solid var(--brand); 
  color: var(--text); 
  font-weight: 700; 
  transition: all 0.3s ease;
}
.nav a.cta:hover { 
  background: var(--brand);
  color: white;
  box-shadow: none; 
}

.nav a.cta::after {
  display: none; /* No underline for CTA button */
}

/* Hero section completely removed - all CSS deleted */
.subhead { max-width: 820px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 6px; }
.trust { display: flex; align-items: center; gap: 10px; margin-top: 20px; opacity: .9; }
.trust-items { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.trust-pill { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); padding: 8px 12px; border-radius: 0; color: var(--muted); font-size: 13px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 0; border: 1px solid rgba(255,255,255,.16); text-decoration: none; color: var(--text); font-weight: 600; box-shadow: var(--shadow-1) inset; backdrop-filter: blur(6px); }
.btn.primary { background: transparent; color: var(--text); border: 2px solid var(--brand); box-shadow: 0 0 0 0 rgba(255,45,45,0.0); }
.btn.primary:hover { box-shadow: 0 0 0 3px rgba(255,45,45,0.25); }
.btn.ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.btn:hover { transform: translateY(-1px); transition: transform var(--dur-slow) var(--ease-slow); }

/* Sections - Alternating backgrounds */
.section { padding: 60px 0; } /* Reduced from 120px */

/* Hero Section - COMPLETELY RESET, NO PADDING */
.hero { 
  position: relative; 
  padding: 0 !important; 
  margin: 0 !important;
  overflow: visible; 
  height: calc(100vh - 88px);
  min-height: calc(100vh - 88px);
  padding-top: 88px !important;
  display: flex; 
  align-items: center;
  justify-content: flex-start;
  background: var(--bg);
}
.hero .container {
  padding: 0 48px !important; /* Match other sections exactly */
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
}
.hero-inner { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start;
  text-align: left;
  gap: 0; 
  position: relative; 
  z-index: 10; 
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}
.headline {
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 8vw, 120px) !important;
  line-height: 0.8;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.headline .phrase {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0.8;
  display: block;
  font-size: clamp(64px, 8vw, 120px) !important;
}
.headline .phrase1 {
  margin-bottom: 10px; /* 10px gap */
}
.headline .phrase2 {
  margin-bottom: 10px; /* 10px gap */
}
.headline .phrase3 {
  margin-bottom: 0;
}
.headline .phrase {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.headline .phrase.show {
  opacity: 1;
  transform: translateY(0);
}
#services.section { 
  background: var(--bg);
  padding: 60px 0 !important; /* Reduced padding */
}
#clients.section { 
  background: var(--bg); 
  color: var(--text); 
  padding: 20px 0 !important; /* Reduced top and bottom padding */
}

#clients.section .container {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
#work.section { 
  background: var(--bg);
  padding: 60px 0 !important; /* Reduced padding */
}
#projects.section { background: var(--bg-alt); color: var(--text-alt); }
#process.section { background: var(--bg); }
#about.section { background: var(--bg-alt); color: var(--text-alt); }
#reviews.section { background: var(--bg); }
#contact.section { background: var(--bg-alt); color: var(--text-alt); }
#contact.section h2 {
  color: var(--text) !important;
}
#contact.section label span {
  color: var(--text) !important;
}

/* Work section and beyond should have transparent background for custom bg */
#work.section {
  padding: 60px 0 !important; /* Reduced padding to match other sections */
  background: transparent;
}

#about.section {
  background: #000000;
  height: 150vh; /* Even shorter for faster exit */
  position: relative;
}

/* Dark mode - about section stays black */
.dark-mode #about.section {
  background: #000000;
}

.about-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8rem;
  background: transparent;
  z-index: 1000;
  gap: 2rem;
}

.about-left {
  flex: 1;
}

.about-right {
  flex: 1;
  max-width: 500px;
}

.about-text {
  display: flex;
  align-items: center;
  gap: 1em;
}

.about-prefix {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 300;
  color: white;
  text-transform: uppercase;
}

.word-container {
  height: 200px; /* Height of one word - matches translateY */
  overflow: hidden;
  position: relative;
}

.word-list {
  transition: transform 0.5s ease;
}

.word-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 400;
  color: var(--brand);
  text-transform: uppercase;
  height: 200px;
  display: flex;
  align-items: center;
  line-height: 1;
  transition: opacity 0.5s ease;
}

.description-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}


.description-list {
  transition: transform 0.5s ease;
}

.description-item {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 300;
  height: 200px;
  display: flex;
  align-items: center;
  transition: opacity 0.5s ease;
  padding-right: 2rem;
}


#contact.section,
.site-footer {
  background: transparent;
}

.grid { display: grid; gap: 18px; }
.services-grid { 
  grid-template-columns: repeat(4, minmax(0,1fr)) !important; 
  gap: 18px 18px !important;
  row-gap: 120px !important;
}

/* Force gap between rows with specific targeting */
#services .services-grid {
  row-gap: 120px !important;
  gap: 18px 18px !important;
}

/* Override the general grid rule specifically for services */
section#services .container .grid.services-grid {
  row-gap: 120px !important;
  gap: 18px 18px !important;
}

/* CLIENT LOGOS SECTION */
.clients {
  position: relative;
  padding: 40px 0;
  margin-top: 0;
  background: radial-gradient(ellipse at center, rgba(255, 45, 45, 0.05) 0%, transparent 70%);
  overflow: hidden;
}

/* MARQUEE ROW */
.marquee-row {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  margin: 10px 0; /* Reduced top and bottom margin */
}

.marquee-row::before,
.marquee-row::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.marquee-row::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.marquee-row::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

/* Dark mode - feathered edges should be black */
.dark-mode .marquee-row::before {
  background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.dark-mode .marquee-row::after {
  background: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.marquee-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: marqueeRight 80s linear infinite;
  will-change: transform;
  width: max-content;
}

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

/* CLIENT LOGO CARDS */
.client-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 200px;
  margin: 0;
  transition: all 0.3s ease;
  filter: brightness(0);
  opacity: 1;
  flex-shrink: 0;
}

.client-logo:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: brightness(0);
}

/* Dark mode client logos - invert to white */
.dark-mode .client-logo {
  filter: brightness(0) invert(1);
}
.dark-mode .client-logo:hover {
  filter: brightness(0) invert(1);
}

.client-logo svg {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.client-logo a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Smaller logo for We Serve U Better */
.client-logo-small {
  width: 250px !important; /* Smaller container */
  height: 100px !important;
}

.client-logo-small img {
  width: 100% !important;
  height: 100% !important;
}

/* ITD logo - keep original colors (no black filter) and make smaller */
.client-logo-color {
  filter: none !important; /* Keep original colors */
  width: 300px !important; /* Smaller container */
  height: 150px !important;
}

.client-logo-color:hover {
  filter: none !important; /* Keep original colors on hover */
}

.client-logo-color img {
  filter: none !important; /* Keep original colors */
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .clients {
    padding: 60px 0;
  }
  
  .marquee-row {
    height: 140px;
    margin: 30px 0;
  }
  
  .client-logo {
    width: 200px;
    height: 100px;
    margin: 0 40px;
  }
}

@media (max-width: 480px) {
  .client-logo {
    width: 150px;
    height: 75px;
    margin: 0 30px;
  }
  
  .marquee-row {
    height: 100px;
  }
}

/* Creative title styles for services section - Desktop only */
@media (min-width: 769px) {
  .creative-title {
    text-align: center;
    margin-bottom: 200px; /* Extended bottom padding */
    padding-bottom: 80px; /* Extra padding to show in one view */
    font-family: "Bebas Neue", Impact, system-ui, sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 0.9;
    z-index: 10;
    position: relative;
    min-height: 100vh; /* Show in one single view */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.creative-title {
  text-align: center;
  margin-bottom: 120px;
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 0.9;
  z-index: 10;
  position: relative;
}

.title-line {
  display: block;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 1.2s ease-out forwards;
  text-shadow: 0 0 20px rgba(255, 45, 45, 0.3);
}

.title-bottom {
  transform: translateX(-100px);
  animation: slideInLeft 1.2s ease-out forwards 0.3s;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
    text-shadow: 0 0 0px rgba(255, 45, 45, 0);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 45, 45, 0.6);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    text-shadow: 0 0 20px rgba(255, 45, 45, 0.3);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
    text-shadow: 0 0 0px rgba(255, 45, 45, 0);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 45, 45, 0.6);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    text-shadow: 0 0 20px rgba(255, 45, 45, 0.3);
  }
}

@keyframes titleBounceIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  60% {
    opacity: 0.9;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.title-line {
  display: block;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes titleFallback {
  to {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }
}

@keyframes wordSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.title-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleX(0.8); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

.title-line {
  display: block;
  position: relative;
  overflow: hidden;
}

.title-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleX(0.8); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

/* MARQUEE ROWS */
.marquee-row {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  margin: 20px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: marqueeRight 30s linear infinite;
}

.top-row .marquee-track {
  animation: marqueeRight 30s linear infinite;
}

.bottom-row .marquee-track {
  animation: marqueeLeft 30s linear infinite;
}

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

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

/* PAUSE ANIMATIONS ON HOVER - handled by JavaScript for individual cards */

/* SERVICE ITEMS */
.service-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  height: 80px;
  margin: 0 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 45, 45, 0.1) 0%, 
    transparent 50%, 
    rgba(255, 45, 45, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.service-item:hover::before {
  opacity: 1;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 45, 45, 0.3);
  transform: scale(1.1);
  min-width: 400px;
  height: 200px;
  box-shadow: 
    0 20px 60px rgba(255, 45, 45, 0.2),
    0 0 0 1px rgba(255, 45, 45, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* SERVICE TITLE */
.service-title {
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.service-item:hover .service-title {
  transform: translateY(-20px);
  opacity: 0;
}

/* SERVICE DETAILS */
.service-details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  width: 100%;
  padding: 20px;
  z-index: 2;
}

.service-item:hover .service-details {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.service-icon {
  font-size: 32px;
  margin-bottom: 8px;
  filter: grayscale(0.2);
  transition: all 0.4s ease;
  display: none;
}

.service-item:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
  filter: grayscale(0);
}

.service-details p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-item:hover .service-details p {
  color: var(--text);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.tag {
  font-size: 10px;
  color: var(--muted);
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.service-item:hover .tag {
  background: rgba(255, 45, 45, 0.1);
  border-color: rgba(255, 45, 45, 0.2);
  color: var(--text);
  opacity: 1;
  transform: translateY(-2px);
}

/* CENTER LOGO */
.center-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  z-index: 10;
}

.center-logo {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 40px rgba(255, 45, 45, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: centerPulse 4s ease-in-out infinite;
  transition: all 0.4s ease;
}

.center-logo:hover {
  transform: scale(1.1);
  box-shadow: 
    0 0 60px rgba(255, 45, 45, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes centerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.center-logo img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
}

/* FLOATING PARTICLES */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: float var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.particle:nth-child(1) { top: 20%; left: 10%; }
.particle:nth-child(2) { top: 60%; left: 80%; }
.particle:nth-child(3) { top: 80%; left: 20%; }
.particle:nth-child(4) { top: 30%; left: 70%; }
.particle:nth-child(5) { top: 70%; left: 50%; }
.particle:nth-child(6) { top: 10%; left: 60%; }

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(-10px) translateX(10px) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(-100px) translateX(50px) scale(1);
  }
  100% {
    transform: translateY(-120px) translateX(60px) scale(0);
    opacity: 0;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .marquee-row {
    height: 100px;
  }
  
  .service-item {
    min-width: 250px;
    height: 70px;
    margin: 0 30px;
  }
  
  .service-title {
    font-size: 20px;
  }
  
  .service-details p {
    font-size: 12px;
  }
  
  .tag {
    font-size: 9px;
    padding: 3px 6px;
  }
  
  .center-logo {
    width: 100px;
    height: 100px;
  }
  
  .center-logo img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .creative-title {
    font-size: clamp(36px, 6vw, 80px);
    margin-bottom: 60px;
  }
  
  .marquee-row {
    height: 80px;
    margin: 15px 0;
  }
  
  .service-item {
    min-width: 200px;
    height: 60px;
    margin: 0 20px;
  }
  
  .service-title {
    font-size: 18px;
  }
  
  .service-icon {
    font-size: 24px;
  }
  
  .service-details p {
    font-size: 11px;
  }
  
  .tag {
    font-size: 8px;
    padding: 2px 4px;
  }
  
  .center-logo {
    width: 80px;
    height: 80px;
  }
  
  .center-logo img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .creative-title {
    font-size: clamp(28px, 5vw, 60px);
    margin-bottom: 40px;
  }
  
  .marquee-row {
    height: 70px;
    margin: 10px 0;
  }
  
  .service-item {
    min-width: 150px;
    height: 50px;
    margin: 0 15px;
  }
  
  .service-title {
    font-size: 16px;
  }
  
  .service-icon {
    font-size: 20px;
  }
  
  .service-details p {
    font-size: 10px;
  }
  
  .tag {
    font-size: 7px;
    padding: 2px 4px;
  }
  
  .center-logo {
    width: 60px;
    height: 60px;
  }
  
  .center-logo img {
    width: 30px;
    height: 30px;
  }
}
/* Service Cards - Exact copy of "How we work" cards CSS */
.card { 
  position: relative !important;
  padding: 32px !important;
  background: #000000 !important;
  color: var(--text-alt) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1) !important;
  overflow: hidden !important;
  opacity: 0;
  transform: translateY(40px);
}

/* Dark mode - cards become white */
.dark-mode .card {
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2) !important;
}
  border: none !important;
}

.card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.card::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;
  z-index: 1;
}

.card:hover {
  transform: translate3d(0, -4px, 0) rotate(1deg) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

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

.card > div {
  position: relative;
  z-index: 2;
}

.card p {
  color: var(--text-alt) !important;
}

.card h3 {
  color: var(--text-alt) !important;
}

.card:hover > .glow {
  opacity: 0 !important;
}

.card > div {
  position: relative;
  z-index: 2;
}

.card h3 {
  color: var(--text-alt) !important;
}

.card p,
.card li {
  color: var(--text-alt) !important;
}

/* Parallax support for service cards */
#services .card {
  will-change: transform;
  transition: transform 0.1s ease-out;
}



/* Shine effects for border */
.card .shine,
.card .shine::before,
.card .shine::after {
  pointer-events: none;
  border-radius: 0;
  border: 1px solid transparent;
  width: 75%;
  height: auto;
  min-height: 0px;
  aspect-ratio: 1;
  display: block;
  position: absolute;
  right: calc(var(--border) * -1);
  top: calc(var(--border) * -1);
  left: auto;
  z-index: 1;
  --start: 12%;
  background: conic-gradient(
      from var(--conic, -45deg) at center in oklch,
      transparent var(--start,0%), hsl(var(--hue1), var(--sat,80%), var(--lit,60%)), transparent var(--end,50%) 
  ) border-box;
  mask: 
      linear-gradient(transparent), 
      linear-gradient(black);
  mask-repeat: no-repeat;
  mask-clip: padding-box, border-box;
  mask-composite: subtract;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.card > div {
  position: relative;
  z-index: 10;
}

.card .shine::before,
.card .shine::after {
  content: "";
  width: auto;
  inset: -2px;
  mask: none;
}
    
.card .shine::after { 
  z-index: 2;
  --start: 17%;
  --end: 33%;
  background: conic-gradient(
      from var(--conic, -45deg) at center in oklch,
      transparent var(--start,0%), hsl(var(--hue1), var(--sat,80%), var(--lit,85%)), transparent var(--end,50%) 
  );
}

.card .shine-bottom {
  top: auto;
  bottom: calc(var(--border) * -1);
  left: calc(var(--border) * -1);
  right: auto;
  --hue: var(--hue2);
  --conic: 135deg;
}

/* Advanced glow effect with pointer tracking */
/* Removed conflicting card CSS - using exact "How we work" card styles above */

/* Removed conflicting card::before and card::after - using gradient flash effect instead */

.card > .glow {
  /* glowing border edges */
  --outset: var(--pads);
  
  position: absolute;
  /* outer padding so the glow can overflow the element without being masked */
  inset: calc(var(--outset) * -1);
  pointer-events: none;
  z-index: 1;
  border-radius: 0; /* LEVEL brand - no rounded edges */
  transition: opacity 0.25s ease-out;
  
  /* glow is masked to a cone, originating from the center towards the pointer */
  mask-image: 
    conic-gradient( 
      from var(--pointer-°, 45deg) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
    );
  
  /* opacity increases as pointer gets near edge */
  opacity: calc((var(--pointer-d, 0) - var(--glow-sens)) / (100 - var(--glow-sens)));
}
 
.card:not(:hover):not(.animating) > .glow {
  opacity: 0.3;
  transition: opacity 0.75s ease-in-out;
}

.card > .glow::before {
  content: "";
  position: absolute;
  inset: var(--outset);
  border-radius: 0; /* LEVEL brand - no rounded edges */
  box-shadow: 
    inset 0 0 0 1px hsl( var(--glow-color) / 100%), 
    
    inset 0 0 1px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 60%)), 
    inset 0 0 3px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 50%)), 
    inset 0 0 6px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 40%)), 
    inset 0 0 15px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 30%)), 
    inset 0 0 25px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 20%)), 
    inset 0 0 50px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 10%)), 
    
    0 0 1px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 60%)), 
    0 0 3px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 50%)), 
    0 0 6px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 40%)), 
    0 0 15px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 30%)), 
    0 0 25px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 20%)), 
    0 0 50px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 10%));
}
.card.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.card p { margin: 4px 0 0; opacity: 0; transform: translateY(10px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s; }
.card.animate-in p { opacity: 1; transform: translateY(0); }
.card ul { 
  margin: 12px 0 0; 
  padding-left: 18px; 
  color: var(--muted); 
  opacity: 0; 
  transform: translateY(10px); 
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}
.card.animate-in ul { opacity: 1; transform: translateY(0); }

.card li {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  margin: 0;
  list-style-type: disc;
  list-style-position: inside;
}

/* Card base (glow disabled for now) */
.card, .work-card { position: relative; overflow: visible; }

.work-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
/* Work cards with same glow style as service cards */
.work-card { 
  --hue1: 0; /* Red hue for LEVEL brand */
  --hue2: 0; /* Red hue for LEVEL brand */
  --border: 1px;
  --border-color: rgba(255, 255, 255, 0.2); /* White border */
  --radius: 0px; /* LEVEL brand - no rounded edges */
  --ease: cubic-bezier(0.5, 1, 0.89, 1);
  
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  border: var(--border) solid var(--border-color);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: rgba(255, 255, 255, 0.1) 0px 10px 16px -8px, rgba(255, 255, 255, 0.15) 0px 20px 36px -14px;
  transition: all 0.4s var(--ease);
  overflow: visible;
  isolation: isolate;
  opacity: 0;
  transform: translateY(40px);
}

.work-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.work-card {
  /* Glow effect variables */
  --glow-sens: 15; /* More sensitive to cursor proximity */
  --glow-color: 0deg 0% 100%; /* White glow */
  --glow-boost: 40%; /* More intense glow */
  --pads: 60px;
  --pointer-°: 45deg;
  --blur: 15px;
  --white0: hsla(0, 0%, 100%, 0);
  --white50: hsla(0, 0%, 100%, 0.05);
  --white100: hsla(0, 0%, 100%, 0.1);
  --white200: hsla(0, 0%, 100%, 0.2);
  --white: hsl(0, 0%, 100%);
  
  display: block;
  text-decoration: none !important; 
  color: var(--text);
}

/* Remove ALL underlines from work-card links */
a.work-card,
.work-card,
.work-card:link,
.work-card:visited,
.work-card:hover,
.work-card:active,
.work-card:focus {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}

.work-card:hover {
  transform: translate3d(0, -2px, 0.01px);
  box-shadow: rgba(255, 255, 255, 0.2) 0px 15px 25px -8px, rgba(255, 255, 255, 0.25) 0px 25px 45px -14px;
}

/* Different floating phases for work cards */
.work-card:nth-child(1) { animation-delay: 0.2s; }
.work-card:nth-child(2) { animation-delay: 2.2s; }
.work-card:nth-child(3) { animation-delay: 4.2s; }

/* Glow effect for work cards */
.work-card > .glow {
  --outset: var(--pads);
  
  position: absolute;
  inset: calc(var(--outset) * -1);
  pointer-events: none;
  z-index: 1;
  border-radius: 0; /* LEVEL brand - no rounded edges */
  transition: opacity 0.25s ease-out;
  
  /* glow is masked to a cone, originating from the center towards the pointer */
  mask-image: 
    conic-gradient( 
      from var(--pointer-°, 45deg) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
    );
  
  /* opacity increases as pointer gets near edge */
  opacity: calc((var(--pointer-d, 0) - var(--glow-sens)) / (100 - var(--glow-sens)));
}
 
.work-card:not(:hover):not(.animating) > .glow {
  opacity: 0.3;
  transition: opacity 0.75s ease-in-out;
}

.work-card > .glow::before {
  content: "";
  position: absolute;
  inset: var(--outset);
  border-radius: 0; /* LEVEL brand - no rounded edges */
  box-shadow: 
    inset 0 0 0 1px hsl( var(--glow-color) / 100%), 
    
    inset 0 0 1px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 60%)), 
    inset 0 0 3px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 50%)), 
    inset 0 0 6px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 40%)), 
    inset 0 0 15px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 30%)), 
    inset 0 0 25px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 20%)), 
    inset 0 0 50px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 10%)), 
    
    0 0 1px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 60%)), 
    0 0 3px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 50%)), 
    0 0 6px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 40%)), 
    0 0 15px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 30%)), 
    0 0 25px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 20%)), 
    0 0 50px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 10%));
}
.work-card .work-media { 
  aspect-ratio: 16/10; 
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.06)); 
  filter: saturate(120%);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.work-card .work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.work-card:hover .work-media video {
  transform: scale(1.05);
}
.work-card .work-meta { 
  padding: 16px; 
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-card .work-meta span {
  display: block;
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  text-decoration: none !important;
  border-bottom: none !important;
}
.work-card .work-meta strong {
  display: block;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  text-decoration: none !important;
  border-bottom: none !important;
}
.work-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
  transform: translate3d(0, 0, 0);
}
.work-card:hover { 
  transform: translate3d(0, -4px, 0) rotate(1deg); 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.steps li { 
  position: relative;
  padding: 32px;
  background: var(--bg-alt);
  color: var(--text-alt);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.steps li.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.steps li::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;
  z-index: 1;
}

.steps li:hover {
  transform: translate3d(0, -4px, 0) rotate(1deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.steps li:hover::before {
  left: 100%;
}

.steps li > div {
  position: relative;
  z-index: 2;
}

.steps li p {
  color: var(--text-alt) !important;
}

.steps li h3 {
  color: var(--text-alt) !important;
}

/* Glow effect for steps */
.steps li > .glow {
  --outset: var(--pads);
  
  position: absolute;
  inset: calc(var(--outset) * -1);
  pointer-events: none;
  z-index: 1;
  border-radius: 0; /* LEVEL brand - no rounded edges */
  transition: opacity 0.25s ease-out;
  
  /* glow is masked to a cone, originating from the center towards the pointer */
  mask-image: 
    conic-gradient( 
      from var(--pointer-°, 45deg) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
    );
  
  /* opacity increases as pointer gets near edge */
  opacity: calc((var(--pointer-d, 0) - var(--glow-sens)) / (100 - var(--glow-sens)));
}
 
.steps li:not(:hover):not(.animating) > .glow {
  opacity: 0.3;
  transition: opacity 0.75s ease-in-out;
}

.steps li > .glow::before {
  content: "";
  position: absolute;
  inset: var(--outset);
  border-radius: 0; /* LEVEL brand - no rounded edges */
  box-shadow: 
    inset 0 0 0 1px hsl( var(--glow-color) / 100%), 
    
    inset 0 0 1px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 60%)), 
    inset 0 0 3px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 50%)), 
    inset 0 0 6px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 40%)), 
    inset 0 0 15px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 30%)), 
    inset 0 0 25px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 20%)), 
    inset 0 0 50px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 10%)), 
    
    0 0 1px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 60%)), 
    0 0 3px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 50%)), 
    0 0 6px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 40%)), 
    0 0 15px 0 hsl( var(--glow-color) / calc(var(--glow-boost) + 30%)), 
    0 0 25px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 20%)), 
    0 0 50px 2px hsl( var(--glow-color) / calc(var(--glow-boost) + 10%));
}

.step-num { font-family: "Bebas Neue"; font-size: 32px; color: var(--brand); display: inline-block; margin-bottom: 6px; letter-spacing: 1px; }

/* Removed conflicting about-content rule */

/* Reviews Section */
#reviews.section {
  padding: 80px 0;
  background: transparent;
}

#reviews.section .container {
  padding: 0 !important;
  max-width: 100% !important;
}

#reviews.section h2 {
  padding: 0 48px;
  margin-bottom: 60px;
}

.reviews-wrapper {
  margin-top: 0;
  overflow: hidden;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

.reviews-row {
  margin-bottom: 40px;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 24px;
  width: fit-content;
  animation: scrollReviews 40s linear infinite;
}

.bottom-row .reviews-track {
  animation: scrollReviews 40s linear infinite;
  animation-delay: -20s; /* Out of sync - starts halfway through animation */
}

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

.review-card {
  flex: 0 0 400px;
  padding: 32px;
  background: var(--bg-alt);
  color: var(--text-alt);
  border: none;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.review-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.review-card::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;
  z-index: 1;
}

.review-card:hover {
  transform: translate3d(0, -4px, 0) rotate(1deg);
  box-shadow: none !important;
  background: var(--bg) !important;
}

.review-card:hover::before {
  left: 100%;
}

.review-content,
.review-author {
  position: relative;
  z-index: 2;
}

.review-text {
  color: var(--text-alt) !important;
}

.review-author strong,
.review-author span {
  color: var(--text-alt) !important;
}

.review-card:hover .review-text,
.review-card:hover .review-author strong,
.review-card:hover .review-author span {
  color: var(--text) !important;
}

.review-card:nth-child(1) {
  animation-delay: 0s;
}

.review-card:nth-child(2) {
  animation-delay: 2s;
}

.review-card:nth-child(3) {
  animation-delay: 4s;
}

/* Duplicate review-card:hover removed - using the one above */

.review-content {
  margin-bottom: 32px;
}

.review-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-text:last-of-type {
  margin-bottom: 0;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-author strong {
  color: var(--text);
  font-size: 18px;
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.review-author span {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Reviews */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .review-card {
    padding: 32px 24px;
  }
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.contact-form { 
  display: grid; 
  gap: 24px; 
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: rgba(255, 255, 255, 0.1) 0px 10px 16px -8px, rgba(255, 255, 255, 0.15) 0px 20px 36px -14px;
  padding: 40px;
  border-radius: 0;
}

.contact-info {
  padding: 20px 0;
}

.contact-info h3 {
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
  color: var(--text);
}

.contact-info p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-method:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.contact-method svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.contact-method:hover svg {
  opacity: 1;
}

.copy-notice {
  font-size: 11px;
  color: #ff2d2d !important;
  margin: 4px 0 0 0;
  font-weight: 500;
  opacity: 0.8;
}
.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label span { 
  display: block; 
  color: var(--muted); 
  font-size: 13px; 
  margin-bottom: 8px; 
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input, textarea { 
  width: 100%; 
  padding: 16px 18px; 
  border-radius: 0; 
  border: 2px solid var(--bg-alt); 
  background: var(--bg); 
  color: var(--text); 
  font: inherit; 
  transition: all 0.3s ease;
  font-size: 16px;
}

input::placeholder,
textarea::placeholder {
  color: #999999;
  opacity: 1;
  font-weight: 400;
}

input:focus, textarea:focus { 
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 2px rgba(255, 45, 45, 0.2);
}

/* Dark mode form inputs */
.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
  color: #666666;
}

.dark-mode input:focus, 
.dark-mode textarea:focus {
  background: rgba(0,0,0,.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.btn.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--brand);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn.primary:hover {
  background: #e02626;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 45, 45, 0.3);
}

.btn.primary svg {
  transition: transform 0.3s ease;
}

.btn.primary:hover svg {
  transform: translateX(2px);
}

/* Custom Background */
.custom-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.custom-bg.active {
  opacity: 1;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-black {
  background: radial-gradient(ellipse 2000px 1500px at 20% 30%, #000000 0%, #0a0a0a 40%, #000000 100%);
  background-attachment: fixed;
}

/* Dark mode - bg-black becomes white */
.dark-mode .bg-black {
  background: radial-gradient(ellipse 2000px 1500px at 20% 30%, #ffffff 0%, #f5f5f5 40%, #ffffff 100%);
}

.bg-red {
  background: 
    radial-gradient(ellipse 800px 600px at 80% 20%, rgba(255, 45, 45, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 1200px 800px at 20% 80%, rgba(255, 45, 45, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 60% 60%, rgba(255, 45, 45, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 1000px 700px at 50% 50%, rgba(255, 45, 45, 0.06) 0%, transparent 80%);
  background-attachment: fixed;
  mix-blend-mode: screen;
}

.bg-pattern {
  background: 
    linear-gradient(45deg, transparent 48%, rgba(255, 45, 45, 0.04) 49%, rgba(255, 45, 45, 0.04) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 45, 45, 0.03) 49%, rgba(255, 45, 45, 0.03) 51%, transparent 52%);
  background-size: 60px 60px;
  background-attachment: fixed;
  mix-blend-mode: overlay;
  animation: pattern-drift 20s linear infinite;
}

@keyframes pattern-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Gentle floating animation for cards */
@keyframes gentleFloat {
  0%, 100% { 
    transform: translateY(0px) translate3d(0, 0, 0.01px); 
  }
  25% { 
    transform: translateY(-3px) translate3d(0, 0, 0.01px); 
  }
  50% { 
    transform: translateY(-6px) translate3d(0, 0, 0.01px); 
  }
  75% { 
    transform: translateY(-3px) translate3d(0, 0, 0.01px); 
  }
}

/* Projects Title Section - Separate section with borders */
@media (min-width: 769px) {
  #projects-title.projects-title-section {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    margin-bottom: 10px; /* 10px gap to images */
    background: var(--bg);
    border-top: 1px solid #000000; /* Top border full width */
    border-bottom: 1px solid #000000; /* Bottom border full width */
  }
  
  /* Dark mode - projects title borders should be white */
  .dark-mode #projects-title.projects-title-section {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
  }

  #projects-title.projects-title-section h2 {
    padding: 0 48px; /* Left padding only */
    margin: 0;
    font-family: "Bebas Neue", Impact, system-ui, sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    color: var(--text);
  }

  /* Projects Gallery Section - Images only */
  #projects.section {
    position: relative;
    padding: 5px 0 5px 0 !important; /* Match top and bottom padding */
    min-height: 500px;
    height: 500px;
    overflow: hidden;
    background: var(--bg) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    border-bottom: 1px solid #000000; /* Bottom border only */
}

.dark-mode #projects.section {
    border-bottom: 1px solid #ffffff;
    border-top: none;
  }

  .projects-container {
    padding-bottom: 5px !important; /* Add bottom padding to match top */
  }

  #projects.section.locked {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
  }

  .projects-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 30px !important; /* Increased gap between images */
    width: fit-content;
    height: 500px !important;
    padding: 0 48px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    /* Feathered/masked edges */
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  }

  .projects-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .projects-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .project-item {
    position: relative;
    width: auto !important;
    height: 100% !important; /* Full height of container (500px) */
    flex-shrink: 0;
    cursor: pointer;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible;
    background: transparent;
    box-shadow: none !important;
    transition: none !important; /* No transitions */
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center;
    border-radius: 0 !important;
    transform: none !important;
  }

  /* All images fill container height, width is auto based on aspect ratio */
  .project-item .project-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .project-item .project-image img {
    height: 100% !important; /* Full height (500px) */
    width: auto !important; /* Auto width based on aspect ratio */
    object-fit: contain; /* Maintain aspect ratio */
  }

  /* No hover effect - removed grow */
  .project-item:hover {
    transform: none !important;
  }

  .project-image {
    width: auto;
    height: auto;
    position: relative;
    overflow: visible;
    background: transparent;
    display: block;
    border-radius: 0 !important;
    transform: none !important;
    transition: none !important;
  }

  .project-image:hover {
    transform: none !important;
    transition: none !important;
  }


  .project-image:hover img {
    transform: none !important;
    transition: none !important;
  }

  .project-image.placeholder {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .project-image.placeholder::after {
    content: "Image Coming Soon";
    color: var(--muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* Project content removed - images only for now */
}

/* Projects Section - Default (mobile keeps existing styles) */
.projects.section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.projects-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.project-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-item.image-left {
  grid-template-areas: "image content";
}

.project-item.image-right {
  grid-template-areas: "content image";
}

.project-image {
  grid-area: image;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: none !important; /* NO TRANSITIONS */
  transform: none !important; /* NO TRANSFORM */
}

.project-item:hover .project-image img {
  transform: none !important; /* NO ANIMATION - FLASH ONLY */
  transition: none !important;
}

.project-image.placeholder {
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.1) 0%, rgba(255, 45, 45, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image.placeholder::after {
  content: "Image Coming Soon";
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-year {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.project-title {
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .projects-container {
    gap: 80px;
  }
  
  .project-item {
    gap: 40px;
  }
  
  .project-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .projects-container {
    gap: 60px;
  }
  
  .project-item {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "content";
    gap: 30px;
  }
  
  .project-item.image-right {
    grid-template-areas: "image" "content";
  }
  
  .project-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .projects-container {
    gap: 40px;
  }
  
  .project-title {
    font-size: 1.8rem;
  }
  
  .project-year {
    font-size: 0.8rem;
  }
}

/* Footer */
.site-footer { 
  padding: 60px 0 40px; 
  border-top: 1px solid #000000; 
  background: transparent;
  margin-top: 80px;
}

/* Dark mode footer border - white instead of black */
.dark-mode .site-footer {
  border-top: 1px solid #ffffff;
}
.footer-inner { 
  display: grid; 
  grid-template-columns: auto 1fr auto; 
  align-items: center; 
  gap: 40px; 
}
.footer-brand { 
  display: flex; 
  align-items: center; 
}
.footer-logo { 
  height: 40px; 
  width: auto; 
  filter: brightness(0); 
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.footer-logo:hover {
  opacity: 1;
}

/* Dark mode footer logo - invert to white */
.dark-mode .footer-logo {
  filter: brightness(0) invert(1);
}
.dark-mode .footer-logo:hover {
  filter: brightness(0) invert(1);
}
  filter: brightness(0);
}
.footer-links { 
  display: flex; 
  flex-direction: row !important; /* Force horizontal */
  gap: 32px; 
  list-style: none !important; /* Remove bullet points */
  padding: 0; 
  margin: 0; 
  justify-content: center;
}

.footer-links li {
  list-style: none !important; /* Remove bullet points from list items */
  display: inline-block;
}

.footer-links a { 
  color: var(--muted); 
  text-decoration: none; 
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%; /* Start from center */
  transform: translateX(-50%); /* Center the underline */
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.footer-links a:hover { 
  color: var(--text); 
}

.footer-links a:hover::after {
  width: 100%;
}
.footer-meta { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
  color: var(--muted); 
  font-size: 13px; 
  align-items: flex-end; 
  text-align: right;
  line-height: 1.5;
}
.footer-meta span {
  opacity: 0.7;
}
.footer-meta a { 
  color: var(--muted); 
  text-decoration: none; 
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-meta a:hover { 
  color: var(--text); 
  opacity: 1;
}

/* Animations */
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].in { opacity: 1; transform: translateY(0); transition-duration: var(--dur-slow); transition-timing-function: var(--ease-slow); }

/* Override for projects section - always visible on desktop */
@media (min-width: 769px) {
  #projects.projects.section[data-animate] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
  
  #projects.projects.section[data-animate].in {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}
/* Canvas trail */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
  mix-blend-mode: screen;
}

/* Responsive */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  
  /* Contact responsive */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Hero adjustments */
  .hero-slide {
    bottom: 40px;
    right: 40px;
  }
  
  .hero-slide .text-content {
    width: 250px;
  }
  
  .hero-slide .word {
    font-family: "Bebas Neue", Impact, system-ui, sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    color: var(--text);
  }
  
  /* About section */
  .about-content {
    padding: 0 4rem;
    flex-direction: column;
    gap: 3rem;
  }
  
  .about-left,
  .about-right {
    flex: 1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  
  /* Header - Logo centered, Menu icon on same line */
  .header-inner { 
    height: 64px; 
    padding: 12px 24px;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .logo-img { 
    height: 40px; 
  }
  
  .nav {
    position: relative;
    right: auto;
  }
  
  .nav-toggle { 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 8px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
  }
  
  .nav-toggle:hover {
    opacity: 0.7;
  }
  
  .nav-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 3px 0;
    transition: all 0.3s ease;
  }
  
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Full page menu overlay */
  .nav-links { 
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    backdrop-filter: none;
    border: none;
    border-radius: 0; 
    padding: 0;
    flex-direction: column;
  }
  
  /* Dark mode mobile menu - becomes white */
  .dark-mode .nav-links {
    background: #ffffff; 
    align-items: center; 
    justify-content: center;
    gap: 32px; 
    display: none;
    z-index: 1000;
    box-shadow: none;
    width: 100%;
    height: 100vh;
  }
  
  .nav-links.open { 
    display: flex; 
  }
  
  .nav-links a {
    font-size: 24px;
    padding: 16px 0;
    width: auto;
    text-align: center;
  }
  
  .nav-links a.cta {
    border: 2px solid var(--brand);
    padding: 16px 32px;
    margin-top: 16px;
  }
  
  .nav-links a {
    font-size: 14px;
    padding: 8px 0;
    width: 100%;
  }
  
  .nav a.cta {
    padding: 12px 16px;
    width: auto;
    margin-top: 8px;
  }
  
  /* Hero Section - Mobile: Constant Brand & Marketing image, scrolling service titles */
  .hero {
    min-height: 100vh;
    padding: 0;
  }
  
  .hero-inner {
    padding: 0 24px;
  }
  
  .headline {
    font-size: clamp(32px, 8vw, 64px);
    line-height: 1.1;
  }
  
  /* On mobile, keep Brand & Marketing image constant */
  .hero-service-image-wrapper[data-service="Brand & Marketing"] {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Hide other service images on mobile */
  .hero-service-image-wrapper:not([data-service="Brand & Marketing"]) {
    display: none;
  }
  
  /* Hero slide - center aligned, vertically stacked, large text */
  .hero-slide {
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 90%;
    max-width: 600px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  
  .hero-slide .border-line {
    width: 100%;
    height: 3px;
    flex-shrink: 0;
  }
  
  .hero-slide .text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  
  .hero-slide .word {
    font-family: "Bebas Neue", Impact, system-ui, sans-serif;
    font-size: clamp(48px, 12vw, 80px);
    white-space: nowrap;
    text-align: center;
    font-weight: 400;
    line-height: 1.1;
    display: block;
    color: var(--text);
  }
  
  .hero-logo-fullscreen-img {
    width: 90vw;
    height: 90vh;
  }
  
  /* Hero service images - mobile optimization */
  .hero-service-image {
    object-fit: cover;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 70%);
  }
  
  /* Sections */
  .section {
    padding: 60px 0;
  }
  
  #work.section {
    padding: 120px 0 60px 0;
  }
  
  /* Services Grid - Vertically stacked, left aligned */
  .services-grid { 
    grid-template-columns: 1fr !important; 
    gap: 32px !important;
    row-gap: 32px !important;
  }
  
  .card {
    padding: 24px 20px;
    text-align: left; /* Left align on mobile */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  
  .card.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  
  .card h3 {
    font-size: clamp(20px, 4vw, 24px);
    text-align: left;
  }
  
  .card h3::after {
    margin: 8px 0 0 0;
  }
  
  .card p {
    font-size: clamp(14px, 2vw, 16px);
    margin-top: 8px;
    text-align: left;
  }
  
  .card ul {
    margin-top: 16px;
    font-size: clamp(13px, 1.8vw, 15px);
    text-align: left;
    list-style: disc;
    padding-left: 20px;
  }
  
  .card ul li {
    text-align: left;
    padding: 4px 0;
  }
  
  .card ul li::before {
    display: none;
  }
  
  /* Creative Title - Much bigger, 3 lines, full-width red lines, consistent padding */
  .creative-title {
    font-size: clamp(72px, 18vw, 140px);
    margin-bottom: 120px;
    line-height: 0.9;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 40px 24px; /* Consistent padding */
  }
  
  .title-line {
    display: block;
    width: 100%;
    position: relative;
    text-align: center;
    padding-bottom: 16px;
  }
  
  .title-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--brand);
    box-shadow: 0 0 30px rgba(255, 45, 45, 0.8);
  }
  
  /* Ensure all 3 lines show */
  .creative-title .title-line {
    display: block !important;
  }
  
  /* Work Grid */
  .work-grid { 
    grid-template-columns: 1fr; 
    gap: 24px;
  }
  
  .work-card {
    padding: 20px;
  }
  
  .work-card .work-meta {
    padding: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .work-card .work-meta span {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    text-decoration: none !important;
    border-bottom: none !important;
  }
  
  .work-card .work-meta strong {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 400;
    color: var(--text);
    line-height: 1.4;
    text-decoration: none !important;
    border-bottom: none !important;
    font-family: "Inter", sans-serif;
    display: block;
  }
  
  /* Steps - Left aligned */
  .steps { 
    grid-template-columns: 1fr; 
    gap: 24px;
  }
  
  .steps li {
    padding: 32px 24px;
    text-align: left;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .steps li.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  
  .step-num {
    font-size: 28px;
    text-align: left;
    display: block;
  }
  
  .steps li h3 {
    font-size: clamp(20px, 3vw, 24px);
    text-align: left;
  }
  
  .steps li h3::after {
    margin: 8px 0 0 0;
  }
  
  .steps li p {
    font-size: clamp(14px, 2vw, 16px);
    text-align: left;
  }
  
  .steps li > div {
    text-align: left;
  }
  
  /* About Section - Hide on mobile for now (or implement scroll version) */
  #about.section {
    display: none; /* Hide on mobile as requested */
  }
  
  /* Projects Section - Title, Year, Image stacked (mobile only) */
  .projects-container {
    gap: 60px;
  }
  
  .project-item {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "content"
      "image";
    gap: 20px;
    display: flex;
    flex-direction: column;
  }
  
  .project-item.image-right {
    grid-template-areas: 
      "content"
      "image";
  }
  
  .project-content {
    grid-area: content;
    text-align: left;
    display: flex;
    flex-direction: column;
    order: 1;
  }
  
  .project-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 8px;
    order: 1;
  }
  
  .project-year {
    font-size: 12px;
    margin-bottom: 16px;
    display: block;
    order: 2;
  }
  
  .project-image {
    grid-area: image;
    width: 100%;
    order: 3;
  }
  
  /* Reviews - Center aligned with animations */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .review-card {
    padding: 32px 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .review-card.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  
  .review-content {
    text-align: center;
  }
  
  .review-text {
    font-size: 15px;
    text-align: center;
  }
  
  .review-author {
    text-align: center;
    align-items: center;
  }
  
  .review-author strong {
    font-size: 16px;
  }
  
  /* Contact - Center aligned */
  #contact.section h2 {
    text-align: center;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .contact-info {
    padding: 0;
    text-align: center;
  }
  
  .contact-info h3 {
    font-size: clamp(22px, 5vw, 28px);
    text-align: center;
  }
  
  .contact-info p {
    font-size: 15px;
    text-align: center;
  }
  
  .contact-methods {
    align-items: center;
  }
  
  .contact-method {
    justify-content: center;
  }
  
  .form-row { 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  
  .form-group {
    text-align: center;
  }
  
  .contact-form label span {
    text-align: center;
  }
  
  input, textarea {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
    text-align: left; /* Keep input text left-aligned */
  }
  
  .btn.primary {
    padding: 14px 28px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }
  
  /* Footer */
  .footer-inner { 
    grid-template-columns: 1fr; 
    text-align: center; 
    justify-items: center; 
    gap: 32px;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-logo {
    height: 36px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .footer-links a {
    font-size: 13px;
  }
  
  .footer-meta { 
    align-items: center; 
    text-align: center;
    font-size: 12px;
  }
  
  /* Client Logos - Make even bigger, smaller gaps on mobile */
  .clients {
    padding: 80px 0 60px 0;
    margin-top: 40px;
  }
  
  .marquee-row {
    height: 200px;
    margin: 20px 0;
  }
  
  .client-logo {
    width: 400px; /* Even bigger */
    height: 200px; /* Even bigger */
    margin: 0 20px; /* Smaller gaps */
  }
}

@media (max-width: 480px) {
  .container { 
    padding: 0 16px; 
  }
  
  /* Header */
  .header-inner {
    padding: 10px 16px;
    height: 56px;
  }
  
  .logo-img {
    height: 36px;
  }
  
  .nav-links {
    right: 12px;
    top: 64px;
    padding: 16px;
    min-width: 180px;
  }
  
  /* Hero */
  .hero-slide {
    bottom: 20px;
    right: 16px;
    left: 16px;
    gap: 10px;
  }
  
  .hero-slide .word {
    font-size: clamp(24px, 7vw, 40px);
  }
  
  .headline {
    font-size: clamp(28px, 9vw, 48px);
  }
  
  /* Sections */
  .section {
    padding: 50px 0;
  }
  
  #work.section {
    padding: 100px 0 50px 0;
  }
  
  /* Cards */
  .card {
    padding: 20px 16px;
  }
  
  .card h3 {
    font-size: 18px;
  }
  
  .card p {
    font-size: 14px;
  }
  
  .card ul {
    font-size: 13px;
    padding-left: 16px;
  }
  
  /* Creative Title - Keep big on small mobile */
  .creative-title {
    font-size: clamp(56px, 14vw, 100px);
    margin-bottom: 80px;
    min-height: 50vh;
  }
  
  /* What we do title */
  #services h2 {
    font-size: clamp(32px, 8vw, 48px);
    text-align: center;
    margin-bottom: 40px;
  }
  
  /* Work Cards */
  .work-card {
    padding: 16px;
  }
  
  .work-card .work-meta strong {
    font-size: 16px;
  }
  
  /* Steps */
  .steps li {
    padding: 20px 16px;
  }
  
  .step-num {
    font-size: 24px;
  }
  
  .steps li h3 {
    font-size: 18px;
  }
  
  /* About */
  .about-content {
    padding: 40px 16px;
    gap: 32px;
  }
  
  .about-prefix {
    font-size: clamp(28px, 12vw, 48px);
  }
  
  .word-item {
    font-size: clamp(28px, 12vw, 48px);
  }
  
  .description-item {
    font-size: clamp(15px, 4vw, 18px);
  }
  
  /* Projects */
  .projects-container {
    gap: 50px;
  }
  
  .project-item {
    gap: 20px;
  }
  
  .project-title {
    font-size: clamp(20px, 7vw, 28px);
  }
  
  /* Reviews */
  .review-card {
    padding: 24px 20px;
  }
  
  .review-text {
    font-size: 14px;
  }
  
  /* Contact */
  .contact-form {
    padding: 24px 20px;
  }
  
  .contact-info h3 {
    font-size: clamp(20px, 6vw, 24px);
  }
  
  input, textarea {
    padding: 12px 14px;
  }
  
  /* Footer */
  .footer-links {
    gap: 16px;
  }
  
  .footer-links a {
    font-size: 12px;
  }
  
  /* Client Logos - Keep bigger */
  .client-logo {
    width: 225px; /* 1.5x bigger (150px * 1.5) */
    height: 112px; /* 1.5x bigger (75px * 1.5) */
    margin: 0 20px;
  }
  
  .marquee-row {
    height: 120px; /* Increased */
  }
}

/* Touch optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Show cursor on touch devices */
  html, body, *, *::before, *::after {
    cursor: auto !important;
  }
  
  /* Larger touch targets */
  .nav a,
  .footer-links a,
  .contact-method {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .btn {
    min-height: 44px;
    padding: 14px 24px;
  }
  
  /* Disable hover effects on touch devices */
  .card:hover,
  .work-card:hover,
  .steps li:hover {
    transform: none;
  }
  
  /* Ensure cards are still visible */
  .card,
  .work-card,
  .steps li {
    border-color: rgba(255, 255, 255, 0.25);
  }
  
  /* Hide cursor canvas on touch devices for performance */
  #cursor-canvas,
  #hero-cursor-canvas {
    display: none !important;
  }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    height: 100vh;
  }
  
  .hero-slide {
    bottom: 20px;
  }
  
  .section {
    padding: 40px 0;
  }
}


