/*--------------------------------------------------------------
# MMI design layer
# Loaded after main.css (the original UpConstruction template).
--------------------------------------------------------------*/
:root {
  --brand: #2b97b3;
  --brand-600: color-mix(in srgb, var(--brand) 78%, black);
  --brand-300: color-mix(in srgb, var(--brand) 60%, white);
  --gold: #feb900;
  --gold-600: color-mix(in srgb, var(--gold) 85%, black);
  --ink: #0b1724;
  --ink-2: color-mix(in srgb, var(--ink) 88%, white);
  --text: #3d4b5c;
  --muted: #6b7a8c;
  --page-bg: #f6f8fa;
  --card: #ffffff;
  --line: color-mix(in srgb, var(--ink) 8%, transparent);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px color-mix(in srgb, var(--ink) 6%, transparent);
  --shadow: 0 12px 32px -12px color-mix(in srgb, var(--ink) 18%, transparent);
  --shadow-lg: 0 30px 60px -20px color-mix(in srgb, var(--ink) 35%, transparent);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-default: var(--font);
  --font-primary: var(--font);
  --font-secondary: var(--font);
  --color-primary: var(--brand);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.page-dark { --page-bg: var(--ink); --text: rgba(255, 255, 255, .78); --muted: rgba(255, 255, 255, .6); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--ink); letter-spacing: -.02em; }
.page-dark h1, .page-dark h2, .page-dark h3, .page-dark h4 { color: #fff; }

a { color: var(--brand); transition: color .25s var(--ease); }
a:hover { color: var(--brand-600); }

section { padding: 0; overflow: visible; }
.section-pad { padding: 96px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

::selection { background: var(--brand); color: #fff; }

.text-brand { color: var(--brand); }
.text-gold { color: var(--gold) !important; }
.text-gradient {
  background: linear-gradient(100deg, var(--brand-300), var(--brand) 40%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* Eyebrow labels */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--brand-300); }
.eyebrow-gold { color: var(--gold); }
.eyebrow:has(.pulse-dot)::before, .eyebrow:has(i)::before { display: none; }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

/* Section headings */
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; }
.section-head-split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; flex-wrap: wrap; }
.section-head-split h2 { margin: 0; max-width: 640px; }

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-pill {
  --bg: var(--brand);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--bg) 80%, transparent);
  white-space: nowrap;
}
.btn-pill::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn-pill:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--bg) 90%, transparent); }
.btn-pill:hover::after { transform: translateX(120%); }
.btn-pill i { transition: transform .35s var(--ease); }
.btn-pill:hover .bi-arrow-right { transform: translateX(4px); }
.btn-pill-ghost { --bg: rgba(255, 255, 255, .08); --fg: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); box-shadow: none; }
.btn-pill-ghost:hover { --bg: rgba(255, 255, 255, .18); box-shadow: none; }
.btn-pill-dark { --bg: var(--ink); }
.btn-pill-gold { --bg: var(--gold); --fg: var(--ink); }
.btn-pill-sm { padding: 9px 18px; font-size: 14px; }

/*--------------------------------------------------------------
# Scroll progress, preloader, floating buttons
--------------------------------------------------------------*/
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10000;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

#preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity .6s var(--ease), visibility .6s;
}
#preloader::before { display: none; }
#preloader img { width: 64px; animation: preload 1.4s var(--ease) infinite; }
#preloader.done { opacity: 0; visibility: hidden; }
@keyframes preload {
  0%, 100% { transform: scale(.9) rotate(0); opacity: .7; }
  50% { transform: scale(1.08) rotate(8deg); opacity: 1; }
}

.scroll-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 996;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .4s var(--ease);
}
.scroll-top i { font-size: 26px; color: #fff; line-height: 0; }
.scroll-top.active { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--brand); }

.call-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 996;
  width: 54px; height: 54px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--brand); color: #fff; font-size: 22px;
  box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--brand) 70%, transparent);
  animation: ring 4s var(--ease) infinite;
}
.call-fab:hover { color: #fff; }
@media (max-width: 991px) { .call-fab { display: grid; } }
@keyframes ring {
  0%, 86%, 100% { transform: rotate(0); }
  88%, 92%, 96% { transform: rotate(-12deg); }
  90%, 94%, 98% { transform: rotate(12deg); }
}

/*--------------------------------------------------------------
# Header & navigation
--------------------------------------------------------------*/
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 997;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 55%, transparent), transparent);
  transition: opacity .4s var(--ease);
}
/* The frosted glass sits on a background layer, not on the header itself:
   backdrop-filter (and transform) on the header would trap the full-screen
   mobile menu, which lives inside it, within the header's own height. */
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled::after { opacity: 1; }
.site-header.scrolled::before { opacity: 0; }
.site-header.hidden { transform: translateY(-100%); }
.nav-open .site-header { transform: none; }
.nav-open .site-header::after { opacity: 0; }

.site-header .logo { gap: 12px; }
.site-header .logo-mark { height: 44px; width: auto; transition: height .4s var(--ease), transform .6s var(--ease); }
.site-header .logo:hover .logo-mark { transform: rotate(-10deg) scale(1.05); }
.site-header.scrolled .logo-mark { height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; padding-left: 12px; border-left: 2px solid var(--brand); }
.logo-text strong { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: .02em; }
.logo-text small { color: rgba(255, 255, 255, .75); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav ul > li:not(.nav-cta-item) > a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand-300);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav .nav-cta-item { margin-left: 10px; }
.site-nav .nav-cta-item a { color: #fff; }

.nav-toggle {
  display: none;
  position: relative; z-index: 9999;
  width: 44px; height: 44px;
  border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: #fff;
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 9998;
    background: color-mix(in srgb, var(--ink) 96%, transparent);
    backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    clip-path: circle(0 at calc(100% - 44px) 44px);
    transition: clip-path .7s var(--ease);
  }
  .nav-open .site-nav { clip-path: circle(150% at calc(100% - 44px) 44px); }
  .nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; gap: 8px; }
  .site-nav li { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-open .site-nav li { opacity: 1; transform: none; }
  .nav-open .site-nav li:nth-child(1) { transition-delay: .15s; }
  .nav-open .site-nav li:nth-child(2) { transition-delay: .2s; }
  .nav-open .site-nav li:nth-child(3) { transition-delay: .25s; }
  .nav-open .site-nav li:nth-child(4) { transition-delay: .3s; }
  .nav-open .site-nav li:nth-child(5) { transition-delay: .35s; }
  .nav-open .site-nav li:nth-child(6) { transition-delay: .4s; }
  .site-nav a { font-size: 26px; font-weight: 700; text-align: center; }
  .site-nav .nav-cta-item { margin: 18px 0 0; }
  .site-nav .nav-cta-item a { font-size: 16px; }
}

/*--------------------------------------------------------------
# Shared hero entrance animation
--------------------------------------------------------------*/
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  animation: rise 1s var(--ease) forwards;
  animation-delay: calc(var(--d, 0s) + var(--load-delay, .35s));
}
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }

/*--------------------------------------------------------------
# Home hero
--------------------------------------------------------------*/
.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.home-hero .carousel, .home-hero .carousel-inner, .home-hero .carousel-item { position: absolute; inset: 0; height: 100%; }
.home-hero .carousel-item { transition: opacity 1.4s ease-in-out; }
.hero-slide-bg {
  position: absolute; inset: -2%;
  background-size: cover; background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}
.carousel-item:nth-child(even) .hero-slide-bg { animation-direction: alternate-reverse; }
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, color-mix(in srgb, var(--ink) 35%, transparent), transparent 60%),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 92%, transparent) 0%, color-mix(in srgb, var(--ink) 70%, transparent) 45%, color-mix(in srgb, var(--ink) 25%, transparent) 100%),
    linear-gradient(to top, color-mix(in srgb, var(--ink) 85%, transparent), transparent 40%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 140px; }
.home-hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, .78); max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-controls {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 44px;
  display: flex; align-items: center; gap: 22px;
}
.hero-counter { display: flex; align-items: center; gap: 10px; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.hero-counter .sep { width: 18px; height: 1px; background: rgba(255, 255, 255, .5); }
.hero-counter .total { color: rgba(255, 255, 255, .5); }
.hero-progress { flex: 0 1 220px; height: 2px; background: rgba(255, 255, 255, .2); border-radius: 2px; overflow: hidden; }
.hero-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand-300), var(--gold)); transform-origin: left; transform: scaleX(0); }
.hero-progress span.run { animation: progress var(--interval, 6s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 10px; margin-left: auto; }
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
  color: #fff; font-size: 18px;
  backdrop-filter: blur(6px);
  transition: all .35s var(--ease);
}
.hero-arrows button:hover { background: #fff; color: var(--ink); transform: scale(1.06); }

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 36px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .55);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 767px) {
  .scroll-cue { display: none; }
  .hero-controls { bottom: 24px; }
  .hero-progress { flex-basis: 120px; }
  .hero-arrows button { width: 42px; height: 42px; }
  .hero-content { padding-bottom: 110px; }
}

/*--------------------------------------------------------------
# Stats band
--------------------------------------------------------------*/
.stats-band { position: relative; z-index: 4; margin-top: -1px; background: var(--ink); padding: 0 0 72px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  overflow: hidden;
}
.stat { padding: 34px 28px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, .1); }
.stat-num { font-size: clamp(36px, 4vw, 54px); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num span { background: linear-gradient(180deg, #fff, var(--brand-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 10px; color: rgba(255, 255, 255, .6); font-size: 14px; font-weight: 500; }
@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}

/*--------------------------------------------------------------
# Feature / service cards
--------------------------------------------------------------*/
.feature-card {
  position: relative;
  display: block;
  height: 100%;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), color-mix(in srgb, var(--brand) 12%, transparent), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.feature-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, transparent); color: var(--text); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 26px; color: var(--brand);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, transparent), color-mix(in srgb, var(--brand) 4%, transparent));
  margin-bottom: 22px;
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); background: var(--brand); color: #fff; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; }
.feature-num { position: absolute; top: 26px; right: 28px; font-size: 14px; font-weight: 800; color: color-mix(in srgb, var(--ink) 12%, transparent); letter-spacing: .05em; transition: color .4s; }
.feature-card:hover .feature-num { color: var(--brand); }
.feature-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--brand); }
.feature-link i { transition: transform .35s var(--ease); }
.feature-card:hover .feature-link i { transform: translateX(5px); }

.feature-card-dark { background: var(--ink-2); border-color: rgba(255, 255, 255, .07); }
.feature-card-dark p { color: rgba(255, 255, 255, .65); }
.feature-card-dark .feature-icon { color: var(--gold); background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 16%, transparent), color-mix(in srgb, var(--gold) 3%, transparent)); }
.feature-card-dark:hover .feature-icon { background: var(--gold); color: var(--ink); }
.feature-card-dark::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), color-mix(in srgb, var(--gold) 10%, transparent), transparent 45%); }
.feature-card-dark:hover { border-color: color-mix(in srgb, var(--gold) 30%, transparent); color: inherit; }

/*--------------------------------------------------------------
# Projects marquee (home)
--------------------------------------------------------------*/
.marquee-section { background: var(--ink); padding: 96px 0; overflow: hidden; }
.marquee-section h2 { color: #fff; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 80s linear infinite; padding: 10px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.marquee-card {
  flex: 0 0 auto;
  width: 340px; height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.marquee-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.marquee-card:hover img { transform: scale(1.08); filter: saturate(1.1); }
@media (max-width: 767px) { .marquee-card { width: 260px; height: 190px; } }

/*--------------------------------------------------------------
# Local Law 152 band (home)
--------------------------------------------------------------*/
.ll-band { position: relative; border-radius: 28px; overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--shadow-lg); }
.ll-band-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.ll-band:hover .ll-band-bg { transform: scale(1.02); }
.ll-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--ink) 95%, transparent) 30%, color-mix(in srgb, var(--ink) 55%, transparent)); }
.ll-band-content { padding: clamp(40px, 6vw, 80px); max-width: 720px; }
.ll-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.ll-band p { color: rgba(255, 255, 255, .75); font-size: 17px; line-height: 1.7; margin-bottom: 30px; }

/*--------------------------------------------------------------
# Inner page hero
--------------------------------------------------------------*/
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: flex-end;
  padding: 160px 0 120px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.page-hero-bg { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: heroZoom 14s var(--ease) forwards; will-change: transform; }
@keyframes heroZoom { from { transform: scale(1.18); } to { transform: scale(1); } }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 55%, transparent) 0%, color-mix(in srgb, var(--ink) 70%, transparent) 55%, color-mix(in srgb, var(--ink) 95%, transparent) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .78); font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; margin: 0; }
.page-crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.page-crumbs a { color: rgba(255, 255, 255, .8); }
.page-crumbs a:hover { color: #fff; }
.page-crumbs i { font-size: 11px; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; line-height: 0; }
.wave svg { width: 100%; height: 100%; }
.wave path { fill: var(--page-bg); }

/*--------------------------------------------------------------
# Projects page
--------------------------------------------------------------*/
.projects-section { padding-top: 40px; }
.filter-bar {
  position: sticky; top: 74px; z-index: 50;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  width: fit-content; max-width: 100%;
  margin: 0 auto 44px; padding: 6px;
  list-style: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.filter-bar a {
  display: block; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--text);
  transition: all .35s var(--ease);
}
.filter-bar a:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.filter-bar a.active { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--ink) 60%, transparent); }
@media (max-width: 575px) { .filter-bar { border-radius: 22px; } .filter-bar a { padding: 8px 14px; font-size: 14px; } }

.project-card {
  position: relative; display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.project-card img { width: 100%; height: auto; display: block; transition: transform 1.2s var(--ease), opacity .6s; }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 92%, transparent) 0%, color-mix(in srgb, var(--ink) 35%, transparent) 40%, transparent 70%);
  opacity: .85; transition: opacity .5s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card:hover img { transform: scale(1.07); }
.project-card:hover::after { opacity: 1; }
.project-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; color: #fff; }
.project-info h4 { color: #fff; font-size: 19px; font-weight: 700; margin: 6px 0 4px; transform: translateY(6px); transition: transform .5s var(--ease); }
.project-info p { color: rgba(255, 255, 255, .72); font-size: 14px; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s var(--ease); }
.project-card:hover .project-info h4 { transform: none; }
.project-card:hover .project-info p { max-height: 60px; opacity: 1; }
.project-type {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); color: #fff;
}
.project-zoom {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  opacity: 0; transform: scale(.6) rotate(-45deg);
  transition: all .5s var(--ease);
}
.project-card:hover .project-zoom { opacity: 1; transform: none; }
@media (hover: none) { .project-info p { max-height: 60px; opacity: 1; } .project-info h4 { transform: none; } }

/*--------------------------------------------------------------
# About page
--------------------------------------------------------------*/
.about-story h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.2; margin-bottom: 26px; }
.about-story p { font-size: 16.5px; line-height: 1.85; margin-bottom: 20px; }
.about-story .lead-text { font-size: 19px; color: var(--ink); }
.pull-quote {
  position: relative; margin: 34px 0; padding: 26px 30px 26px 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, transparent), color-mix(in srgb, var(--gold) 6%, transparent));
  font-size: 21px; font-weight: 700; line-height: 1.5; color: var(--ink);
}
.pull-quote::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 4px; background: linear-gradient(var(--brand), var(--gold)); }
.about-card {
  position: sticky; top: 100px;
  padding: 34px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-logo { width: 100%; max-width: 300px; display: block; margin: 0 auto 22px; }
.fact-list { list-style: none; padding: 0; margin: 0 0 26px; }
.fact-list li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.fact-list i { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.fact-list strong { display: block; color: var(--ink); font-size: 16px; }
.fact-list span { color: var(--muted); font-size: 14px; }
.specialties { margin-top: 96px; }
.chip-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.chip-grid li {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  font-weight: 600; font-size: 15px; color: var(--ink);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.chip-grid li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 35%, transparent); box-shadow: var(--shadow); }
.chip-grid i { color: var(--brand); font-size: 19px; }

/*--------------------------------------------------------------
# CTA card
--------------------------------------------------------------*/
.cta-card {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  margin-top: 80px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: linear-gradient(120deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 65%, var(--brand)) 60%, var(--brand-600) 140%);
  color: #fff; overflow: hidden; isolation: isolate;
}
.cta-card::before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-300) 35%, transparent), transparent 65%);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-40px, 40px) scale(1.1); } }
.cta-card h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; margin-bottom: 10px; }
.cta-card p { color: rgba(255, 255, 255, .75); margin: 0; max-width: 720px; line-height: 1.7; }
.cta-card > div:first-child { flex: 1 1 420px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.section-pad.pt-0 .cta-card { margin-top: 0; }
.cta-card-gold { background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 15%, black) 0%, color-mix(in srgb, var(--gold) 30%, black) 50%, var(--gold-600) 160%); }
.cta-card-gold::before { background: radial-gradient(circle, color-mix(in srgb, var(--gold) 35%, transparent), transparent 65%); }

/*--------------------------------------------------------------
# Local Law page
--------------------------------------------------------------*/
.ll-page h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.ll-page p { font-size: 16.5px; line-height: 1.8; }
.ll-page .section-head p { color: rgba(255, 255, 255, .65); }
.img-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.img-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .12); pointer-events: none; }
.img-frame img { width: 100%; transition: transform 1.2s var(--ease); }
.img-frame:hover img { transform: scale(1.05); }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer { position: relative; background: color-mix(in srgb, var(--ink) 75%, black); color: rgba(255, 255, 255, .65); padding: 90px 0 30px; overflow: hidden; font-size: 15px; }
.footer-glow { position: absolute; width: 700px; height: 700px; left: -200px; top: -380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 65%); pointer-events: none; }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-cta h3 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; margin: 0 0 8px; max-width: 620px; line-height: 1.15; }
.footer-cta p { margin: 0; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-logo { height: 64px; width: auto; margin-bottom: 20px; }
.footer-about { max-width: 420px; line-height: 1.8; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255, 255, 255, .65); position: relative; }
.footer-links a::before { content: "→"; position: absolute; left: -18px; opacity: 0; transition: all .35s var(--ease); color: var(--brand-300); }
.footer-links a:hover { color: #fff; padding-left: 18px; }
.footer-links a:hover::before { left: 0; opacity: 1; }
.footer-links a { transition: padding .35s var(--ease), color .35s; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.6; }
.footer-contact i { color: var(--brand-300); margin-top: 2px; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: #fff; }
.sister-logo img { width: 190px; height: auto; opacity: .85; transition: opacity .3s, transform .4s var(--ease); }
.sister-logo:hover img { opacity: 1; transform: translateY(-2px); }
.footer-legal { margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; font-size: 14px; color: rgba(255, 255, 255, .45); }
.footer-legal strong { color: rgba(255, 255, 255, .75); font-weight: 600; }

/*--------------------------------------------------------------
# Scroll reveal tuning & accessibility
--------------------------------------------------------------*/
[data-aos] { pointer-events: auto; }
:focus-visible { outline: 2px solid var(--brand-300); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-anim { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; overflow-x: auto; }
}

/*--------------------------------------------------------------
# Phone & small-screen refinements
--------------------------------------------------------------*/
.footer-brand { gap: 12px; margin-bottom: 20px; }
.footer-brand .logo-mark { height: 48px; }
.footer-brand .logo-text strong { font-size: 26px; }
body.header-hidden .filter-bar { top: 12px; }
.filter-bar { transition: top .4s var(--ease); }

/* Floating call button: bottom-right, appears after scrolling. */
.call-fab { left: auto; right: 20px; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.8); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
.call-fab.active { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 991px) {
  .scroll-top { bottom: 86px; right: 24px; width: 44px; height: 44px; }
}

@media (max-width: 767px) {
  .site-header { padding: 14px 0; }
  .site-header .logo-mark { height: 38px; }
  .logo-text strong { font-size: 21px; }
  .logo-text small { font-size: 10px; }
  .hero-content { padding-top: 96px; }
  .home-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-actions .btn-pill { flex: 1 1 100%; justify-content: center; }
  .hero-counter { display: none; }
  .hero-progress { flex: 1 1 auto; }
  .stats-band { padding-bottom: 56px; }
  .stat { padding: 26px 14px; }
  .section-head { margin-bottom: 36px; }
  .feature-card { padding: 28px 24px 26px; }
  .page-hero { min-height: 52vh; padding: 130px 0 90px; }
  .marquee-section { padding: 72px 0; }
  .ll-band-content { padding: 36px 26px; }
  .cta-card { border-radius: 22px; }
  .cta-card .btn-pill, .footer-cta .btn-pill { flex: 1 1 auto; justify-content: center; }
  .cta-actions, .footer-cta-actions { width: 100%; }
  .about-card { padding: 26px; }
  .pull-quote { font-size: 18px; }
  .site-footer { padding-top: 70px; }
  .footer-cta { padding-bottom: 44px; margin-bottom: 44px; }

  /* Filters: one swipeable row instead of wrapping. */
  .filter-bar {
    flex-wrap: nowrap; justify-content: flex-start;
    width: auto; margin: 0 -12px 32px; border-radius: 999px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar li { flex: none; scroll-snap-align: start; }
}

/*--------------------------------------------------------------
# Original MMI logo (header, footer, home hero)
--------------------------------------------------------------*/
.site-header .logo-img { height: 48px; width: auto; transition: height .4s var(--ease), transform .5s var(--ease); }
.site-header .logo:hover .logo-img { transform: scale(1.03); }
.site-header.scrolled .logo-img { height: 40px; }
.footer-brand { margin-bottom: 22px; }
.footer-brand .footer-logo { height: 58px; width: auto; }
.hero-logo { margin-bottom: 28px; }
.hero-logo img { width: 100%; max-width: 360px; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
@media (max-width: 767px) {
  .site-header .logo-img { height: 38px; }
  .hero-logo { margin-bottom: 20px; }
  .hero-logo img { max-width: 240px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.about-story .lead-text p { font-size: 19px; color: var(--ink); }
.ll-intro strong { color: var(--gold); }

/*--------------------------------------------------------------
# Project locations map
--------------------------------------------------------------*/
.map-section { padding: 72px 0 0; }
.map-section-dark { background: var(--ink); padding: 96px 0; }
.map-section-dark h2 { color: #fff; }
.map-section-dark .section-head p { color: rgba(255, 255, 255, .65); }
.map-frame {
  position: relative; border-radius: 24px; overflow: hidden; isolation: isolate;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #dfe7ec;
}
.map-canvas { height: 560px; width: 100%; z-index: 0; }
.map-canvas.leaflet-container, .map-canvas .leaflet-popup-content { font-family: var(--font); }
.map-canvas .leaflet-tile-pane { filter: saturate(.55) contrast(1.02) brightness(1.03); }
.map-canvas .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .8); }
.map-canvas .leaflet-control-zoom { border: 0; box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; }
.map-canvas .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; color: var(--ink); border: 0; }
.map-canvas .leaflet-control-zoom a:hover { background: var(--brand); color: #fff; }

.map-hint, .map-count {
  position: absolute; z-index: 500; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--ink) 86%, transparent); color: #fff;
  backdrop-filter: blur(8px); pointer-events: none;
}
.map-count { top: 16px; left: 16px; }
.map-count i { color: var(--brand-300); }
.map-hint { bottom: 16px; left: 50%; transform: translateX(-50%); transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; }
.map-frame.is-active .map-hint { opacity: 0; transform: translate(-50%, 10px); }
.hint-touch { display: none; }
@media (hover: none) { .hint-desktop { display: none; } .hint-touch { display: inline; } }

/* Pins */
.map-pin span {
  position: relative; display: block; width: 30px; height: 30px; margin-top: 2px;
  background: var(--brand); border: 3px solid #fff; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); box-shadow: 0 6px 14px color-mix(in srgb, var(--ink) 45%, transparent);
  transition: transform .3s var(--ease), background .3s;
}
.map-pin span::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.map-pin:hover span { background: var(--gold); transform: rotate(-45deg) scale(1.15); }
.map-cluster span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 14px;
  border: 3px solid #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 30%, transparent), 0 8px 18px color-mix(in srgb, var(--ink) 40%, transparent);
  transition: transform .3s var(--ease), background .3s;
}
.map-cluster:hover span { background: var(--brand); transform: scale(1.08); }

/* Popups */
.map-canvas .leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-canvas .leaflet-popup-content { margin: 0; width: auto !important; }
.map-canvas .leaflet-popup-close-button { color: #fff !important; background: color-mix(in srgb, var(--ink) 60%, transparent); border-radius: 50%; width: 26px; height: 26px; top: 8px; right: 8px; font: 18px/24px sans-serif; }
.map-popup { width: 240px; }
.map-popup img { display: block; width: 100%; height: 140px; object-fit: cover; }
.map-popup-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.map-popup-body .project-type { align-self: flex-start; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-600); backdrop-filter: none; }
.map-popup-body strong { font-size: 16px; color: var(--ink); line-height: 1.3; }
.map-popup-body > span:last-child { font-size: 13px; color: var(--muted); line-height: 1.5; }

@media (max-width: 767px) {
  .map-section { padding-top: 48px; }
  .map-section-dark { padding: 72px 0; }
  .map-frame { border-radius: 18px; }
  .map-canvas { height: 440px; }
  .map-hint { font-size: 12px; }
}
