@font-face {
  font-family: 'Inter Display';
  src: url('/assets/inter-display/ttf/InterDisplay-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Inter Display';
  src: url('/assets/inter-display/ttf/InterDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Inter Display';
  src: url('/assets/inter-display/ttf/InterDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Inter Display';
  src: url('/assets/inter-display/ttf/InterDisplay-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Inter Display';
  src: url('/assets/inter-display/ttf/InterDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Inter Display';
  src: url('/assets/inter-display/ttf/InterDisplay-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Inter Display';
  src: url('/assets/inter-display/ttf/InterDisplay-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

:root {
  /* Colors */
  --color-bg: #F5F3EE;
  --color-text-primary: #1A1A18;
  --color-text-secondary: #6B6B64;
  --color-text-muted: #A8A89E;
  --color-border: #E0DDD7;
  --color-accent: #C8A96E;
  --color-white: #FFFFFF;
  --color-black: #0F0F0D;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-xxl: 120px;
  --space-section: 150px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: initial;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Inter Display', sans-serif;
  font-weight: 300;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter Display', sans-serif;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1.display {
  font-weight: 700;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #000000;
}

h3 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  color: #000000;
}

p {
  margin-bottom: var(--space-md);
}

p.small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.caption, .label, .meta {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
}

.all-caps {
  text-transform: uppercase;
}

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

img, video {
  max-width: 100%;
  display: block;
  /* object-fit intentionally NOT set globally — images show at their natural dimensions */
  border-radius: 0;
}

/* Layout Utilities */
.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 30px;
}
@media (min-width: 1024px) {
  .container {
    padding: 0 80px;
  }
}

.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.border-top { border-top: 1px solid var(--color-border); }
.border-bottom { border-bottom: 1px solid var(--color-border); }

/* Buttons & Badges */
.btn, .btn-start, .accordion-btn, .btn-view-all, .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-black) !important;
  color: var(--color-white) !important;
  font-family: 'Inter Display', sans-serif;
  font-weight: 700 !important;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 40px;
  border: 1px solid var(--color-black) !important;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn::before, .btn-start::before, .accordion-btn::before, .btn-view-all::before, .btn-cta::before {
  content: '○' !important;
  font-size: 14px !important;
  line-height: 1;
  color: var(--color-white) !important;
  transition: content 0.3s ease;
}

.btn:hover::before, .btn-start:hover::before, .accordion-btn:hover::before, .btn-view-all:hover::before, .btn-cta:hover::before {
  content: '●' !important;
}

.badge {
  font-family: 'Inter Display', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  display: inline-block;
}

/* Navigation */
nav.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 69px;
  padding-top: 5px;
  background-color: transparent;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}

nav.main-nav.scrolled {
  /* always transparent as requested */
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .nav-container {
    padding: 0 25px !important;
  }
}

.nav-logo {
  font-family: 'Inter Display', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--color-black);
  display: flex;
  align-items: center;
}

.nav-logo img {
  /* Offset the blank space caused by rotation to perfectly align left */
  margin-left: calc((100px - 100%) / 2);
}

/* Logo inversion for dark background */
nav.main-nav .nav-logo img {
  filter: none; /* Default black */
}
nav.main-nav.hero-inverted .nav-logo img {
  filter: invert(1) brightness(2); /* White for hero */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-links.hidden-on-scroll {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-20px);
}

.nav-links a {
  font-family: 'Inter Display', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  position: relative;
  padding-bottom: 4px;
}

/* Dropdown specific */
.nav-links .dropdown-container {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-links .dropdown-container:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}
.nav-links .dropdown-menu a {
  padding: 12px 20px;
  text-align: center;
  font-size: 12px;
  background-color: #ffffff;
  color: #000000 !important;
  transition: none !important;
}
.nav-links .dropdown-menu a:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  position: absolute !important;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999 !important;
  pointer-events: auto !important;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

nav.main-nav:not(.scrolled) .mobile-menu-toggle span {
  background-color: var(--color-white);
}

.mobile-menu-toggle.active span {
  background-color: var(--color-white) !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.scroll-menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background-color: #EDEDED;
  color: var(--color-black);
  font-family: 'Inter Display', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.scroll-menu-btn.visible {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-black);
  z-index: 102;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  z-index: 101;
  padding: 10px;
  transition: transform 0.3s ease;
  font-family: Arial, sans-serif;
  font-weight: 300;
}
.mobile-close-btn:hover {
  transform: rotate(90deg);
}

@media (min-width: 1024px) {
  .mobile-overlay {
    padding: 0 80px;
  }
  .mobile-close-btn {
    top: 40px;
    right: 40px;
  }
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-overlay .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-left: -19px;
}

.mobile-overlay .premium-cta h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: clamp(60px, 8vw, 100px); /* Reduced slightly from clamp(80px, 10vw, 140px) */
  font-weight: 300;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

/* Logo Carousel Section */
.clients-carousel-section {
  width: 100%;
  overflow: hidden;
  background: var(--color-bg);
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 210px;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: scrollClients 30s linear infinite;
}

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

.clients-track img {
  height: 90px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.clients-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 40px)); } /* 40px is half the gap */
}

.mobile-overlay .nav-links a {
  font-family: 'Inter Display', sans-serif;
  font-size: 70px;
  font-weight: 700;
  line-height: 66.5px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: transform 0.3s ease, color 0.3s ease;
  display: block;
}

.mobile-overlay .nav-links a:hover {
  transform: translateX(20px);
}

/* Footer */
footer {
  background-color: var(--color-bg);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-col .logo {
  font-family: 'Inter Display', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.footer-col p, .footer-col a {
  font-family: 'Inter Display', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 2.2;
}

.footer-col a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-family: 'Inter Display', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  :root {
    --space-section: 80px;
    --space-xl: 40px;
  }
  .container {
    padding: 0 25px;
  }
  h1 {
    font-size: clamp(40px, 12vw, 80px) !important;
    line-height: 1 !important;
  }
  h2 {
    font-size: 35px !important;
    line-height: 33px !important;
  }
  h3 {
    font-size: 20px !important;
    line-height: 19px !important;
  }
  nav.main-nav .btn, nav.main-nav .scroll-menu-btn {
    display: none !important;
  }
  .sticky-projects-heading {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    padding: var(--space-xl) 0 !important;
  }
  .projects-scroll-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 40px !important;
    align-items: center !important;
  }
  .project-info {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  #ceoSection .container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .ceo-mobile-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Accordion Section ("What We Do") */
.what-we-do-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  background-color: var(--color-bg);
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: var(--space-xl);
}

.what-we-do-left {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.what-we-do-left .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-primary);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.what-we-do-left h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  letter-spacing: -0.04em;
}

.what-we-do-left .side-img {
  width: 100%;
  height: auto;       /* natural height — no cropping */
  margin-bottom: var(--space-md);
}

.what-we-do-left p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* .btn-start now shares base styles with .btn */

.what-we-do-right {
  min-width: 0; /* Prevents grid blowout from inner horizontal scrolling elements */
}

/* Accordion Accordion */
.accordion-container {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  cursor: pointer;
  user-select: none;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.accordion-num {
  font-family: 'Inter Display', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text-primary);
}

.accordion-title {
  font-family: 'Inter Display', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--color-text-primary);
}

.accordion-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-text-primary);
  transition: transform 0.3s ease;
}

.accordion-content {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, padding-bottom 0.4s ease;
}

.accordion-content.active {
  opacity: 1;
  padding-bottom: var(--space-md);
}

.accordion-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  max-width: 600px;
}

/* .accordion-btn shares base styles with .btn */
.accordion-btn {
  margin-bottom: var(--space-md);
  font-size: 10px !important;
  padding: 10px 20px !important;
}

.accordion-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.accordion-images img {
  width: 100%;
  height: auto;       /* natural height — no cropping */
}


/* Gallery Carousel Section */
.gallery-carousel-section {
  padding-top: 100px;
  padding-bottom: 120px;
  background-color: var(--color-bg);
  text-align: center;
}

.gallery-carousel-section .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-primary);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.gallery-carousel-section h2 {
  font-family: 'Inter Display', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 72px;
  line-height: 68.4px;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.04em;
}

/* .btn-view-all shares base styles with .btn */
.btn-view-all {
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 100;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Carousel Mechanics */
.carousel-container {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  width: 40vw;
  max-width: 650px;
  aspect-ratio: 4/5;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
  cursor: pointer;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: auto;       /* full image shown, no cropping */
  object-fit: unset;
}

.carousel-slide.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  filter: none;
}

.carousel-slide.prev {
  transform: translateX(-100%) scale(0.85);
  opacity: 0.45;
  z-index: 3;
  pointer-events: none;
  filter: grayscale(30%) blur(1px);
}

.carousel-slide.next {
  transform: translateX(100%) scale(0.85);
  opacity: 0.45;
  z-index: 3;
  pointer-events: none;
  filter: grayscale(30%) blur(1px);
}

.carousel-slide.hidden {
  transform: scale(0.5);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Navigation Buttons overlay on Active Slide */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: none;
  color: var(--color-black);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.carousel-nav-btn:hover {
  background-color: #E0DDD7;
}

.carousel-nav-btn.prev-btn {
  left: 20px;
}

.carousel-nav-btn.next-btn {
  right: 20px;
}

/* CTA Section Style */
.premium-cta {
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('/assets/images/hero-mka-best.jpg');
  background-size: cover;
  background-position: center 30%;
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.premium-cta-overlay {
  display: none;
}

.premium-cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.premium-cta .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
}

.premium-cta h2 {
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 0;
  font-family: 'Inter Display', sans-serif;
  font-size: clamp(36px, 5.76vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
}

/* .btn-cta shares base styles with .btn */
.btn-cta {
  padding: 18px 40px !important;
  font-size: 14px !important;
  margin-top: 24px !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
  background-color: var(--color-white) !important;
  color: var(--color-black) !important;
  position: relative;
  z-index: 100;
  opacity: 1 !important;
  visibility: visible !important;
}
.btn-cta::before {
  color: var(--color-black) !important;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hover text scroll animation classes added via JS */
.hover-text-wrapper {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  align-items: center;
  height: 1.2em; /* Ensure the height restricts overflow */
}
.hover-text-visible {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  line-height: 1.2;
}
.hover-text-hidden {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  color: inherit;
  line-height: 1.2;
}
[class*="btn"]:hover .hover-text-visible,
.nav-links a:hover .hover-text-visible {
  transform: translateY(-100%);
}
[class*="btn"]:hover .hover-text-hidden,
.nav-links a:hover .hover-text-hidden {
  transform: translateY(-100%);
}


/* Premium Dark Footer */
footer.premium-footer {
  background-color: #000000;
  color: #FFFFFF;
  padding: 100px 0 40px 0;
  border-top: 1px solid #1A1A18;
  overflow: hidden;
}

footer.premium-footer .footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: 80px;
}

footer.premium-footer .footer-col-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Display', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 30px;
}

footer.premium-footer .footer-col p {
  font-family: 'Inter Display', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #CCCCCC;
  line-height: 2.0;
  margin-bottom: var(--space-xs);
}

footer.premium-footer .footer-col a {
  display: block;
  font-family: 'Inter Display', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #CCCCCC;
  line-height: 2.2;
  transition: color 0.3s ease;
}

footer.premium-footer .footer-col a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

footer.premium-footer .footer-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #222222;
  margin-bottom: 40px;
  font-family: 'Inter Display', sans-serif;
  font-size: 12px;
  color: #666666;
}

footer.premium-footer .footer-socials {
  display: flex;
  gap: var(--space-md);
}

footer.premium-footer .footer-socials a {
  transition: color 0.3s ease;
}

footer.premium-footer .footer-socials a:hover {
  color: var(--color-white);
}

footer.premium-footer .footer-big-text {
  font-family: 'Inter Display', sans-serif;
  font-weight: 900;
  font-size: clamp(80px, 18vw, 320px);
  line-height: 0.75;
  text-align: center;
  text-transform: uppercase;
  margin-top: 20px;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #333333 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
}


/* Responsive Adjustments */
@media (max-width: 900px) {
  :root {
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-section: 80px;
  }
  
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .what-we-do-left {
    position: relative;
    top: 0;
  }
  
  .carousel-slide {
    width: 60vw;
  }
  
  .carousel-slide.prev {
    transform: translateX(-70%) scale(0.85);
  }
  
  .carousel-slide.next {
    transform: translateX(70%) scale(0.85);
  }
  
  footer.premium-footer .footer-columns {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .carousel-slide {
    width: 80vw;
  }
  
  .carousel-slide.prev {
    transform: translateX(-50%) scale(0.85);
    opacity: 0.2;
  }
  
  .carousel-slide.next {
    transform: translateX(50%) scale(0.85);
    opacity: 0.2;
  }
  
  .accordion-images {
    grid-template-columns: repeat(3, 1fr);
  }
  
  footer.premium-footer .footer-meta-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  /* Center headings and sections */
  h1, h2, h3, .label {
    text-align: center;
  }
  .hero-content-bottom-left, 
  .what-we-do-left, 
  .sticky-projects-heading div {
    text-align: center;
    align-items: center;
    width: 100%;
  }
  
  .hero-bottom-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px;
    text-align: center;
  }
  
  /* Center project images horizontally */
  .project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .project-img-wrapper {
    margin: 0 auto;
  }
  
  /* Reset project offsets */
  .project-left, .project-right {
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }
}

/* Page Transition Overlay */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 9999;
  pointer-events: none;
  opacity: 1; /* Starts solid to hide raw load, JS fades it out */
  transition: opacity 0.3s ease;
}

/* ── Gallery Track (Infinite Scroll) ── */
.gallery-container {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-xl);
}

.gallery-header {
  padding-top: calc(64px + var(--space-lg));
  text-align: center;
  flex-shrink: 0;
}

.gallery-header h1 {
  margin-bottom: var(--space-xs);
}

.gallery-header p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  font-style: italic;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.gallery-track-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
  height: 520px;
}

.gallery-track {
  display: flex;
  gap: 14px;
  overflow-x: scroll;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
  padding: 0 40px;
  height: 100%;
  align-items: center;
  user-select: none;
  width: 100%;
}

.gallery-track::-webkit-scrollbar { 
  display: none; 
}

.gallery-track:active {
  cursor: grabbing;
}

.gallery-item {
  flex-shrink: 0;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background-color: #f0ede8;
}

.gallery-item img,
.gallery-item video {
  height: 100%;
  width: auto;               
  max-width: none;
  display: block;
  object-fit: unset;         
  pointer-events: none;
}

@media (max-width: 900px) {
  .gallery-track-wrapper { height: 400px; }
}

@media (max-width: 600px) {
  .gallery-track { padding: 0 20px; }
  .gallery-track-wrapper { height: 280px; }
}


/* ── GLOBAL RESPONSIVENESS ────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --space-xl: 48px;
    --space-lg: 32px;
    --space-md: 16px;
    --space-section: 60px;
  }
  
  .display {
    font-size: 70px;
    line-height: 70px;
  }
  
  h1 {
    font-size: 60px;
    line-height: 60px;
  }
  
  h2 {
    font-size: 48px;
    line-height: 50px;
  }
  
  h3 {
    font-size: 32px;
    line-height: 36px;
  }
  
  /* --- User Requested Mobile Alignments & Heights --- */
  
  /* 1. Projects Section Main Heading & Eyebrow Centered */
  .projects-section-header, .projects-header, .filter-bar-container {
    text-align: center !important;
    width: 100% !important;
    padding-right: 0 !important;
  }
  .projects-section-header .label {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 2. CTA Section 50vh Height & Smaller Button */
  .premium-cta {
    height: 50vh !important;
    min-height: 50vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .btn-cta {
    padding: 12px 24px !important;
    font-size: 12px !important;
    margin: 0 !important;
  }
  .premium-cta .container {
    gap: 24px !important;
  }
  .premium-cta h2 {
    font-size: 48px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
  .premium-cta .label {
    margin: 0 !important;
  }

  /* 3. About Section Centered & Padded */
  .about-hero, .studio-grid, .credentials, .credentials-content {
    text-align: center !important;
    padding-top: var(--space-xl) !important;
    padding-bottom: var(--space-xl) !important;
  }
  .about-hero-grid, .section-label-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .section-label-row {
    gap: 16px;
  }
  .section-label-row p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .about-hero p, .studio-grid p, .credentials p, .stat-label {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .credentials ul, .credentials li {
    text-align: center !important;
    padding-left: 0 !important;
    list-style-position: inside !important;
  }
  .btn, .btn-primary, .btn-outline {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block !important;
  }

  /* 4. Services Section Centered & Padded */
  .services-hero, .accordion-content, .what-we-do-left, .how-we-work-intro, .process-note {
    text-align: center !important;
  }
  .services-hero p, .what-we-do-left p, .how-we-work-intro p, .process-note p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .accordion-header {
    justify-content: center !important;
  }
  .accordion-header-left {
    text-align: center !important;
    margin: 0 auto;
  }
  .accordion-icon {
    position: absolute;
    right: 20px;
  }
  .accordion-btn, .service-enquiry-link {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block !important;
  }
  .what-we-do, .how-we-work-section {
    padding-top: var(--space-xl) !important;
    padding-bottom: var(--space-xl) !important;
  }
  .process-note {
    margin-bottom: 40px !important;
  }
}

@media (max-width: 600px) {
  :root {
    --space-section: 40px;
  }

  .display {
    font-size: 50px;
    line-height: 52px;
  }
  
  h1 {
    font-size: 42px;
    line-height: 46px;
  }
  
  h2 {
    font-size: 36px;
    line-height: 40px;
  }
  
  h3 {
    font-size: 26px;
    line-height: 30px;
  }
}
