
   
   
/* Hero Section Layout & Brand Colors */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0b1110; /* Dark immersive background matching your screenshot */
  padding: 80px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-inner{
    margin-top: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

/* MOBILE RESPONSIVE OVERRIDE: 2 Rows moving in opposite X-axis directions */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-marquee-wrapper {
    height: 420px !important; /* Proper height for 2 rows */
    overflow: hidden !important;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  .marquee-track-container {
    display: flex;
    flex-direction: column !important; /* Stack the 2 columns vertically so they become 2 rows */
    gap: 15px;
    height: 100%;
    justify-content: center;
  }

  /* Transform the columns into horizontal moving rows on mobile */
  .marquee-col {
    display: flex !important;
    flex-direction: row !important; /* Make items layout side-by-side */
    width: max-content !important; /* Allow track to stretch for seamless scrolling */
    gap: 15px;
  }

  /* Row 1 scrolls Left on mobile */
  .marquee-col.scroll-up {
    animation: scrollLeftMobile 6s linear infinite !important;
  }

  /* Row 2 scrolls Right on mobile */
  .marquee-col.scroll-down {
    animation: scrollRightMobile 6s linear infinite !important;
  }

  .marquee-group {
    display: flex !important;
    gap: 15px;
  }

  .marquee-card {
    width: 180px !important; /* Card width on mobile */
    flex: 0 0 180px !important;
    aspect-ratio: 4 / 5 !important; /* Vertical portrait card look like your screenshot */
    margin: 0 !important;
  }
}

/* Mobile Horizontal Keyframes */
@keyframes scrollLeftMobile {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRightMobile {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Typography Overrides for Dark Theme */
.hero-section .eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
}

.hero-section .hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-section .hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 540px;
}

/* Rounded Pill Buttons (Matched to your 2nd reference image) */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-section .btn-solid {
  background-color: var(--color-accent, #3b82f6);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 9999px; /* Fully rounded pill shape */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-section .btn-solid:hover {
  background-color: var(--color-accent-hover, #2563eb);
  transform: translateY(-2px);
}

.hero-section .btn-ghost {
  background-color: transparent;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 9999px; /* Fully rounded pill shape */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-section .btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
/* Right Side: High-Performance Vertical Auto-Scrolling Marquee */
.hero-marquee-wrapper {
  position: relative;
  height: 580px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

.marquee-track-container {
  display: flex;
  gap: 20px;
  height: 100%;
  justify-content: center;
}

/* IMPORTANT: Use position relative and block/flex column layout so contents stack naturally */
.marquee-col {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

/* The inner moving track containing BOTH groups stacked */
.marquee-inner-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Image Cards */
.marquee-card {
  border-radius: 16px;
  overflow: hidden;
  background: #131c1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 5;
  width: 100%;
  flex-shrink: 0;
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Animations */
.scroll-up .marquee-inner-track {
  animation: scrollUp 16s linear infinite;
}

.scroll-down .marquee-inner-track {
  animation: scrollDown 16s linear infinite;
}

/* Pause animation on hover */
.hero-marquee-wrapper:hover .marquee-inner-track {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

/* MOBILE RESPONSIVE OVERRIDE */
@media (max-width: 991px) {
  .hero-marquee-wrapper {
    height: 420px !important;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  .marquee-track-container {
    flex-direction: column !important;
    gap: 15px;
  }

  .marquee-col {
    width: 100% !important;
    height: 50% !important;
  }

  .marquee-inner-track {
    flex-direction: row !important;
    gap: 15px;
    top: 0;
    left: 0;
    height: 100% !important;
    width: max-content !important;
  }

  .marquee-group {
    flex-direction: row !important;
    gap: 15px;
    width: auto !important;
    height: 100% !important;
  }

  .scroll-up .marquee-inner-track {
    animation: scrollLeftMobile 16s linear infinite !important;
  }

  .scroll-down .marquee-inner-track {
    animation: scrollRightMobile 16s linear infinite !important;
  }

  .marquee-card {
    width: 180px !important;
    flex: 0 0 180px !important;
    height: 100% !important;
  }
}

@keyframes scrollLeftMobile {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRightMobile {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
   
   
   
   
   
/* Trusted By Section Styles */
.trusted-section {
  background-color: #0b1110; /* Matches your brand dark theme background */
  padding: 50px 0 70px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.trusted-title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8; /* Muted text color consistent with your hero description */
  margin-bottom: 35px;
}

/* Marquee Container with edge fading masks */
.trusted-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.trusted-track {
  display: flex;
  width: max-content;
  gap: 80px; /* Increased gap to give larger logos breathing room */
  will-change: transform;
  animation: scrollLeftToRight 30s linear infinite;
}

.trusted-group {
  display: flex;
  align-items: center;
  gap: 80px; /* Matched gap */
  flex-shrink: 0;
}

/* Individual Logo Styling */
.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85; /* Increased base visibility for color logos */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.trusted-logo:hover {
  opacity: 1; /* Highlights logo fully on hover */
  transform: scale(1.05); /* Slight modern pop effect on hover */
}

.trusted-logo img {
  height: 42px; /* Increased logo size (was 28px) */
  max-width: 160px; /* Prevents extremely wide wordmark logos from stretching */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Pause marquee animation on hover */
.trusted-marquee-wrapper:hover .trusted-track {
  animation-play-state: paused;
}

/* GPU-Accelerated Left-to-Right Animation */
@keyframes scrollLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}   
   
   
   
   
   
   
   
   
   
   
/* =================================================================
   About Section Styles (Light Theme & Brand Blue Accent)
   =================================================================== */

.about-section {
  position: relative;
  background-color: #ffffff; /* Clean white background */
  padding: 100px 0;
  color: #0f172a; /* Deep dark text color for high contrast on white */
}

.about-container {
  /*max-width: 1320px;*/
  margin: 0 auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Left Column Styling */
.about-eyebrow-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.about-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b; /* Slate gray suitable for light background */
  white-space: nowrap;
}

.about-eyebrow-line {
  flex-grow: 1;
  height: 1px;
  background-color: rgba(15, 23, 42, 0.12); /* Dark subtle divider line for white bg */
}

.about-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* Italic serif styling for "AI-first creative" using your brand blue */
.about-title span {
  font-family: serif; 
  font-style: italic;
  font-weight: 400;
  color: #3b82f6; /* Brand blue accent color */
}

.about-subtitle {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 500;
  color: #334155; /* Darker slate for readability on white */
  margin-bottom: 20px;
}

.about-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b; /* Muted gray for body copy */
  margin-bottom: 36px;
  max-width: 520px;
}

/* Action Button (Brand Blue with white text) */
.about-action .btn-solid {
  background-color: var(--color-accent, #3b82f6);
  color: #ffffff; /* Ensures text is white for contrast against blue button */
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.about-action .btn-solid:hover {
  background-color: var(--color-accent-hover, #2563eb);
  transform: translateY(-2px);
}

/* Right Column: Visual Feature Card */
.about-visual-wrapper {
  position: relative;
  width: 100%;
}

.about-image-card {
  border-radius: 24px;
  overflow: hidden;
  background-color: #f1f5f9; /* Light neutral card background */
  border: 1px solid rgba(15, 23, 42, 0.08); /* Clean light border */
  aspect-ratio: 4 / 3.5;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06); /* Soft subtle shadow for light theme */
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-card:hover .about-img {
  transform: scale(1.03);
} 
   
   
   
   
   
   
   
   
   
   /* =================================================================
   Services Carousel Section Styles
   =================================================================== */

.services-section {
  background-color: #0b1110; /* Matches your brand dark theme background */
  padding: 100px 0;
  color: #ffffff;
  overflow: hidden;
}

.services-heading-wrapper {
  max-width: 800px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.services-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
}

.services-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.services-title span {
  font-family: serif;
  font-style: italic;
  font-weight: 400;
  color: #38bdf8; /* Soft blue accent highlight */
}

/* Carousel Layout & Scrolling Track */
.services-carousel-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 0 4vw 30px 4vw;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
  scroll-snap-type: x mandatory;
}

.services-carousel-wrapper::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.services-track {
  display: flex;
  gap: 30px;
  width: max-content;
}

/* Individual Card Setup */
.service-card {
  width: 360px;
  flex: 0 0 360px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

/* Image Box with Hover Reveal Effect */
.service-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.5;
  border-radius: 20px;
  overflow: hidden;
  background-color: #131c1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image-box img {
  transform: scale(1.05);
}

/* Hidden Content Overlay that slides/fades in on Hover */
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 16, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
  visibility: visible;
}

.service-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
  transform: translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-desc {
  transform: translateY(0);
}

/* Card Footer (Visible title below card when not hovering) */
.service-footer {
  padding-top: 20px;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card {
    width: 300px;
    flex: 0 0 300px;
  }
  .services-section {
    padding: 70px 0;
  }
}
   
   
   
   
   
 /* =================================================================
   CTA Section Styles (Full Background Image & Left Aligned Text)
   =================================================================== */

.cta-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: Left;
  overflow: hidden;
  background-color: #0b1110;
  padding: 100px 0;
}

/* Background Image Wrapper */
.cta-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark Gradient Overlay to keep text readable on the left side */
.cta-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(11, 17, 16, 0.95) 0%, 
    rgba(11, 17, 16, 0.8) 45%, 
    rgba(11, 17, 16, 0.3) 100%
  );
  z-index: 2;
}

/* Content Container Placement */
.cta-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.cta-inner {
  max-width: 650px;
}

/* Typography */
.cta-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* Italic Serif styling for "next chapter" */
.cta-title span {
  font-family: serif;
  font-style: italic;
  font-weight: 400;
  color: #38bdf8; /* Soft blue brand accent highlight */
}

.cta-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 36px;
}

/* Action Button (Pill style matching your brand) */
.cta-action .btn-solid {
  background-color: var(--color-accent, #3b82f6);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-action .btn-solid:hover {
  background-color: var(--color-accent-hover, #2563eb);
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .cta-section {
    min-height: 70vh;
    padding: 60px 0;
  }
  
  .cta-gradient-overlay {
    background: rgba(11, 17, 16, 0.88); /* Stronger solid overlay on mobile for readability */
  }
}
   
   
   
   
   
 /* =================================================================
   Our Work Section Performance-Optimized Styles
   =================================================================== */

.work-section {
  background-color: #0b1110;
  padding: 100px 0;
  color: #ffffff;
}

.work-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 30px;
}

@media (max-width: 991px) {
  .work-header-flex {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 35px;
  }
}

.work-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
}

.work-main-title {
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.work-main-title span {
  font-family: serif;
  font-style: italic;
  font-weight: 400;
  color: #38bdf8;
}

.btn-ghost-work {
  background-color: transparent;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-ghost-work:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* Expanding Cards Container */
.work-cards-container {
  display: flex;
  gap: 20px;
  width: 100%;
  height: 540px;
}

@media (max-width: 991px) {
  .work-cards-container {
    flex-direction: column;
    height: auto;
  }
}

/* Card Styling */
.work-card {
  position: relative;
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #131c1a;
}

@media (max-width: 991px) {
  .work-card {
    flex: none !important;
    height: 420px;
    width: 100%;
  }
}

.work-card.active {
  flex: 2.2;
}

/* Media wrapper for Image and Video background layers */
.work-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.work-thumb,
.work-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.work-thumb {
  z-index: 1;
}

.work-video-bg {
  z-index: 2; /* Sits on top of the thumbnail when injected via JS */
}

/* Overlay & Content Styling */
.work-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(11, 17, 16, 0.95) 0%,
    rgba(11, 17, 16, 0.45) 50%,
    rgba(11, 17, 16, 0.15) 100%
  );
  z-index: 3;
}

.work-card-content {
  position: relative;
  z-index: 4;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-card.active .work-tags {
  opacity: 1;
  transform: translateY(0);
}

.tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-info {
  margin-top: 20px;
}

.work-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.work-card.active .work-card-title {
  font-size: 1.85rem;
}

.work-card-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
  display: none;
}

.work-card.active .work-card-desc {
  display: block;
}

.btn-pill-white {
  background-color: #ffffff;
  color: #0b1110;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: fit-content;
}

.btn-pill-white:hover {
  opacity: 0.9;
  transform: translateX(4px);
}

.btn-pill-transparent {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  width: fit-content;
}

.work-card:hover .btn-pill-transparent,
.btn-pill-transparent:hover {
  background-color: #ffffff;
  color: #0b1110;
}
   
   
   
   
   
   
   
   
   
   
   
   
:root {
  --background: #0a0a0a;
  --foreground: #ffffff;
  --card: #121212;
  --card-foreground: #ffffff;
  --muted-foreground: #94a3b8;
  --accent: #3b82f6;
  --accent-foreground: #ffffff;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.2);
  --border: rgba(255, 255, 255, 0.12);
}

body {
  background-color: #0a0a0a;
  /* Applying your requested ambient background gradient styling */
  background-image: 
    radial-gradient(ellipse 80% 100% at 15% 45%, hsla(0, 0%, 100%, .28) 0, hsla(0, 0%, 100%, .1) 25%, transparent 55%),
    radial-gradient(ellipse 70% 100% at 85% 20%, rgba(59, 130, 246, .2) 0, transparent 60%),
    linear-gradient(120deg, #0a0a0a, #161c1c 25%, #252929 45%, #0a0a0a 75%, #050505);
  background-attachment: fixed;
  background-size: cover;
  color: var(--foreground);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--foreground);
}


*, *:before, *:after {
  box-sizing: inherit;
}

/* Shell Layout Containers */
.shell {
  width: 100%;
  /*max-width: 1440px;*/
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 768px) {
  .shell {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* Hairlines / Borders */
.hairline-t {
  border-top: 1px solid var(--hairline);
}
.border-hairline {
  border-color: var(--hairline);
}

/* Typography Scale */
.eyebrow {
  font-family: inherit;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  font-weight: 600;
}

.display-xl {
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.display-lg {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.display-md {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 500;
}

/* Colors & Background Layers */
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-card\/40 { background-color: rgba(18, 18, 18, 0.6); }
.bg-hairline { background-color: var(--hairline); }
.text-muted-foreground { color: var(--muted-foreground); }

/* Buttons & Interactive Elements */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-radius: 0px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}
.btn-solid:hover {
  background-color: #2563eb; /* Slightly darker shade of #3b82f6 */
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background-color: rgba(59, 130, 246, 0.08);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.link-arrow:hover {
  color: var(--accent);
}

/* Media Frames & Image Styling */
.media-frame {
  overflow: hidden;
  position: relative;
  background-color: #111;
  border: 1px solid var(--hairline);
  transition: border-color 0.4s ease;
}
.group:hover .media-frame {
  border-color: var(--hairline-strong);
}

.media-frame img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .media-frame img {
  transform: scale(1.03);
}

/* Aspect Ratios */
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-video { aspect-ratio: 16 / 9; }

/* Grid Layout Helpers */
@media (min-width: 768px) {
  .md\:grid-cols-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-9 { grid-column: span 9 / span 9; }
  .md\:col-start-7 { grid-column-start: 7; }
  .md\:col-start-8 { grid-column-start: 8; }
  .md\:grid-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Custom Enhancements for Agency Feel */
section {
  position: relative;
}

/* Subtle transitions for text description list items */
dl div, ul li {
  transition: background-color 0.2s ease;
}




















