/* ==========================================================================
   MaximiseTeck — Universal Navigation & Footer Styles
   Applies identically across /, /shopify, /social-media, and /marketing
   ========================================================================== */

:root {
  --mt-cream: #FAF8F2;
  --mt-cream-2: #F2EFE4;
  --mt-forest: #0E3A2A;
  --mt-forest-deep: #061F16;
  --mt-lime: #A3F050;
  --mt-lime-hover: #b2f866;
  --mt-ink: #0F1410;
  --mt-mute: #5C6760;
  --mt-line: rgba(15, 20, 16, 0.08);
  --mt-card: #FFFFFF;
  --mt-shadow: 0 20px 50px rgba(15, 20, 16, 0.12), 0 4px 12px rgba(15, 20, 16, 0.04);
}

html, body {
  overflow-x: clip;
}

/* Base Nav (Sticky Header) */
#mt-universal-nav {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  width: 100% !important;
}
.mt-nav {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  background: rgba(250, 248, 242, 0.96) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid var(--mt-line) !important;
  width: 100% !important;
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}
.mt-nav * { box-sizing: border-box; }

.mt-nav-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.mt-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--mt-ink);
  flex-shrink: 0;
}
.mt-nav-logo img {
  height: 30px;
  width: auto;
  display: block;
}
.mt-logo-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mt-forest);
  border-left: 1px solid rgba(14, 58, 42, 0.2);
  padding-left: 10px;
  line-height: 1.15;
}

/* Nav Menu Items (Desktop) */
.mt-nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.6vw, 6px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mt-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px clamp(10px, 0.8vw, 14px);
  border-radius: 999px;
  font-size: clamp(13px, 0.95vw, 14px);
  font-weight: 600;
  color: var(--mt-ink);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.mt-nav-link:hover {
  background: var(--mt-cream-2);
  color: var(--mt-forest);
}
.mt-nav-link.is-active {
  color: var(--mt-forest);
  background: rgba(14, 58, 42, 0.08);
}
.mt-caret {
  opacity: 0.6;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.mt-dd-wrap.is-open .mt-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega Menu Dropdown Wrapper */
.mt-dd-wrap {
  position: relative;
}
.mt-mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 780px;
  max-width: calc(100vw - 32px);
  background: var(--mt-card);
  border: 1px solid var(--mt-line);
  border-radius: 22px;
  box-shadow: var(--mt-shadow);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 10000;
}
.mt-dd-wrap:first-child .mt-mega-menu {
  left: 0;
  transform: translate(0, 8px);
}
.mt-dd-wrap:first-child.is-open .mt-mega-menu {
  transform: translate(0, 0);
}
.mt-dd-wrap:nth-child(3) .mt-mega-menu {
  left: auto;
  right: -80px;
  transform: translate(0, 8px);
}
.mt-dd-wrap:nth-child(3).is-open .mt-mega-menu {
  transform: translate(0, 0);
}

.mt-mega-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}
.mt-dd-wrap.is-open .mt-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Mega Menu Columns */
.mt-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.mt-mega-col {
  display: flex;
  flex-direction: column;
}
.mt-mega-heading {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mt-forest);
  margin: 0 0 10px 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--mt-line);
}
.mt-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mt-mega-col a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s ease;
  align-items: center;
}
.mt-mega-col a:hover {
  background: var(--mt-cream-2);
}
.mt-item-title {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--mt-ink);
  grid-column: 1;
  grid-row: 1;
}
.mt-item-desc {
  font-size: 11.5px;
  color: var(--mt-mute);
  grid-column: 1;
  grid-row: 2;
  margin-top: 2px;
  line-height: 1.35;
}
.mt-item-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mt-cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mt-forest);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
}
.mt-mega-col a:hover .mt-item-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--mt-lime);
}

/* Nav Actions (CTA Button & Burger) */
.mt-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.mt-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--mt-forest);
  color: var(--mt-cream);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--mt-forest-deep);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.mt-btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--mt-forest-deep);
}

/* Mobile Hamburger */
.mt-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mt-cream-2);
  border: 1px solid var(--mt-line);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 10001;
  transition: background 0.15s;
}
.mt-burger:hover {
  background: rgba(14, 58, 42, 0.08);
}
.mt-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mt-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.mt-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mt-burger.is-open span:nth-child(2) { opacity: 0; }
.mt-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mt-mobile-drawer {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  height: calc(100vh - 76px);
  background: rgba(250, 248, 242, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9998;
  padding: 20px 24px 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}
.mt-mobile-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
body.mt-nav-locked {
  overflow: hidden;
}

.mt-m-section {
  border-bottom: 1px solid var(--mt-line);
  padding: 6px 0;
}
.mt-m-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--mt-ink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.mt-m-panel {
  display: none;
  padding: 6px 0 16px 10px;
}
.mt-m-section.is-open .mt-m-panel { display: block; }
.mt-m-section.is-open .mt-m-chev { transform: rotate(180deg); }
.mt-m-chev { transition: transform 0.2s; }
.mt-m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--mt-ink);
  text-decoration: none;
}
.mt-m-subheading {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mt-forest);
  margin: 14px 0 6px;
}
.mt-m-item {
  display: block;
  padding: 8px 0;
  text-decoration: none;
}
.mt-m-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--mt-ink);
}
.mt-m-desc {
  font-size: 12px;
  color: var(--mt-mute);
  margin-top: 2px;
  line-height: 1.35;
}

/* ==========================================================================
   Universal Footer Styles
   ========================================================================== */
.mt-footer {
  background: var(--mt-ink);
  color: var(--mt-cream);
  padding: 64px 0 32px;
  width: 100%;
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}
.mt-footer * { box-sizing: border-box; }

.mt-footer-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Main 5-Column Grid */
.mt-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.mt-footer-brand img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
  display: block;
}
.mt-footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 248, 242, 0.65);
  margin: 0 0 24px;
  max-width: 340px;
}
.mt-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--mt-lime);
  color: var(--mt-forest);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 0 #6FB22A;
  transition: transform 0.15s;
}
.mt-footer-cta:hover { transform: translateY(-1px); }

.mt-footer-col h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.mt-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mt-footer-col a {
  font-size: 13.5px;
  color: rgba(250, 248, 242, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.mt-footer-col a:hover {
  color: var(--mt-lime);
}

/* Footer Bottom Bar */
.mt-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: rgba(250, 248, 242, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.mt-footer-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mt-footer-meta-left a {
  color: rgba(250, 248, 242, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}
.mt-footer-meta-left a:hover {
  color: var(--mt-lime);
}
.mt-footer-sep {
  opacity: 0.4;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1180px) {
  .mt-nav-menu { display: none; }
  .mt-burger { display: flex; }
  .mt-mobile-drawer { display: block; }
  .mt-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .mt-footer-brand {
    grid-column: 1 / -1;
    max-width: 560px;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .mt-nav-container { height: 68px; padding: 0 20px; }
  .mt-mobile-drawer { top: 68px; height: calc(100vh - 68px); padding: 16px 20px 40px; }
  .mt-nav-logo img { height: 26px; }
  .mt-logo-tag { font-size: 8.5px; padding-left: 8px; }
  .mt-footer { padding: 48px 0 28px; }
  .mt-footer-container { padding: 0 20px; }
  .mt-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 18px;
  }
  .mt-footer-brand {
    grid-column: 1 / -1;
  }
  .mt-footer-col h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .mt-footer-col ul {
    gap: 8px;
  }
  .mt-footer-col a {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 560px) {
  .mt-nav-container { padding: 0 16px; }
  .mt-nav-actions .mt-btn-cta { display: none; }
  .mt-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
  }
  .mt-footer-brand {
    grid-column: 1 / -1;
  }
  .mt-footer-col h4 {
    font-size: 14.5px;
    margin-bottom: 10px;
  }
  .mt-footer-col a {
    font-size: 12.5px;
  }
  .mt-footer-meta { flex-direction: column; gap: 12px; text-align: center; }
}

/* ==========================================================================
   Unified Marquee & Brand Logos (Universal Across All Studios)
   ========================================================================== */
.marquee-section,
.marquee-band,
.logos-marquee-section {
  background: #FFFFFF !important;
  padding: 24px 0 !important;
  overflow: hidden !important;
  border-top: 1px solid rgba(15, 20, 16, 0.08) !important;
  border-bottom: 1px solid rgba(15, 20, 16, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.marquee-section .marquee,
.marquee-band .marquee,
.logos-marquee-section .marquee,
.marquee {
  display: flex !important;
  gap: 52px !important;
  align-items: center !important;
  width: max-content !important;
  animation: mtUniversalMarqueeScroll 38s linear infinite !important;
}

.marquee-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 90px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.marquee-item img {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

@keyframes mtUniversalMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .marquee {
    gap: 36px !important;
  }
  .marquee-item {
    height: 70px !important;
  }
  .marquee-item img {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
  }
}

/* ==========================================================================
   Notion Face Avatars (Universal Across All Testimonial Blocks)
   ========================================================================== */
.av {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F4F1EA !important;
  border: 1.5px solid rgba(15, 20, 16, 0.12) !important;
}

.av img,
img.av {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 420px) {
  .mt-logo-tag { display: none; }
}

