/*
Theme Name: Maison Meta Redesign
Theme URI: https://maisonmeta.io
Author: Maison Meta
Author URI: https://maisonmeta.io
Description: The First Gen AI Innovation Agency - Minimalist Redesign
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: maisonmeta-redesign
*/

/* ═══════════════════════════════════════════════════════════
   CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════ */

:root {
  --mm-black: #0a0a0a;
  --mm-dark: #111111;
  --mm-dark-card: #161616;
  --mm-dark-border: rgba(255, 255, 255, 0.08);
  --mm-white: #ffffff;
  --mm-gray-100: #f5f5f5;
  --mm-gray-200: #e5e5e5;
  --mm-gray-400: #a3a3a3;
  --mm-gray-600: #525252;

  --mm-purple: #7c3aed;
  --mm-blue: #3b82f6;
  --mm-pink: #ec4899;
  --mm-cyan: #06b6d4;
  
  --mm-gradient: linear-gradient(135deg, #7c3aed, #3b82f6, #06b6d4);
  --mm-gradient-pink: linear-gradient(135deg, #ec4899, #7c3aed);
  --mm-gradient-subtle: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.15));
  
  --mm-radius: 16px;
  --mm-radius-lg: 24px;
  --mm-radius-xl: 32px;
  
  --mm-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --mm-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  
  --mm-nav-height: 80px;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--mm-white);
  background: var(--mm-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

.mm-hero-title {
  font-size: clamp(56px, 11vw, 160px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.mm-section-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mm-headline-md {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.mm-subtitle {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mm-body-lg {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.7;
  font-weight: 300;
}

.mm-body {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

/* Gradient text */
.mm-gradient-text {
  background: var(--mm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mm-gradient-text-pink {
  background: var(--mm-gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mm-text-muted {
  opacity: 0.5;
}

.mm-text-light {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */

.mm-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.mm-container-wide {
  max-width: 1600px;
}

.mm-container-narrow {
  max-width: 800px;
}

.mm-section {
  padding: 120px 0;
  position: relative;
}

.mm-section-lg {
  padding: 160px 0;
}

.mm-section-xl {
  padding: 200px 0;
}

.mm-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Grid responsive breakpoints */
@media (max-width: 1024px) {
  .mm-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mm-grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mm-grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .mm-grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

.mm-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--mm-ease-out),
              transform 0.8s var(--mm-ease-out);
}

.mm-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.mm-fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.mm-fade-in.animated {
  opacity: 1;
}

.mm-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--mm-ease-out),
              transform 0.8s var(--mm-ease-out);
}

.mm-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.mm-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--mm-ease-out),
              transform 0.8s var(--mm-ease-out);
}

.mm-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.mm-scale-up {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s ease, transform 0.8s var(--mm-ease-out);
}

.mm-scale-up.animated {
  opacity: 1;
  transform: scale(1);
}

.mm-delay-1 { transition-delay: 0.1s; }
.mm-delay-2 { transition-delay: 0.2s; }
.mm-delay-3 { transition-delay: 0.3s; }
.mm-delay-4 { transition-delay: 0.4s; }
.mm-delay-5 { transition-delay: 0.5s; }
.mm-delay-6 { transition-delay: 0.6s; }

/* Line reveal animation */
.mm-line-reveal {
  width: 0;
  height: 1px;
  background: var(--mm-gradient);
  transition: width 1.4s var(--mm-ease-out);
}

.mm-line-reveal.animated {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */

.mm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--mm-nav-height);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.4s ease, background 0.4s ease, height 0.4s ease;
}

.mm-navbar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mm-dark-border);
  height: 64px;
}

.mm-navbar.hidden {
  transform: translateY(-100%);
}

/* Never fully hide navbar on mobile - keep menu toggle accessible */
@media (max-width: 900px) {
  .mm-navbar.hidden {
    transform: translateY(0);
    background: rgba(10, 10, 10, 0.95);
    height: 60px;
  }
}

.mm-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-white);
  display: flex;
  align-items: center;
}

.mm-logo img,
.mm-logo-img {
  height: 28px;
  width: auto;
  transition: opacity 0.3s ease;
}

.mm-logo:hover img,
.mm-logo:hover .mm-logo-img {
  opacity: 0.8;
}

.mm-nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.mm-nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
}

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

.mm-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--mm-gradient);
  transition: width 0.3s ease;
}

.mm-nav-link:hover::after {
  width: 100%;
}

.mm-nav-link.highlight {
  color: var(--mm-black);
  background: var(--mm-white);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.mm-nav-link.highlight:hover {
  background: var(--mm-gray-200);
  transform: scale(1.05);
}

.mm-nav-link.highlight::after {
  display: none;
}

/* ── Animated SVG logo (shared header + footer) ── */
@keyframes mm-logo-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mm-logo {
  line-height: 1;
  text-decoration: none;
  position: relative;
  opacity: 0;
  animation: mm-logo-in 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.mm-nav-mark {
  flex-shrink: 0;
  width: 42px;
  height: 26px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.mm-nav-text-wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
  --mm-nav-text-width: calc(466.73 * (17 / 34.2) * 1px + 18px);
  width: var(--mm-nav-text-width);
  opacity: 1;
  transition: width 0.65s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.45s ease;
}

.mm-nav-text {
  display: block;
  flex-shrink: 0;
  height: 17px;
  width: calc(466.73 * (17 / 34.2) * 1px);
  margin-left: 18px;
}

.mm-nav-mark path,
.mm-nav-text path {
  fill: currentColor;
}

.mm-logo.mm-logo-collapsed .mm-nav-text-wrapper {
  width: 0;
  opacity: 0;
  transition: width 0.7s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.4s ease;
}

.mm-logo.mm-logo-collapsed .mm-nav-mark {
  opacity: 1;
  transform: scale(1);
}

.mm-logo.mm-logo-collapsed:hover .mm-nav-text-wrapper,
.mm-logo.mm-logo-collapsed:focus-visible .mm-nav-text-wrapper {
  width: var(--mm-nav-text-width);
  opacity: 1;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease 0.06s;
}

.mm-logo.mm-logo-collapsed:hover .mm-nav-mark,
.mm-logo.mm-logo-collapsed:focus-visible .mm-nav-mark {
  transform: scale(0.94);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile menu toggle */
.mm-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mm-menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--mm-white);
  transition: all 0.3s ease;
}

.mm-menu-toggle.active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.mm-menu-toggle.active span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════
   HERO WITH VIDEO BACKGROUND
   ═══════════════════════════════════════════════════════════ */

.mm-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.mm-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.mm-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* Video Background */
.mm-hero-video-section {
  position: relative;
}

.mm-hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.mm-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.mm-hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.8) 100%
  );
  z-index: 1;
}

.mm-hero-video-section .mm-container {
  position: relative;
  z-index: 3;
}

.mm-hero-video-section .mm-scroll-indicator {
  z-index: 3;
}

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

.mm-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 100px;
  margin-bottom: 40px;
}

.mm-hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mm-purple);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(124,58,237,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(124,58,237,0); }
}

.mm-hero-desc {
  max-width: 550px;
  margin-top: 40px;
  color: var(--mm-gray-400);
}

.mm-hero-ctas {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  align-items: center;
}

.mm-hero-visual {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  z-index: 1;
}

.mm-hero-image-wrapper {
  position: relative;
  border-radius: var(--mm-radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.mm-hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-hero-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.8) 100%);
  pointer-events: none;
}

/* Scroll indicator */
.mm-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.mm-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--mm-purple), transparent);
  animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.mm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  background: transparent;
  color: var(--mm-white);
  cursor: pointer;
  transition: all 0.4s var(--mm-ease);
  font-family: inherit;
}

.mm-btn:hover {
  border-color: var(--mm-white);
  background: rgba(255,255,255,0.05);
}

.mm-btn-primary {
  background: var(--mm-white);
  color: var(--mm-black);
  border-color: var(--mm-white);
}

.mm-btn-primary:hover {
  background: var(--mm-gray-200);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255,255,255,0.1);
}

.mm-btn-gradient {
  background: var(--mm-gradient);
  border: none;
  color: var(--mm-white);
  position: relative;
  overflow: hidden;
}

.mm-btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mm-gradient);
  filter: brightness(1.2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mm-btn-gradient:hover::before {
  opacity: 1;
}

.mm-btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(124,58,237,0.3);
}

.mm-btn-gradient span {
  position: relative;
  z-index: 1;
}

/* Arrow icon in buttons */
.mm-btn-arrow {
  transition: transform 0.3s ease;
}

.mm-btn:hover .mm-btn-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   CARDS (Rounded corner design)
   ═══════════════════════════════════════════════════════════ */

.mm-card {
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  border-radius: var(--mm-radius-lg);
  padding: 40px;
  transition: all 0.4s var(--mm-ease);
}

.mm-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.mm-card-glow:hover {
  box-shadow: 0 20px 60px rgba(124,58,237,0.1),
              0 0 0 1px rgba(124,58,237,0.2);
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO GRID
   ═══════════════════════════════════════════════════════════ */

.mm-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mm-portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--mm-radius-lg);
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  transition: all 0.5s var(--mm-ease);
}

.mm-portfolio-item a {
  display: block;
  position: relative;
}

.mm-portfolio-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.mm-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--mm-ease);
}

.mm-portfolio-item:hover .mm-portfolio-thumb img {
  transform: scale(1.06);
}

.mm-portfolio-item:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.mm-portfolio-info {
  padding: 24px 28px;
}

.mm-portfolio-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}

.mm-portfolio-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
}

.mm-portfolio-cat::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mm-purple);
}

/* Featured item */
.mm-portfolio-item.featured {
  grid-column: span 2;
}

.mm-portfolio-item.featured .mm-portfolio-thumb {
  aspect-ratio: 21/9;
}

.mm-portfolio-item.featured .mm-portfolio-title {
  font-size: 24px;
}

/* Portfolio number indicator */
.mm-portfolio-number {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--mm-white);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES / CAPABILITIES CARDS
   ═══════════════════════════════════════════════════════════ */

.mm-service-card {
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  border-radius: var(--mm-radius-lg);
  padding: 48px 36px;
  transition: all 0.4s var(--mm-ease);
  position: relative;
  overflow: hidden;
}

.mm-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mm-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--mm-ease);
}

.mm-service-card:hover::before {
  transform: scaleX(1);
}

.mm-service-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-4px);
}

.mm-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--mm-gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 24px;
}

.mm-service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.mm-service-desc {
  font-size: 14px;
  color: var(--mm-gray-400);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */

.mm-stats {
  display: flex;
  justify-content: space-between;
  padding: 60px 0;
  border-top: 1px solid var(--mm-dark-border);
  border-bottom: 1px solid var(--mm-dark-border);
}

.mm-stat {
  text-align: center;
  flex: 1;
}

.mm-stat + .mm-stat {
  border-left: 1px solid var(--mm-dark-border);
}

.mm-stat-number {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.mm-stat-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
}

/* ═══════════════════════════════════════════════════════════
   CLIENT LOGO CAROUSEL
   ═══════════════════════════════════════════════════════════ */

.mm-logo-carousel-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--mm-dark-border);
  background: var(--mm-dark);
  overflow: hidden;
  max-width: 100vw;
}

.mm-logo-carousel-label {
  text-align: center;
  margin-bottom: 40px;
  color: var(--mm-gray-400);
}

.mm-logo-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.mm-logo-carousel-wrapper::before,
.mm-logo-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.mm-logo-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--mm-dark), transparent);
}

.mm-logo-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--mm-dark), transparent);
}

.mm-logo-carousel {
  display: flex;
  gap: 60px;
  animation: logoScroll 35s linear infinite;
  width: max-content;
}

.mm-logo-carousel:hover {
  animation-play-state: paused;
}

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

.mm-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 80px;
  padding: 0 24px;
}

.mm-logo-item img {
  max-height: 50px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.mm-logo-item.mm-logo-square img {
  max-height: 70px;
  max-width: 130px;
}

.mm-logo-item:hover img {
  opacity: 1;
}

.mm-logo-text {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mm-white);
  opacity: 0.25;
  transition: opacity 0.4s ease;
}

.mm-logo-item:hover .mm-logo-text {
  opacity: 0.6;
}

/* Keep legacy marquee styles for backward compatibility */
.mm-marquee-wrapper {
  overflow: hidden;
  padding: 40px 0;
}

.mm-marquee {
  display: flex;
  gap: 80px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

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

.mm-marquee-item {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.4s ease;
}

.mm-marquee-item:hover {
  opacity: 0.4;
}

.mm-marquee-dot {
  opacity: 0.15;
  color: var(--mm-purple);
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════ */

.mm-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.mm-section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.mm-section-label-line {
  width: 40px;
  height: 1px;
  background: var(--mm-gradient);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT / SPLIT SECTION
   ═══════════════════════════════════════════════════════════ */

.mm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mm-split-image {
  border-radius: var(--mm-radius-xl);
  overflow: hidden;
  position: relative;
}

.mm-split-image img {
  width: 100%;
  height: auto;
  display: block;
}

.mm-split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--mm-radius-xl);
  border: 1px solid var(--mm-dark-border);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */

.mm-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mm-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* CTA with full-bleed background image */
.mm-cta-bg {
  position: relative;
}

.mm-cta-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.mm-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.8);
  z-index: 1;
}

.mm-cta-bg .mm-container {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   NEWS CARDS (distinct from Portfolio)
   ═══════════════════════════════════════════════════════════ */

.mm-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mm-news-card {
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  border-radius: var(--mm-radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--mm-ease);
}

.mm-news-card a {
  display: block;
}

.mm-news-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.mm-news-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.mm-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--mm-ease);
}

.mm-news-card:hover .mm-news-thumb img {
  transform: scale(1.06);
}

.mm-news-body {
  padding: 28px;
}

.mm-news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
}

.mm-news-tag {
  background: var(--mm-gradient-subtle);
  color: var(--mm-purple);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.2s ease;
}

a.mm-news-tag:hover {
  background: var(--mm-purple);
  color: #fff;
}

.mm-news-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.mm-news-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mm-gray-400);
  margin-bottom: 16px;
}

.mm-news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-purple);
  transition: gap 0.3s ease;
}

.mm-news-card:hover .mm-news-read-more {
  gap: 14px;
}

@media (max-width: 1024px) {
  .mm-news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ═══════════════════════════════════════════════════════════
   NEWS CAROUSEL
   ═══════════════════════════════════════════════════════════ */

.mm-news-carousel-container {
  position: relative;
}

.mm-carousel-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--mm-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.mm-carousel-arrow.mm-carousel-prev {
  left: -65px;
}

.mm-carousel-arrow.mm-carousel-next {
  right: -65px;
}

.mm-carousel-arrow:hover {
  background: var(--mm-white);
  border-color: var(--mm-white);
  color: var(--mm-black);
}

.mm-carousel-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.mm-carousel-arrow:disabled:hover {
  background: rgba(10, 10, 10, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--mm-white);
}

.mm-news-carousel-wrapper {
  overflow: hidden;
  padding: 10px 0;
}

.mm-news-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y pinch-zoom;
}

.mm-news-carousel.dragging {
  transition: none;
}

.mm-news-carousel .mm-news-card {
  flex: 0 0 calc(25% - 18px);
  min-width: calc(25% - 18px);
  user-select: none;
}

@media (max-width: 1400px) {
  .mm-carousel-arrow.mm-carousel-prev {
    left: -55px;
  }
  
  .mm-carousel-arrow.mm-carousel-next {
    right: -55px;
  }
}

@media (max-width: 1200px) {
  .mm-news-carousel .mm-news-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
  }
  
  .mm-carousel-arrow {
    width: 44px;
    height: 44px;
  }
  
  .mm-carousel-arrow.mm-carousel-prev {
    left: -50px;
  }
  
  .mm-carousel-arrow.mm-carousel-next {
    right: -50px;
  }
}

@media (max-width: 1024px) {
  /* Move arrows inside on smaller screens */
  .mm-carousel-arrow.mm-carousel-prev {
    left: 10px;
  }
  
  .mm-carousel-arrow.mm-carousel-next {
    right: 10px;
  }
  
  .mm-carousel-arrow {
    background: rgba(10, 10, 10, 0.9);
  }
}

@media (max-width: 900px) {
  .mm-news-carousel .mm-news-card {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
  }
  
  .mm-carousel-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .mm-news-carousel .mm-news-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .mm-carousel-arrow {
    width: 36px;
    height: 36px;
  }
  
  .mm-carousel-arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* Infinite Scroll */
.mm-infinite-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  color: var(--mm-gray-400);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.mm-loader-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--mm-dark-border);
  border-top-color: var(--mm-purple);
  border-radius: 50%;
  animation: mm-spin 0.8s linear infinite;
}

@keyframes mm-spin {
  to { transform: rotate(360deg); }
}

.mm-infinite-end {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--mm-gray-500);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.mm-infinite-end::before,
.mm-infinite-end::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--mm-dark-border);
  margin: 0 16px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.mm-footer-logo-wrapper {
  display: inline-block;
}

.mm-footer-logo-img {
  height: 60px;
  width: auto;
  border-radius: 50%;
}

.mm-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--mm-dark-border);
  background: var(--mm-black);
}

.mm-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.mm-footer-brand {
  max-width: 320px;
}

.mm-footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mm-gray-400);
  line-height: 1.7;
}

.mm-footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--mm-gray-400);
}

.mm-footer-col li + li {
  margin-top: 14px;
}

.mm-footer-col a {
  font-size: 14px;
  color: var(--mm-gray-400);
  transition: color 0.3s ease;
}

.mm-footer-col a:hover {
  color: var(--mm-white);
}

.mm-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--mm-dark-border);
  font-size: 13px;
  color: var(--mm-gray-600);
}

.mm-footer-bottom-left {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 16px;
}

.mm-footer-logo {
  display: inline-flex;
  align-items: center;
  opacity: 1;
  animation: none;
}

.mm-footer-logo .mm-nav-mark {
  width: 30px;
  height: 18px;
}

.mm-footer-logo .mm-nav-text {
  height: 12px;
  width: calc(466.73 * (12 / 34.2) * 1px);
  margin-left: 10px;
}

.mm-footer-logo.mm-logo-collapsed .mm-nav-text-wrapper {
  --mm-nav-text-width: calc(466.73 * (12 / 34.2) * 1px + 10px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .mm-container {
    padding: 0 30px;
  }
  
  .mm-section {
    padding: 80px 0;
  }
  
  .mm-section-lg {
    padding: 100px 0;
  }
  
  .mm-split {
    gap: 40px;
  }
  
  .mm-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  
  .mm-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  
  .mm-stats {
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .mm-stat + .mm-stat {
    border-left: none;
  }
  
  .mm-hero-visual {
    display: none;
  }
  
  .mm-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .mm-container {
    padding: 0 20px;
  }
  
  .mm-section {
    padding: 60px 0;
  }
  
  .mm-navbar {
    padding: 0 20px;
  }
  
  .mm-nav-links {
    display: none;
  }
  
  .mm-nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100%;
    background: rgba(10, 10, 10, 0.98);
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Keep navbar visible when menu is open */
  .mm-navbar.menu-open {
    transform: none !important;
    background: transparent;
    position: fixed;
    z-index: 9998;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open,
  html.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  
  .mm-nav-links.active .mm-nav-link {
    font-size: 20px;
    color: var(--mm-white);
  }
  
  .mm-menu-toggle {
    display: flex;
    z-index: 10000;
    position: relative;
  }
  
  .mm-hero-title {
    font-size: clamp(32px, 10vw, 60px);
    word-break: break-word;
  }
  
  .mm-hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .mm-portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .mm-portfolio-item.featured {
    grid-column: span 1;
  }
  
  .mm-portfolio-item.featured .mm-portfolio-thumb {
    aspect-ratio: 16/10;
  }
  
  .mm-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mm-grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .mm-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .mm-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .mm-card {
    padding: 28px;
  }
  
  .mm-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .mm-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .mm-footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mm-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .mm-footer-bottom-left {
    flex-direction: column;
    gap: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (for inner pages)
   ═══════════════════════════════════════════════════════════ */

.mm-page-hero {
  padding: 180px 0 80px;
  position: relative;
}

.mm-page-hero-title {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mm-page-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--mm-gray-400);
  max-width: 600px;
}

/* News Placeholder Image */
.mm-news-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mm-dark-card) 0%, #1a1a1a 100%);
  color: var(--mm-gray-600);
}

.mm-news-thumb-icon {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.mm-news-card:hover .mm-news-thumb-icon {
  opacity: 0.6;
}

/* Empty State */
.mm-empty-state {
  padding: 100px 20px;
}

.mm-empty-icon {
  color: var(--mm-gray-600);
}

/* ═══════════════════════════════════════════════════════════
   PAGE CONTENT (Gutenberg/Classic Editor)
   ═══════════════════════════════════════════════════════════ */

.mm-page-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 60px 0 24px;
}

.mm-page-content h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  margin: 40px 0 16px;
}

.mm-page-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mm-gray-400);
  margin-bottom: 20px;
}

.mm-page-content img {
  border-radius: var(--mm-radius);
  margin: 40px 0;
}

.mm-page-content a {
  color: var(--mm-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.mm-page-content a:hover {
  opacity: 0.7;
}

.mm-page-content blockquote {
  border-left: 3px solid var(--mm-purple);
  padding-left: 24px;
  margin: 40px 0;
  font-size: 20px;
  font-style: italic;
  color: var(--mm-gray-200);
}

.mm-page-content ul,
.mm-page-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.mm-page-content li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mm-gray-400);
  margin-bottom: 8px;
  list-style: disc;
}

/* ═══════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════ */

/* Standard Header (Portfolio / fallback) */
.mm-single-header {
  padding: 180px 0 40px;
}

.mm-single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
}

.mm-single-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Full-Width Hero Header for Blog Posts */
.mm-single-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  margin-bottom: 60px;
  overflow: hidden;
}

.mm-single-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.mm-single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 2;
}

.mm-single-hero .mm-container {
  position: relative;
  z-index: 3;
}

.mm-single-hero-content {
  max-width: 900px;
}

.mm-single-hero .mm-single-meta {
  color: rgba(255, 255, 255, 0.7);
}

.mm-single-hero .mm-single-meta time {
  color: rgba(255, 255, 255, 0.7);
}

.mm-single-hero .mm-news-tag {
  background: rgba(124, 58, 237, 0.3);
  border: 1px solid rgba(124, 58, 237, 0.5);
  color: #fff;
}

.mm-single-hero a.mm-news-tag:hover {
  background: var(--mm-purple);
  border-color: var(--mm-purple);
  color: #fff;
}

.mm-single-hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--mm-white);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.mm-single-hero-excerpt {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 24px;
  max-width: 700px;
}

@media (max-width: 768px) {
  .mm-single-hero {
    min-height: 60vh;
    padding: 40px 0;
  }
  
  .mm-single-hero-title {
    font-size: clamp(28px, 8vw, 42px);
  }
  
  .mm-single-hero-excerpt {
    font-size: 16px;
  }
}

.mm-single-featured {
  margin-bottom: 60px;
}

.mm-single-image {
  border-radius: var(--mm-radius-xl);
  overflow: hidden;
}

.mm-single-image img {
  width: 100%;
  height: auto;
}

.mm-single-content {
  padding-bottom: 80px;
}

.mm-single-content p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--mm-gray-400);
  margin-bottom: 24px;
}

.mm-single-content h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 48px 0 20px;
  color: var(--mm-white);
}

.mm-single-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 16px;
  color: var(--mm-white);
}

.mm-single-content img {
  border-radius: var(--mm-radius);
  margin: 32px 0;
}

.mm-single-content a {
  color: var(--mm-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm-single-nav {
  border-top: 1px solid var(--mm-dark-border);
  padding: 60px 0;
}

.mm-single-nav-inner {
  display: flex;
  justify-content: space-between;
}

.mm-single-nav-prev,
.mm-single-nav-next {
  max-width: 45%;
}

.mm-single-nav-next {
  text-align: right;
}

.mm-single-nav a {
  display: block;
  transition: opacity 0.3s ease;
}

.mm-single-nav a:hover {
  opacity: 0.7;
}

.mm-single-nav-title {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════ */

.mm-pagination {
  text-align: center;
}

.mm-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.mm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mm-dark-border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mm-gray-400);
  transition: all 0.3s ease;
}

.mm-pagination .page-numbers:hover,
.mm-pagination .page-numbers.current {
  border-color: var(--mm-purple);
  color: var(--mm-white);
  background: rgba(124,58,237,0.1);
}

.mm-pagination .prev,
.mm-pagination .next {
  width: auto;
  padding: 0 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
}

.mm-mt-60 { margin-top: 60px; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */

.mm-text-center { text-align: center; }
.mm-text-left { text-align: left; }
.mm-text-right { text-align: right; }

.mm-mt-0 { margin-top: 0; }
.mm-mb-0 { margin-bottom: 0; }
.mm-mb-8 { margin-bottom: 8px; }
.mm-mb-12 { margin-bottom: 12px; }
.mm-mb-16 { margin-bottom: 16px; }
.mm-mb-20 { margin-bottom: 20px; }
.mm-mb-24 { margin-bottom: 24px; }
.mm-mb-32 { margin-bottom: 32px; }
.mm-mb-40 { margin-bottom: 40px; }
.mm-mb-60 { margin-bottom: 60px; }

.mm-flex { display: flex; }
.mm-flex-center { display: flex; align-items: center; justify-content: center; }
.mm-gap-8 { gap: 8px; }
.mm-gap-12 { gap: 12px; }
.mm-gap-20 { gap: 20px; }
.mm-gap-40 { gap: 40px; }
.mm-mt-20 { margin-top: 20px; }

/* ═══════════════════════════════════════════════════════════
   MASONRY GRID (AI Feed)
   ═══════════════════════════════════════════════════════════ */

.mm-masonry {
  columns: 3;
  column-gap: 20px;
}

.mm-masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: var(--mm-radius-lg);
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  transition: all 0.4s var(--mm-ease);
}

.mm-masonry-item:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.mm-masonry-item a {
  display: block;
  position: relative;
}

.mm-masonry-img {
  overflow: hidden;
}

.mm-masonry-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--mm-ease);
}

.mm-masonry-item:hover .mm-masonry-img img {
  transform: scale(1.04);
}

.mm-masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: var(--mm-white);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.mm-masonry-item:hover .mm-masonry-overlay {
  opacity: 1;
  transform: translateY(0);
}

.mm-masonry-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.mm-masonry-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .mm-masonry {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .mm-masonry {
    columns: 1;
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICE CARDS WITH BG IMAGES
   ═══════════════════════════════════════════════════════════ */

.mm-service-card-bg {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px !important;
}

.mm-service-card-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 0;
}

.mm-service-card-bg:hover::after {
  opacity: 0.28;
  transform: scale(1.08);
}

.mm-service-card-bg::before {
  transform: scaleX(0) !important;
}

.mm-service-card-bg .mm-service-card-content {
  position: relative;
  z-index: 2;
}

.mm-service-card-bg .mm-service-icon {
  display: none;
}

.mm-service-card-bg .mm-service-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.mm-service-card-bg .mm-service-desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO DATE ON CARDS
   ═══════════════════════════════════════════════════════════ */

.mm-portfolio-date {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════
   WORK PAGE - YEAR GROUPINGS
   ═══════════════════════════════════════════════════════════ */

.mm-work-year-section {
  padding: 80px 0;
  border-top: 1px solid var(--mm-dark-border);
}

.mm-work-year-section:first-of-type {
  border-top: none;
}

.mm-work-year-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.mm-work-year-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--mm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mm-work-year-count {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
}

/* ═══════════════════════════════════════════════════════════
   ARCHIVES SECTION
   ═══════════════════════════════════════════════════════════ */

.mm-archives-section {
  background: var(--mm-dark);
  border-top: 1px solid var(--mm-dark-border);
  padding: 120px 0;
}

.mm-archives-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mm-archive-year-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.mm-archive-year-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mm-white);
}

.mm-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mm-archive-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--mm-radius);
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  transition: all 0.3s var(--mm-ease);
}

.mm-archive-item:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
}

.mm-archive-item a {
  display: block;
}

.mm-archive-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.mm-archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--mm-ease);
}

.mm-archive-item:hover .mm-archive-thumb img {
  transform: scale(1.05);
}

.mm-archive-info {
  padding: 16px 20px;
}

.mm-archive-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
}

.mm-archive-cat {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
}

.mm-archive-cat::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mm-purple);
  margin-right: 8px;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .mm-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .mm-archives-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .mm-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mm-work-year-title {
    font-size: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SINGLE PORTFOLIO - STYLED
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO HERO - Full image with overlay
   ═══════════════════════════════════════════════════════════ */

.mm-portfolio-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: var(--mm-dark);
}

.mm-portfolio-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
}

.mm-portfolio-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 80px;
}

.mm-portfolio-hero-title {
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--mm-white);
  max-width: 900px;
}

.mm-portfolio-hero-desc {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 650px;
  margin-top: 24px;
}

.mm-portfolio-hero .mm-single-meta {
  margin-bottom: 24px;
}

.mm-portfolio-hero .mm-single-meta time {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .mm-portfolio-hero {
    min-height: 60vh;
  }
  
  .mm-portfolio-hero-content {
    padding-bottom: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO MASONRY GALLERY
   ═══════════════════════════════════════════════════════════ */

.mm-portfolio-masonry {
  columns: 2;
  column-gap: 16px;
}

.mm-portfolio-masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--mm-radius);
  overflow: hidden;
  position: relative;
}

.mm-portfolio-masonry-item a {
  display: block;
}

.mm-portfolio-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--mm-ease);
}

.mm-portfolio-masonry-item:hover img {
  transform: scale(1.03);
}

@media (min-width: 1024px) {
  .mm-portfolio-masonry {
    columns: 3;
  }
}

@media (max-width: 768px) {
  .mm-portfolio-masonry {
    columns: 1;
    column-gap: 12px;
  }
  
  .mm-portfolio-masonry-item {
    margin-bottom: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO FEED GRID (Dynamic Masonry with Movement)
   ═══════════════════════════════════════════════════════════ */

.mm-portfolio-feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 350px;
  gap: 16px;
  grid-auto-flow: dense;
}

.mm-portfolio-feed-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--mm-radius-lg);
  background: var(--mm-dark-card);
  transition: transform 0.4s var(--mm-ease), box-shadow 0.4s var(--mm-ease);
}

/* Tall card - spans 2 rows */
.mm-portfolio-feed-item.mm-portfolio-feed-tall {
  grid-row: span 2;
}

/* Featured card - spans 2x2 */
.mm-portfolio-feed-item.mm-portfolio-feed-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.mm-portfolio-feed-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.mm-portfolio-feed-item a {
  display: block;
  position: relative;
  height: 100%;
  cursor: zoom-in;
}

.mm-portfolio-feed-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mm-portfolio-feed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--mm-ease);
}

.mm-portfolio-feed-item:hover .mm-portfolio-feed-img img {
  transform: scale(1.08);
}

@media (max-width: 1200px) {
  .mm-portfolio-feed-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
  }
  
  .mm-portfolio-feed-item.mm-portfolio-feed-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .mm-portfolio-feed-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
    gap: 12px;
  }
  
  .mm-portfolio-feed-item.mm-portfolio-feed-tall {
    grid-row: span 2;
  }
  
  .mm-portfolio-feed-item.mm-portfolio-feed-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 480px) {
  .mm-portfolio-feed-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
  
  .mm-portfolio-feed-item.mm-portfolio-feed-tall,
  .mm-portfolio-feed-item.mm-portfolio-feed-featured {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .mm-portfolio-feed-img {
    aspect-ratio: 4 / 5;
  }
}

/* Portfolio single content */
.mm-single-portfolio .mm-single-content {
  padding: 0;
}

.mm-single-portfolio .mm-single-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--mm-gray-400);
  margin-bottom: 28px;
}

.mm-single-portfolio .mm-single-content img {
  border-radius: var(--mm-radius-lg);
  margin: 40px 0;
}

.mm-single-portfolio .mm-single-content h2,
.mm-single-portfolio .mm-single-content h3 {
  color: var(--mm-white);
  margin-top: 48px;
}

.mm-single-portfolio .mm-single-content a {
  color: var(--mm-purple);
}

/* Elementor content compatibility */
.mm-single-portfolio .elementor-widget-image img {
  border-radius: var(--mm-radius-lg);
}

.mm-single-portfolio .elementor-widget-text-editor p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--mm-gray-400);
}

/* ═══════════════════════════════════════════════════════════
   AI FEED PAGE STYLING
   ═══════════════════════════════════════════════════════════ */

.mm-ai-feed-page .mm-ai-feed-hero {
  padding-bottom: 60px;
}

.mm-ai-feed-page .mm-ai-feed-content {
  padding-top: 40px;
  padding-bottom: 60px;
}

.mm-ai-feed-page .mm-page-content {
  max-width: 100%;
}

/* Force Elementor content to display properly */
.mm-ai-feed-page .mm-page-content p {
  display: block;
}

/* Style inline images from Elementor as a masonry grid */
.mm-ai-feed-page .mm-page-content p a {
  display: inline-block;
  width: calc(25% - 12px);
  margin: 6px;
  vertical-align: top;
  border-radius: var(--mm-radius-lg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mm-ai-feed-page .mm-page-content p a:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.mm-ai-feed-page .mm-page-content p a img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--mm-radius-lg);
  transition: transform 0.5s ease;
}

.mm-ai-feed-page .mm-page-content p a:hover img {
  transform: scale(1.03);
}

/* Elementor gallery styling in AI Feed */
.mm-ai-feed-page .elementor-widget-gallery {
  margin-bottom: 40px;
}

.mm-ai-feed-page .elementor-gallery-item {
  border-radius: var(--mm-radius-lg);
  overflow: hidden;
}

.mm-ai-feed-page .elementor-gallery__image {
  border-radius: var(--mm-radius-lg);
}

.mm-ai-feed-page .elementor-widget-image img {
  border-radius: var(--mm-radius-lg);
}

/* Masonry grid enhancements for AI Feed */
.mm-ai-feed-page .mm-masonry {
  columns: 4;
  column-gap: 16px;
}

.mm-ai-feed-page .mm-masonry-item {
  margin-bottom: 16px;
  border-radius: var(--mm-radius-lg);
}

.mm-ai-feed-page .mm-masonry-item img {
  border-radius: var(--mm-radius-lg);
}

@media (max-width: 1200px) {
  .mm-ai-feed-page .mm-masonry {
    columns: 3;
  }
  
  .mm-ai-feed-page .mm-page-content p a {
    width: calc(33.333% - 12px);
  }
}

@media (max-width: 768px) {
  .mm-ai-feed-page .mm-masonry {
    columns: 2;
  }
  
  .mm-ai-feed-page .mm-page-content p a {
    width: calc(50% - 12px);
  }
}

@media (max-width: 480px) {
  .mm-ai-feed-page .mm-masonry {
    columns: 1;
  }
  
  .mm-ai-feed-page .mm-page-content p a {
    width: 100%;
    margin: 6px 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE STYLING
   ═══════════════════════════════════════════════════════════ */

.mm-about-page {
  background: var(--mm-black);
}

.mm-about-hero {
  padding: 180px 0 60px;
  position: relative;
}

.mm-about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mm-about-hero-title {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--mm-white);
}

.mm-about-content-section {
  padding-top: 40px;
  padding-bottom: 100px;
}

.mm-about-content {
  max-width: 100%;
}

/* About page text styling */
.mm-about-content h1,
.mm-about-content h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mm-white);
  margin: 60px 0 28px;
  line-height: 1.2;
}

.mm-about-content h2:first-child,
.mm-about-content h1:first-child {
  margin-top: 0;
}

.mm-about-content h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--mm-white);
  margin: 48px 0 20px;
  line-height: 1.3;
}

.mm-about-content h4,
.mm-about-content h5,
.mm-about-content h6 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: var(--mm-gray-200);
  margin: 36px 0 16px;
  line-height: 1.4;
}

.mm-about-content p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--mm-gray-400);
  margin-bottom: 24px;
  max-width: 900px;
}

.mm-about-content p:last-child {
  margin-bottom: 0;
}

.mm-about-content strong {
  color: var(--mm-white);
  font-weight: 600;
}

.mm-about-content em {
  font-style: italic;
  color: var(--mm-gray-200);
}

.mm-about-content a {
  color: var(--mm-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.mm-about-content a:hover {
  opacity: 0.7;
}

.mm-about-content img {
  border-radius: var(--mm-radius-lg);
  margin: 40px 0;
  max-width: 100%;
}

.mm-about-content figure {
  margin: 48px 0;
}

.mm-about-content figure img {
  margin: 0;
  width: 100%;
}

.mm-about-content figcaption {
  font-size: 14px;
  color: var(--mm-gray-400);
  margin-top: 16px;
  text-align: center;
}

.mm-about-content blockquote {
  border-left: 3px solid var(--mm-purple);
  padding-left: 28px;
  margin: 48px 0;
  font-size: 22px;
  font-style: italic;
  color: var(--mm-gray-200);
  line-height: 1.6;
}

.mm-about-content ul,
.mm-about-content ol {
  padding-left: 28px;
  margin: 24px 0;
}

.mm-about-content li {
  font-size: 18px;
  line-height: 1.8;
  color: var(--mm-gray-400);
  margin-bottom: 12px;
  list-style: disc;
}

.mm-about-content ol li {
  list-style: decimal;
}

/* Elementor compatibility for About page */
.mm-about-content .elementor-section {
  margin-bottom: 60px;
  background: transparent !important;
  background-color: transparent !important;
}

.mm-about-content .elementor-section .elementor-container {
  background: transparent !important;
}

.mm-about-content .elementor-element {
  background-color: transparent !important;
}

.mm-about-content .elementor-widget-image img {
  border-radius: var(--mm-radius-lg);
}

.mm-about-content .elementor-widget-heading .elementor-heading-title {
  color: var(--mm-white) !important;
}

.mm-about-content .elementor-widget-text-editor {
  color: var(--mm-gray-400) !important;
}

.mm-about-content .elementor-widget-text-editor p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--mm-gray-400) !important;
}

.mm-about-content .elementor-widget-text-editor h1,
.mm-about-content .elementor-widget-text-editor h2,
.mm-about-content .elementor-widget-text-editor h3,
.mm-about-content .elementor-widget-text-editor h4,
.mm-about-content .elementor-widget-text-editor h5,
.mm-about-content .elementor-widget-text-editor h6 {
  color: var(--mm-white) !important;
}

.mm-about-content .elementor-image-carousel-wrapper img {
  border-radius: var(--mm-radius);
}

/* Two column layouts in About */
.mm-about-content .elementor-row,
.mm-about-content .elementor-container {
  gap: 48px;
}

.mm-about-content .elementor-column {
  padding: 0 !important;
  background: transparent !important;
}

/* Force dark backgrounds on all Elementor sections in About */
.mm-about-page .elementor,
.mm-about-page .elementor-inner,
.mm-about-page .elementor-section-wrap,
.mm-about-page .elementor-section,
.mm-about-page .elementor-top-section,
.mm-about-page .elementor-section-boxed,
.mm-about-page .elementor-section-stretched,
.mm-about-page .elementor-container,
.mm-about-page .elementor-row,
.mm-about-page .elementor-column,
.mm-about-page .elementor-column-wrap,
.mm-about-page .elementor-widget-wrap,
.mm-about-page .elementor-element {
  background-color: transparent !important;
  background: transparent !important;
}

/* Override any inline background styles - EXCEPT our custom hero bg */
.mm-about-page .elementor [style*="background-color"],
.mm-about-page .elementor [style*="background:"],
.mm-about-page .elementor [style*="background-image"] {
  background-color: transparent !important;
  background: transparent !important;
  background-image: none !important;
}

/* Special handling for white/light backgrounds in Elementor */
.mm-about-page .elementor [style*="#fff"],
.mm-about-page .elementor [style*="#FFF"],
.mm-about-page .elementor [style*="#ffffff"],
.mm-about-page .elementor [style*="#FFFFFF"],
.mm-about-page .elementor [style*="rgb(255"],
.mm-about-page .elementor [style*="rgba(255, 255, 255"],
.mm-about-page .elementor [style*="white"] {
  background-color: transparent !important;
  background: transparent !important;
}

/* Ensure all sections have dark background */
.mm-about-content-section,
.mm-about-content,
.mm-about-content > *,
.mm-about-content .elementor,
.mm-about-content .elementor > *,
.mm-about-content .elementor-inner,
.mm-about-content .elementor-section-wrap,
.mm-about-content .e-con,
.mm-about-content .e-con-inner {
  background-color: var(--mm-black) !important;
  background: var(--mm-black) !important;
}

/* Team section */
.mm-about-team {
  background: var(--mm-dark);
  border-top: 1px solid var(--mm-dark-border);
}

.mm-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

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

.mm-team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 2px solid var(--mm-dark-border);
}

.mm-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-team-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--mm-white);
}

.mm-team-role {
  font-size: 14px;
  color: var(--mm-gray-400);
}

@media (max-width: 1024px) {
  .mm-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mm-about-hero {
    padding: 140px 0 40px;
  }
  
  .mm-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .mm-team-photo {
    width: 120px;
    height: 120px;
  }
}

/* ═══════════════════════════════════════════════════════════
   GENERIC PAGE STYLING
   ═══════════════════════════════════════════════════════════ */

.mm-generic-page .mm-page-main-content {
  padding-top: 40px;
}

.mm-generic-page .mm-page-content {
  max-width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   ELEMENTOR GLOBAL OVERRIDES (for all pages)
   ═══════════════════════════════════════════════════════════ */

/* Force dark backgrounds on all Elementor elements globally */
.mm-main .elementor,
.mm-main .elementor-inner,
.mm-main .elementor-section-wrap,
.mm-main .elementor-section,
.mm-main .elementor-top-section,
.mm-main .elementor-section-boxed,
.mm-main .elementor-section-stretched,
.mm-main .elementor-container,
.mm-main .elementor-row,
.mm-main .elementor-column,
.mm-main .elementor-column-wrap,
.mm-main .elementor-widget-wrap,
.mm-main .elementor-element {
  background-color: transparent !important;
  background: transparent !important;
}

.mm-main .elementor-section {
  margin-bottom: 48px;
}

.mm-main .elementor-section:last-child {
  margin-bottom: 0;
}

.mm-main .elementor-widget-image img {
  border-radius: var(--mm-radius-lg);
}

.mm-main .elementor-widget-heading .elementor-heading-title {
  color: var(--mm-white) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.mm-main .elementor-widget-text-editor {
  color: var(--mm-gray-400) !important;
  font-size: 17px;
  line-height: 1.8;
}

.mm-main .elementor-widget-text-editor p {
  margin-bottom: 20px;
  color: var(--mm-gray-400) !important;
}

.mm-main .elementor-widget-text-editor h1,
.mm-main .elementor-widget-text-editor h2,
.mm-main .elementor-widget-text-editor h3,
.mm-main .elementor-widget-text-editor h4,
.mm-main .elementor-widget-text-editor h5,
.mm-main .elementor-widget-text-editor h6 {
  color: var(--mm-white) !important;
  margin-bottom: 16px;
}

.mm-main .elementor-widget-text-editor a {
  color: var(--mm-purple) !important;
}

.mm-main .elementor-widget-text-editor strong {
  color: var(--mm-white) !important;
  font-weight: 600;
}

/* Elementor gallery */
.mm-main .elementor-gallery-item {
  border-radius: var(--mm-radius-lg);
  overflow: hidden;
}

.mm-main .elementor-gallery__image {
  border-radius: var(--mm-radius-lg);
}

/* Elementor buttons */
.mm-main .elementor-widget-button .elementor-button {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 16px 36px;
  transition: all 0.3s ease;
}

/* Elementor columns */
.mm-main .elementor-row {
  gap: 40px;
}

.mm-main .elementor-container {
  gap: 40px;
}

/* Elementor video */
.mm-main .elementor-widget-video {
  border-radius: var(--mm-radius-lg);
  overflow: hidden;
}

/* Elementor spacer adjustments */
.mm-main .elementor-widget-spacer {
  min-height: 20px;
}

/* Elementor dividers */
.mm-main .elementor-widget-divider {
  --divider-color: var(--mm-dark-border);
}

/* Elementor icons */
.mm-main .elementor-widget-icon-box .elementor-icon {
  color: var(--mm-purple);
}

.mm-main .elementor-widget-icon-list .elementor-icon-list-icon {
  color: var(--mm-purple);
}

/* Image carousel styling */
.mm-main .elementor-image-carousel .swiper-slide img {
  border-radius: var(--mm-radius);
}

/* Figcaption styling */
.mm-main figcaption,
.mm-main .elementor-widget-image figure figcaption {
  color: var(--mm-gray-400) !important;
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE SPECIFIC STYLING (LEGACY - keep for compatibility)
   ═══════════════════════════════════════════════════════════ */

.page-template-default.page .mm-page-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.page-template-default.page .mm-page-content h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mm-white);
  margin: 60px 0 24px;
}

.page-template-default.page .mm-page-content h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  color: var(--mm-gray-200);
  line-height: 1.5;
  margin-bottom: 24px;
}

.page-template-default.page .mm-page-content h4,
.page-template-default.page .mm-page-content h5,
.page-template-default.page .mm-page-content h6 {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--mm-gray-400);
  margin-bottom: 20px;
}

.page-template-default.page .mm-page-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mm-gray-400);
  margin-bottom: 24px;
}

.page-template-default.page .mm-page-content img {
  border-radius: var(--mm-radius-lg);
  margin: 30px 0;
}

.page-template-default.page .mm-page-content a {
  color: var(--mm-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-template-default.page .mm-page-content figure {
  margin: 30px 0;
}

.page-template-default.page .mm-page-content figure img {
  border-radius: var(--mm-radius-lg);
}

.page-template-default.page .mm-page-content figcaption {
  font-size: 13px;
  color: var(--mm-gray-400);
  text-align: center;
  margin-top: 12px;
}

/* Elementor sections on pages */
.page-template-default.page .elementor-section {
  margin-bottom: 40px;
}

.page-template-default.page .elementor-widget-image img {
  border-radius: var(--mm-radius-lg);
}

.page-template-default.page .elementor-widget-heading .elementor-heading-title {
  color: var(--mm-white);
}

.page-template-default.page .elementor-widget-text-editor {
  color: var(--mm-gray-400);
  font-size: 17px;
  line-height: 1.8;
}

.page-template-default.page .elementor-widget-text-editor h6 {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--mm-gray-400);
}

/* Image carousel / slider on pages */
.page-template-default.page .elementor-widget-image-carousel img {
  border-radius: var(--mm-radius);
}

/* Two-column layouts */
.page-template-default.page .elementor-section .elementor-row {
  gap: 40px;
}

/* Strong text in about */
.page-template-default.page .mm-page-content strong {
  color: var(--mm-white);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   AI FEED - DYNAMIC MASONRY GRID
   ═══════════════════════════════════════════════════════════ */

.mm-feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 320px;
  gap: 16px;
  grid-auto-flow: dense;
}

.mm-feed-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--mm-radius-lg);
  background: var(--mm-dark-card);
  transition: transform 0.4s var(--mm-ease), box-shadow 0.4s var(--mm-ease);
}

/* Tall card - spans 2 rows */
.mm-feed-item.mm-feed-tall {
  grid-row: span 2;
}

/* Featured card - spans 2x2 */
.mm-feed-item.mm-feed-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.mm-feed-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.mm-feed-item a {
  display: block;
  position: relative;
  height: 100%;
}

.mm-feed-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mm-feed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--mm-ease);
}

.mm-feed-item:hover .mm-feed-img img {
  transform: scale(1.05);
}

.mm-feed-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: var(--mm-white);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.mm-feed-item:hover .mm-feed-overlay {
  opacity: 1;
  transform: translateY(0);
}

.mm-feed-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.mm-feed-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.mm-feed-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--mm-gray-400);
}

@media (max-width: 1200px) {
  .mm-feed-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
  }
  
  .mm-feed-item.mm-feed-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .mm-feed-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
    gap: 12px;
  }
  
  .mm-feed-item.mm-feed-tall {
    grid-row: span 2;
  }
  
  .mm-feed-item.mm-feed-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 480px) {
  .mm-feed-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
  
  .mm-feed-item.mm-feed-tall,
  .mm-feed-item.mm-feed-featured {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .mm-feed-img {
    aspect-ratio: 4 / 5;
  }
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */

.mm-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mm-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.mm-lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mm-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--mm-radius);
}

.mm-lightbox-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mm-gray-400);
  text-align: center;
}

.mm-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--mm-white);
  font-size: 40px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 10001;
  line-height: 1;
}

.mm-lightbox-close:hover {
  opacity: 1;
}

.mm-lightbox-prev,
.mm-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--mm-white);
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-lightbox-prev:hover,
.mm-lightbox-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.mm-lightbox-prev {
  left: 30px;
}

.mm-lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .mm-lightbox-prev,
  .mm-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .mm-lightbox-prev {
    left: 10px;
  }
  
  .mm-lightbox-next {
    right: 10px;
  }
  
  .mm-lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 32px;
  }
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM ABOUT PAGE (No Elementor)
   ═══════════════════════════════════════════════════════════ */

.mm-about-hero-full {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  padding-top: calc(var(--mm-nav-height) + 80px);
}

.mm-about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.mm-about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
}

.mm-about-hero-full .mm-container {
  position: relative;
  z-index: 2;
}

.mm-about-hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--mm-white);
}

.mm-about-hero-desc {
  max-width: 650px;
  color: var(--mm-gray-400);
}

/* About Sections */
.mm-about-section {
  padding: 100px 0;
  border-top: 1px solid var(--mm-dark-border);
}

.mm-about-section:first-of-type {
  border-top: none;
}

.mm-about-section-alt {
  background: var(--mm-dark);
}

.mm-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mm-about-grid-reverse {
  direction: rtl;
}

.mm-about-grid-reverse > * {
  direction: ltr;
}

.mm-about-text {
  max-width: 550px;
}

.mm-about-text p {
  color: var(--mm-gray-400);
}

.mm-about-text strong {
  color: var(--mm-white);
  font-weight: 600;
}

.mm-about-text a {
  color: var(--mm-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm-about-text a:hover {
  opacity: 0.7;
}

.mm-about-highlight {
  font-size: 18px;
  font-weight: 500;
  color: var(--mm-white) !important;
  padding: 20px 24px;
  background: var(--mm-gradient-subtle);
  border-left: 3px solid var(--mm-purple);
  border-radius: 0 var(--mm-radius) var(--mm-radius) 0;
}

.mm-about-image {
  position: relative;
}

.mm-about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--mm-radius-lg);
}

.mm-about-image-caption {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--mm-gray-400);
  text-align: center;
}

.mm-about-image-stack img {
  width: 100%;
  border-radius: var(--mm-radius-lg);
}

.mm-about-logos {
  display: flex;
  gap: 32px;
  align-items: center;
}

.mm-about-logos img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

/* AI Fashion Week section */
.mm-about-aifw {
  background: linear-gradient(180deg, var(--mm-dark) 0%, var(--mm-black) 100%);
  padding: 120px 0;
  border-top: 1px solid var(--mm-dark-border);
}

.mm-about-aifw-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mm-about-aifw-images img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--mm-radius-lg);
}

.mm-aifw-card {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-radius: var(--mm-radius-lg);
}

/* About CTA */
.mm-about-cta {
  padding: 120px 0;
  background: var(--mm-black);
  border-top: 1px solid var(--mm-dark-border);
}

.mm-about-cta .mm-section-title {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(24px, 4vw, 42px);
  color: var(--mm-white);
}

@media (max-width: 1024px) {
  .mm-about-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .mm-about-hero-full {
    min-height: 50vh;
    padding: 100px 0 60px;
    padding-top: calc(var(--mm-nav-height) + 60px);
  }
  
  .mm-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mm-about-grid-reverse {
    direction: ltr;
  }
  
  .mm-about-text {
    max-width: 100%;
  }
  
  .mm-about-aifw-images {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .mm-about-logos {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .mm-about-logos img {
    height: 30px;
  }
}

/* ═══════════════════════════════════════════════════════════
   AI INNOVATION LAB PAGE
   ═══════════════════════════════════════════════════════════ */

.mm-lab-page {
  background: var(--mm-black);
}

.mm-lab-hero .mm-about-hero-bg {
  background-position: center top;
}

/* Lab Intro */
.mm-lab-intro {
  max-width: 1000px;
}

.mm-lab-intro h2 {
  color: var(--mm-gray-200);
  font-weight: 400;
  line-height: 1.5;
}

/* Capabilities Grid */
.mm-lab-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .mm-lab-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mm-lab-capabilities-grid {
    grid-template-columns: 1fr;
  }
}

/* Research List */
.mm-lab-research-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mm-lab-research-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--mm-dark-border);
  font-size: 16px;
  line-height: 1.6;
  color: var(--mm-gray-400);
}

.mm-lab-research-item:last-child {
  border-bottom: none;
}

.mm-lab-research-item strong {
  color: var(--mm-white);
  font-weight: 600;
}

/* Lab Stats Box */
.mm-lab-stats-box {
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  border-radius: var(--mm-radius-xl);
  padding: 60px 40px;
  text-align: center;
}

.mm-lab-stats-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
  margin-bottom: 40px;
}

.mm-lab-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mm-lab-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mm-lab-stat-number {
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--mm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mm-lab-stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
  margin-top: 8px;
}

/* Tech Tags */
.mm-lab-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mm-tech-tag {
  display: inline-block;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--mm-gradient-subtle);
  color: var(--mm-purple);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.mm-tech-tag:hover {
  background: var(--mm-purple);
  color: var(--mm-white);
  transform: translateY(-2px);
}

/* Seeed.ai Section */
.mm-lab-seeed {
  background: linear-gradient(135deg, var(--mm-dark) 0%, var(--mm-black) 100%);
  border-top: 1px solid var(--mm-dark-border);
  border-bottom: 1px solid var(--mm-dark-border);
}

.mm-lab-seeed-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.mm-lab-seeed-badge {
  background: var(--mm-gradient-subtle);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--mm-radius-xl);
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mm-seeed-logo {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  background: var(--mm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.mm-seeed-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-gray-400);
}

.mm-lab-seeed-content p {
  color: var(--mm-gray-400);
}

.mm-lab-seeed-content a:not(.mm-btn) {
  color: var(--mm-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm-lab-seeed-content strong {
  color: var(--mm-white);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .mm-lab-seeed-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .mm-lab-seeed-badge {
    padding: 60px 30px;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Showcase Cards */
.mm-lab-showcase-card {
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  border-radius: var(--mm-radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--mm-ease);
}

.mm-lab-showcase-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.mm-lab-showcase-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.mm-lab-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--mm-ease);
}

.mm-lab-showcase-card:hover .mm-lab-showcase-image img {
  transform: scale(1.06);
}

.mm-lab-showcase-info {
  padding: 28px;
}

.mm-lab-showcase-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-purple);
  margin-bottom: 12px;
}

.mm-lab-showcase-cat::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mm-purple);
}

.mm-lab-showcase-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--mm-white);
}

.mm-lab-showcase-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mm-gray-400);
  margin: 0;
}

@media (max-width: 768px) {
  .mm-lab-stats-box {
    padding: 40px 30px;
  }
  
  .mm-lab-stats-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  
  .mm-lab-stat {
    min-width: 100px;
  }
}


/* ═══════════════════════════════════════════════════════════
   AUTO-SCROLLING IMAGE CAROUSEL
   ═══════════════════════════════════════════════════════════ */

.mm-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--mm-radius-md, 8px);
  max-height: 350px;
}

.mm-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.mm-carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 350px;
}

.mm-carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.mm-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.mm-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.mm-carousel-dot.active,
.mm-carousel-dot:hover {
  background: #fff;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .mm-carousel,
  .mm-carousel-slide {
    max-height: 250px;
    height: 250px;
  }
}

/* Seeed Badge for About Page */
.mm-seeed-badge {
  background: var(--mm-dark-card, #1a1a1a);
  border: 1px solid var(--mm-dark-border, rgba(255,255,255,0.1));
  border-radius: var(--mm-radius-lg, 12px);
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 16px;
}

@media (max-width: 768px) {
  .mm-seeed-badge {
    padding: 60px 30px;
    min-height: 200px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SEEED CARD WITH BACKGROUND IMAGE
   ═══════════════════════════════════════════════════════════ */

.mm-card-seeed {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(26, 26, 26, 0.95) 100%),
              url('/wp-content/uploads/2026/02/seeed-ai_genai_appp.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mm-seeed-logo-img {
  width: 100px;
  height: auto;
  display: block;
  filter: brightness(1.1);
}

/* ═══════════════════════════════════════════════════════════
   AI FASHION WEEK FEATURED IMAGE
   ═══════════════════════════════════════════════════════════ */

.mm-aifw-featured-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: var(--mm-radius-lg, 12px);
}

.mm-aifw-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--mm-ease, ease);
}

.mm-aifw-featured-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .mm-seeed-logo-img {
    width: 80px;
  }
  
  .mm-aifw-featured-image {
    border-radius: var(--mm-radius-md, 8px);
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE - VIDEO HERO
   ═══════════════════════════════════════════════════════════ */

.mm-about-hero-video {
  position: relative;
  overflow: hidden;
}

.mm-about-hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.mm-about-hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.mm-about-hero-video .mm-about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.3) 50%,
    rgba(10, 10, 10, 0.7) 100%
  );
  z-index: 1;
}

.mm-about-hero-video .mm-container {
  position: relative;
  z-index: 2;
}

/* Seeed App Image */
.mm-seeed-app-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: var(--mm-radius-md, 8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--mm-ease), box-shadow 0.4s var(--mm-ease);
}

.mm-seeed-app-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE - SECURITY & WORKFLOWS SECTION
   ═══════════════════════════════════════════════════════════ */

.mm-about-security {
  background: var(--mm-dark, #111);
}

.mm-security-visual {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 1px solid var(--mm-dark-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--mm-radius-lg, 12px);
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 30px;
}

.mm-security-icon {
  font-size: 80px;
  line-height: 1;
  animation: mm-pulse 2s infinite;
}

@keyframes mm-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

.mm-security-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.mm-security-badge {
  display: inline-block;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(124, 58, 237, 0.2);
  color: var(--mm-white);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 6px;
  transition: all 0.3s var(--mm-ease);
}

.mm-security-badge:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .mm-security-visual {
    min-height: 350px;
    padding: 60px 30px;
  }
  
  .mm-security-icon {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .mm-security-visual {
    min-height: 300px;
    padding: 50px 20px;
  }
  
  .mm-security-icon {
    font-size: 50px;
  }
  
  .mm-security-badge {
    padding: 10px 16px;
    font-size: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */

.mm-contact-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 100px;
}

.mm-contact-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.mm-contact-content .mm-section-label {
  justify-content: center;
}

.mm-contact-title {
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--mm-white);
  margin-bottom: 30px;
}

.mm-contact-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--mm-gray-400);
  margin-bottom: 50px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.mm-contact-email-wrapper {
  margin-bottom: 50px;
}

.mm-contact-email {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 30px 50px;
  background: var(--mm-dark-card);
  border: 1px solid var(--mm-dark-border);
  border-radius: var(--mm-radius-lg);
  transition: all 0.4s var(--mm-ease);
  position: relative;
}

.mm-contact-email:hover {
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
}

.mm-contact-email-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-gray-500);
}

.mm-contact-email-address {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 600;
  color: var(--mm-white);
  letter-spacing: -0.01em;
}

.mm-contact-email-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--mm-gray-500);
  transition: all 0.3s ease;
}

.mm-contact-email:hover .mm-contact-email-arrow {
  color: var(--mm-white);
  transform: translate(3px, -3px);
}

.mm-contact-locations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--mm-gray-500);
  margin-bottom: 40px;
}

.mm-contact-dot {
  width: 4px;
  height: 4px;
  background: var(--mm-gray-600);
  border-radius: 50%;
}

.mm-contact-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mm-contact-social a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mm-gray-400);
  border: 1px solid var(--mm-dark-border);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mm-contact-social a:hover {
  color: var(--mm-white);
  border-color: var(--mm-white);
  transform: translateY(-3px);
}

.mm-contact-social a.mm-contact-seeed img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(0.6);
  transition: filter 0.3s ease;
}

.mm-contact-social a.mm-contact-seeed:hover img {
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .mm-contact-hero {
    padding: 120px 0 80px;
  }
  
  .mm-contact-text {
    font-size: 16px;
    margin-bottom: 40px;
  }
  
  .mm-contact-email {
    padding: 24px 30px;
    width: 100%;
  }
  
  .mm-contact-email-arrow {
    top: 16px;
    right: 16px;
  }
  
  .mm-contact-locations {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .mm-contact-social a {
    width: 44px;
    height: 44px;
  }
}
