/* ===========================================================
   Bizniaga Technologies — Base Stylesheet
   Shared across every page: reset, header, mega menu, buttons,
   footer, focus states, and the placeholder "stub" page layout.
   Page-specific sections (hero, about, etc.) live in their own
   css/<page>.css file so we're not touching this on every edit.
   =========================================================== */

:root {
  --navy: #12163a;
  --navy-deep: #0a0c24;
  --red: #e42030;
  --red-deep: #b3121f;
  --purple-start: #4b3fb0;
  --purple-end: #241866;
  --ink: #16182b;
  --paper: #ffffff;
  --mist: #f4f5fa;
  --line: #e4e5ef;
  --muted: #6b6e85;
  --radius: 10px;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Animation start positions and decorative overhangs sit outside the
     container; clip them horizontally so they never create a scrollbar. */
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Shared button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-light {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #fff;
  color: var(--navy);
  transition: color 0.4s ease;
}
/* Fill-from-left on hover, matching .connect-btn and .btn-outline */
.btn-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--purple-start);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}
.btn-light:hover { color: #fff; }
.btn-light:hover::before { transform: scaleX(1); }

/* ---------------- Header ---------------- */
.site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px 16px 0;
  transition: padding 0.35s cubic-bezier(.4,0,.2,1);
}
.site-header-wrap.is-scrolled {
  padding: 0;
}

.site-header {
  /* Top-of-page (unscrolled) state: 60% opaque. Turns solid white once scrolled. */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(10, 12, 36, 0.14);
  transition: border-radius 0.35s cubic-bezier(.4,0,.2,1),
              background 0.35s ease,
              box-shadow 0.35s ease;
}
.site-header-wrap.is-scrolled .site-header {
  background: #fff;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(10, 12, 36, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .header-inner { height: 64px; padding: 0 16px; }
}

.menu-toggle {
  justify-self: start;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  position: relative;
  z-index: 210;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-self: center;
}
.brand-logo {
  /* The PNG has generous transparent padding, so the box is taller than
     the visible logo. The small negative margin lets the 80px box sit in
     a 76px bar without stretching it. */
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: -2px 0;
}
@media (max-width: 640px) {
  .brand-logo { height: 56px; margin: 0; }
}

.connect-btn {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease;
}
/* Fill-from-left on hover, matching .btn-outline ("Learn More") */
.connect-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--purple-start);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}
.connect-btn:hover { color: #fff; border-color: var(--purple-start); }
.connect-btn:hover::before { transform: scaleX(1); }
.connect-btn .plus { font-size: 16px; line-height: 1; color: var(--red); transition: color 0.4s ease; }
.connect-btn:hover .plus { color: #fff; }

/* ---------------- Mega menu (rounded pop-out panel) ---------------- */
.megamenu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 36, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}
.megamenu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.megamenu {
  position: fixed;
  top: 100px; /* 16px header offset + 76px bar + 8px gap */
  left: 16px;
  right: 16px;
  z-index: 160;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.22,.9,.32,1), transform 0.28s cubic-bezier(.22,.9,.32,1);
}
.megamenu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.megamenu-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(10, 12, 36, 0.28);
  padding: 34px 44px;
  width: 100%;
  max-width: 1160px;
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (max-width: 640px) {
  .megamenu { top: 88px; }
  .megamenu-panel { max-height: calc(100vh - 106px); }
}
@media (min-width: 720px) {
  .megamenu-panel {
    grid-template-columns: 0.7fr 1fr 1fr;
    gap: 60px;
  }
}

.megamenu-quicklinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.megamenu-quicklinks li { margin-bottom: 4px; }
.megamenu-quicklinks a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  padding: 9px 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.megamenu-quicklinks a:hover { color: var(--red); transform: translateX(3px); }

.megamenu-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  padding: 4px 0 12px;
  text-align: left;
}
.megamenu-heading .chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.megamenu-heading[aria-expanded="true"] .chevron { transform: rotate(-135deg); }

.megamenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.megamenu-list a {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
  transition: color 0.15s ease;
}
.megamenu-list a:hover { color: var(--red); }

/* Mobile: Services/Products collapse behind the heading */
@media (max-width: 719px) {
  .megamenu-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s ease;
  }
  .megamenu-collapse > .megamenu-list {
    overflow: hidden;
    min-height: 0;
  }
  .megamenu-expand.open .megamenu-collapse {
    grid-template-rows: 1fr;
  }
}
@media (min-width: 720px) {
  .megamenu-heading { cursor: default; pointer-events: none; }
  .megamenu-heading .chevron { display: none; }
  .megamenu-collapse { display: block; }
}

/* ---------------- Footer ---------------- */
.site-footer {
  position: relative;
  background: var(--navy-deep);
  color: #d7d8e6;
  border-radius: 28px;
  overflow: hidden;
  margin: 0 16px 16px;
}
/* Small decorative pixel-square cluster near the tagline's top-left,
   echoing the "B" mark's circuit motif. */
.site-footer::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  z-index: 0;
  top: 32px;
  left: 44px;
  box-shadow: 14px -14px 0 #fff;
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding: 40px 0 32px;
}
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.25;
  background: linear-gradient(100deg, var(--red) 0%, #8b5cf6 55%, #4b6bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 18px;
}

.footer-quicklinks { list-style: none; margin: 0; padding: 0; }
.footer-quicklinks li { margin-bottom: 12px; }
.footer-quicklinks a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-quicklinks a:hover { color: var(--red); }
.site-footer a { text-decoration: none; }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 13px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }

/* White rounded notch holding the copyright line */
.footer-bottom {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  border-radius: 28px 28px 0 0;
  padding: 16px 40px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .footer-bottom { padding: 16px 24px 14px; font-size: 13px; }
}

/* ---------------- Stub pages (placeholder pages awaiting their real design) ---------------- */
.stub-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #1c2550, #2a3878);
  color: #fff;
  padding: 60px 24px;
}
.stub-hero .badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}
.stub-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 38px);
  margin: 0 0 12px;
}
.stub-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 26px;
  line-height: 1.6;
}
.stub-hero .btn { background: #fff; color: var(--navy); }

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ================================================================
   MENU v2 — large links + side panel
   Left: big numbered links. "Services" / "Products" link to their pages;
   hovering them (or pressing the round arrow) slides their list into the
   right-hand panel. Phones: lists open in place under the link.
   (Previous menu: Backup/Version 4.)
   ================================================================ */
.megamenu-panel.mm-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(28px, 3vw, 48px) clamp(28px, 3.4vw, 56px);
  border-radius: 24px;
  min-height: clamp(340px, 52vh, 460px);
  background:
    radial-gradient(600px 360px at 100% 0%, rgba(75,63,176,0.08), transparent 60%),
    #fff;
  overflow: hidden;
}

/* Main links */
.mm-links { list-style: none; margin: 0; padding: 0; align-self: center; }
.mm-item { margin: 0; }
.mm-row { display: flex; align-items: center; gap: 14px; }
.mm-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: clamp(6px, 0.9vh, 10px) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2vw + 6px, 36px);
  line-height: 1.15;
  color: var(--navy);
  transition: color 0.25s ease, transform 0.35s cubic-bezier(.22,.9,.32,1);
}
.mm-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  transform: translateY(-0.9em);
  transition: color 0.25s ease;
}
.mm-link::after {           /* underline that grows on hover */
  content: "";
  position: absolute;
  left: 34px;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--purple-start));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.mm-link:hover, .mm-item.is-active .mm-link { color: var(--purple-start); transform: translateX(6px); }
.mm-link:hover .mm-num, .mm-item.is-active .mm-num { color: var(--red); }
.mm-link:hover::after, .mm-item.is-active .mm-link::after { transform: scaleX(1); }

/* Round arrow button next to Services / Products */
.mm-expand {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s ease;
}
.mm-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navy);
  border-top: 2px solid var(--navy);
  transform: rotate(45deg) translate(-1px, 1px);   /* points right */
  transition: transform 0.3s ease, border-color 0.25s ease;
}
.mm-expand:hover, .mm-item.is-active .mm-expand { background: var(--purple-start); border-color: var(--purple-start); }
.mm-expand:hover .mm-chevron, .mm-item.is-active .mm-chevron { border-color: #fff; }

/* Right-hand side: default panel + the Services / Products lists */
.mm-aside,
.mm-sub {
  position: absolute;
  top: clamp(28px, 3vw, 48px);
  bottom: clamp(28px, 3vw, 48px);
  left: calc(50% + clamp(16px, 2vw, 32px));
  right: clamp(28px, 3.4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.22,.9,.32,1), visibility 0s linear 0.45s;
}
.mm-aside {
  padding: clamp(24px, 2.4vw, 40px);
  border-radius: 18px;
  background: linear-gradient(150deg, var(--purple-start), var(--navy));
  color: #fff;
}
.mm-aside-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.75; }
.mm-aside-title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 1.2vw + 8px, 28px); line-height: 1.25; }
.mm-aside-text { margin: 0 0 22px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 380px; }
.mm-aside-cta { align-self: flex-start; }
.mm-panel.has-sub .mm-aside { opacity: 0; transform: translateX(16px); visibility: hidden; }

.mm-sub {
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  padding-left: clamp(20px, 2vw, 32px);
  border-left: 1px solid var(--line);
}
.mm-item.is-active .mm-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.22,.9,.32,1), visibility 0s;
}
.mm-sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mm-sub-eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--purple-start); }
.mm-sub-all { font-size: 13px; font-weight: 700; color: var(--red); white-space: nowrap; }
.mm-sub-all:hover { text-decoration: underline; }
.mm-sub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mm-sub-list a {
  display: block;
  padding: 9px 12px;
  margin-left: -12px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.mm-sub-list a:hover { background: var(--mist); color: var(--purple-start); transform: translateX(4px); }
/* list items slide in one after another */
.mm-sub-list li { opacity: 0; transform: translateX(12px); transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.22,.9,.32,1); }
.mm-item.is-active .mm-sub-list li { opacity: 1; transform: none; transition-delay: calc(var(--k) * 35ms + 80ms); }

/* Links rise in one by one when the menu opens */
.megamenu .mm-item { opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.22,.9,.32,1); }
.megamenu.open .mm-item { opacity: 1; transform: none; }
.megamenu.open .mm-item:nth-child(1) { transition-delay: 0.05s; }
.megamenu.open .mm-item:nth-child(2) { transition-delay: 0.10s; }
.megamenu.open .mm-item:nth-child(3) { transition-delay: 0.15s; }
.megamenu.open .mm-item:nth-child(4) { transition-delay: 0.20s; }
.megamenu.open .mm-item:nth-child(5) { transition-delay: 0.25s; }
.megamenu.open .mm-item:nth-child(6) { transition-delay: 0.30s; }
.megamenu.open .mm-item:nth-child(7) { transition-delay: 0.35s; }   /* Industries added (29 Oct): 7 links */
.megamenu.open .mm-item:nth-child(8) { transition-delay: 0.40s; }

/* Phones / narrow screens: one column, lists open in place (accordion) */
@media (max-width: 760px) {
  .megamenu-panel.mm-panel { grid-template-columns: 1fr; min-height: 0; gap: 0; padding: 24px 24px 28px; }
  .mm-aside { display: none; }
  .mm-link { font-size: 24px; }
  .mm-row { justify-content: space-between; }
  .mm-chevron { transform: rotate(135deg) translate(-1px, 1px); }          /* points down */
  .mm-item.is-active .mm-chevron { transform: rotate(-45deg) translate(-1px, 1px); } /* points up */
  .mm-sub {
    position: static;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0 16px;
    border-left: 2px solid var(--line);
    transition: grid-template-rows 0.35s ease;
  }
  .mm-sub > * { min-height: 0; overflow: hidden; }
  .mm-sub-head { margin: 0; }
  .mm-item.is-active .mm-sub { grid-template-rows: 1fr; margin: 4px 0 10px; }
  .mm-sub { grid-template-rows: 0fr 0fr; }
  .mm-item.is-active .mm-sub { grid-template-rows: auto 1fr; }
  .mm-sub-list a { font-size: 14px; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .megamenu .mm-item, .mm-sub-list li, .mm-sub, .mm-aside { transition: none !important; }
}
@media (max-width: 760px) {
  .mm-sub-list a { margin-left: 0; }
  .mm-sub-eyebrow { display: none; }
  .mm-sub-head { justify-content: flex-start; padding: 2px 10px 4px; }
}


/* ================================================================
   MENU v2.1 — simplified, classic look
   No numbers, no "view all" links, no filled buttons: just clean type,
   a thin chevron and quiet hover states.
   ================================================================ */
.megamenu-panel.mm-panel {
  background: #fff;
  min-height: clamp(320px, 48vh, 420px);
}
.mm-link {
  gap: 0;
  font-weight: 600;
  font-size: clamp(22px, 1.5vw + 8px, 32px);
  letter-spacing: -0.2px;
  padding: clamp(5px, 0.8vh, 9px) 0;
}
.mm-link::after { display: none; }
.mm-link:hover,
.mm-item.is-active .mm-link { color: var(--purple-start); transform: translateX(4px); }
/* Arrow: just a thin chevron, no circle */
.mm-expand,
.mm-expand:hover,
.mm-item.is-active .mm-expand {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 0;
}
.mm-chevron { width: 7px; height: 7px; border-width: 1.5px; border-color: var(--muted); }
.mm-expand:hover .mm-chevron,
.mm-item.is-active .mm-chevron { border-color: var(--purple-start); }
.mm-item.is-active .mm-chevron { transform: rotate(45deg) translate(1px, -1px); }

/* Right side when nothing is open: quiet text, no coloured card */
.mm-aside {
  background: none;
  color: var(--navy);
  padding: 0 0 0 clamp(20px, 2vw, 32px);
  border-left: 1px solid var(--line);
}
.mm-aside-eyebrow { color: var(--muted); opacity: 1; }
.mm-aside-title { color: var(--navy); font-weight: 600; }
.mm-aside-text { color: var(--muted); }
.mm-aside-cta {
  align-self: flex-start;
  font-weight: 600;
  font-size: 15px;
  color: var(--purple-start);
  transition: gap 0.25s ease, opacity 0.2s ease;
}
.mm-aside-cta:hover { opacity: 0.75; }

/* Sub list: plain, evenly spaced text */
.mm-sub { justify-content: center; }
.mm-sub-list { gap: 0; }
.mm-sub-list a {
  font-size: 16px;
  padding: 8px 0;
  margin-left: 0;
  color: var(--muted);
  border-radius: 0;
}
.mm-sub-list a:hover { background: none; color: var(--navy); transform: translateX(4px); }

@media (max-width: 760px) {
  .mm-sub { border-left: 1px solid var(--line); }
  .mm-item.is-active .mm-sub { grid-template-rows: 1fr; }
  .mm-sub-list a { font-size: 15px; padding: 7px 0; }
  .mm-chevron { transform: rotate(135deg) translate(-1px, 1px); }
  .mm-item.is-active .mm-chevron { transform: rotate(-45deg) translate(-1px, 1px); }
}
.mm-aside { border-radius: 0; }

/* ---------------- Menu: right-hand text returns smoothly ----------------
   Before, the text stayed invisible for ~0.5s after leaving Services /
   Products (its "visible" switch was delayed), then popped in. Now it
   becomes visible straight away and fades/slides back in, line by line;
   only the hiding direction keeps a short delay. */
.mm-aside {
  transition: opacity 0.4s ease 0.05s, transform 0.5s cubic-bezier(.22,.9,.32,1) 0.05s, visibility 0s linear 0s;
}
.mm-panel.has-sub .mm-aside {
  transition: opacity 0.2s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.mm-aside > * {
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.22,.9,.32,1);
}
.mm-aside > :nth-child(1) { transition-delay: 0.05s; }
.mm-aside > :nth-child(2) { transition-delay: 0.10s; }
.mm-aside > :nth-child(3) { transition-delay: 0.15s; }
.mm-aside > :nth-child(4) { transition-delay: 0.20s; }
.mm-panel.has-sub .mm-aside > * { opacity: 0; transform: translateX(12px); transition-delay: 0s; }
/* Lists hide quickly too, so the swap back feels immediate */
.mm-sub { transition: opacity 0.2s ease, transform 0.3s ease, visibility 0s linear 0.3s; }


/* ================================================================
   FOOTER v2 — links like the menu + enquiry form + social icons
   (previous footer: Backup/Version 4)
   ================================================================ */
.ft-top {
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(44px, 6vh, 72px) 0 clamp(28px, 4vh, 44px);
}
@media (min-width: 860px) {
  .ft-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
}

/* Links */
.ft-links { list-style: none; margin: 8px 0 0; padding: 0; }
.ft-row { display: flex; align-items: center; gap: 8px; }
.ft-row > a {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  transition: color 0.2s ease, transform 0.25s ease;
}
.ft-row > a:hover, .ft-item.is-open .ft-row > a { color: #b9b2ff; transform: translateX(3px); }
.ft-expand {
  width: 26px; height: 26px; padding: 0;
  border: none; background: transparent;
  display: grid; place-items: center;
}
.ft-chevron {
  width: 7px; height: 7px;
  border-right: 1.5px solid rgba(255,255,255,0.6);
  border-bottom: 1.5px solid rgba(255,255,255,0.6);
  transform: rotate(45deg) translate(-2px, -2px);   /* points down */
  transition: transform 0.3s ease, border-color 0.2s ease;
}
.ft-expand:hover .ft-chevron, .ft-item.is-open .ft-chevron { border-color: #fff; }
.ft-item.is-open .ft-chevron { transform: rotate(-135deg) translate(-2px, -2px); } /* points up */

/* Services / Products list: slides open under the link */
.ft-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.ft-sub > ul {
  min-height: 0;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 1px solid rgba(255,255,255,0.14);
}
.ft-item.is-open .ft-sub { grid-template-rows: 1fr; }
.ft-sub li a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}
.ft-sub li:first-child a { padding-top: 6px; }
.ft-sub li:last-child a { padding-bottom: 10px; }
.ft-sub li a:hover { color: #fff; }

/* Enquiry form */
.ft-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 34px);
}
.ft-form-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; }
.ft-form-note { margin: 0 0 18px; font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.ft-form { display: grid; gap: 12px; }
.ft-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ft-field { display: grid; gap: 6px; }
.ft-field span { font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: rgba(255,255,255,0.7); }
.ft-field input,
.ft-field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ft-field input:focus,
.ft-field textarea:focus { outline: none; border-color: #8f86ff; background: rgba(255,255,255,0.09); }
.ft-field input.is-invalid,
.ft-field textarea.is-invalid { border-color: #ff6b78; }
.ft-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ft-form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.ft-submit[disabled] { opacity: 0.6; cursor: wait; }
.ft-status { margin: 0; font-size: 13px; color: rgba(255,255,255,0.75); }
.ft-status.is-ok { color: #7ee2b0; }
.ft-status.is-error { color: #ff9aa3; }

/* Social icons in the corner */
.ft-social {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 22px;
}
.ft-social-link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.16);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.25s ease;
}
.ft-social-link svg { width: 20px; height: 20px; }
.ft-social-link:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

@media (max-width: 560px) {
  .ft-field-row { grid-template-columns: 1fr; }
  .ft-social { justify-content: flex-start; }
}


/* Social icons now sit at the bottom-left, under the footer links */
.footer-brand .ft-social {
  justify-content: flex-start;
  padding-bottom: 0;
  margin-top: 22px;
}
/* Keep the footer compact so it fits on one screen */
.ft-top { padding: clamp(36px, 5vh, 60px) 0 clamp(24px, 3.5vh, 40px); }
.footer-tagline { font-size: clamp(20px, 1vw + 12px, 24px); margin-bottom: 14px; }
.ft-row > a { padding: 4px 0; }

/* ---------------- Footer lists: pan out sideways (desktop) ----------------
   Instead of opening downwards (which made the footer taller), the
   Services / Products list now slides out to the RIGHT of the links, into
   the empty space between the links and the enquiry form. Phones keep the
   open-in-place behaviour. */
@media (min-width: 860px) {
  .ft-links { position: relative; width: max-content; }
  .ft-sub,
  .ft-item.is-open .ft-sub {
    position: absolute;
    top: 0;
    left: calc(100% + clamp(28px, 3vw, 56px));
    width: clamp(220px, 22vw, 320px);
    display: block;
    grid-template-rows: none;
    pointer-events: none;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-14px);
    transition: opacity 0.3s ease, clip-path 0.45s cubic-bezier(.22,.9,.32,1), transform 0.45s cubic-bezier(.22,.9,.32,1);
  }
  .ft-item.is-open .ft-sub {
    pointer-events: auto;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
  .ft-sub > ul { overflow: visible; padding-left: 18px; }
  .ft-sub li { opacity: 0; transform: translateX(-8px); transition: opacity 0.25s ease, transform 0.35s ease; }
  .ft-item.is-open .ft-sub li { opacity: 1; transform: none; }
  .ft-item.is-open .ft-sub li:nth-child(1) { transition-delay: 0.06s; }
  .ft-item.is-open .ft-sub li:nth-child(2) { transition-delay: 0.10s; }
  .ft-item.is-open .ft-sub li:nth-child(3) { transition-delay: 0.14s; }
  .ft-item.is-open .ft-sub li:nth-child(4) { transition-delay: 0.18s; }
  .ft-item.is-open .ft-sub li:nth-child(5) { transition-delay: 0.22s; }
  .ft-item.is-open .ft-sub li:nth-child(6) { transition-delay: 0.26s; }
  .ft-item.is-open .ft-sub li:nth-child(7) { transition-delay: 0.30s; }
  .ft-item.is-open .ft-sub li:nth-child(8) { transition-delay: 0.34s; }
  /* chevron points right toward the panel */
  .ft-chevron { transform: rotate(-45deg) translate(-1px, -1px); }
  .ft-item.is-open .ft-chevron { transform: rotate(-45deg) translate(1px, 1px); }
}

/* ---------------- Size balance: smaller menu links, larger footer links ---------------- */
.mm-link { font-size: clamp(18px, 0.8vw + 8px, 23px); padding: clamp(4px, 0.55vh, 6px) 0; }
.ft-row > a { font-size: 18px; padding: 5px 0; }
.ft-sub li a { font-size: 14.5px; }
@media (max-width: 760px) { .mm-link { font-size: 20px; } }

/* ---------------- Footer: brand block inset + new tagline style ----------------
   The tagline, links and icons now sit inset from the footer's left edge,
   and the tagline follows the brand artwork: a red → purple → blue gradient
   across the words with small pixel-square accents at the top-left and
   bottom-right corners. */
.site-footer::before { display: none; }              /* old corner squares */
.footer-brand { padding-left: clamp(0px, 4vw, 72px); }
.footer-tagline {
  position: relative;
  display: inline-block;
  margin: 10px 0 26px 22px;
  padding: 4px 26px 6px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 1.4vw + 12px, 38px);
  line-height: 1.12;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #c8102e 0%, #b0165a 30%, #7b3fd6 65%, #4f63ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* pixel-square accents: two offset squares top-left, two bottom-right */
.footer-tagline::before,
.footer-tagline::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
}
.footer-tagline::before { left: -22px; top: -6px; box-shadow: 10px -10px 0 #fff; }
.footer-tagline::after  { right: 0; bottom: -10px; box-shadow: 10px -10px 0 #fff; }
@media (max-width: 860px) { .footer-brand { padding-left: 0; } }
.mm-aside-title { font-size: clamp(17px, 0.6vw + 10px, 21px); }
.mm-aside-text { font-size: 14px; }


/* ---------------- Footer bottom row: social icons + copyright notch on one line ----------------
   Icons line up with the footer links (same container + brand indent),
   the white notch stays centred at the very bottom. */
.ft-bottom-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ft-bottom-row .ft-social {
  grid-column: 1;
  justify-content: flex-start;
  margin: 0;
  padding: 0 0 6px clamp(0px, 4vw, 72px);   /* same indent as .footer-brand */
}
.ft-bottom-row .footer-bottom { grid-column: 2; max-width: none; margin: 0; align-self: end; }
.ft-top { padding-bottom: clamp(14px, 2vh, 24px); }
@media (min-width: 1800px) { .ft-bottom-row { max-width: 1320px; } }
/* Narrow screens: not enough room side by side, so icons sit above the notch */
@media (max-width: 860px) {
  .ft-bottom-row { grid-template-columns: 1fr; justify-items: center; row-gap: 18px; }
  .ft-bottom-row .ft-social { grid-column: 1; padding: 0; justify-content: center; }
  .ft-bottom-row .footer-bottom { grid-column: 1; max-width: calc(100% - 24px); }
}

/* Smaller copyright notch; icons lifted off the footer's bottom edge */
.ft-bottom-row .footer-bottom { padding: 11px 30px 10px; font-size: 12px; border-radius: 22px 22px 0 0; }
.ft-bottom-row .ft-social { align-self: center; padding-bottom: clamp(18px, 2.6vh, 28px); }
.ft-bottom-row .ft-social-link { width: 38px; height: 38px; }
.ft-bottom-row .ft-social-link svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .ft-bottom-row .ft-social { padding-bottom: 0; } }
.ft-top { padding-bottom: clamp(4px, 1vh, 12px); }


/* ---------------- Footer on phones / small tablets ----------------
   Links centred and given proper tap targets; the Services / Products
   arrows become clear round buttons, and their lists open centred. */
@media (max-width: 860px) {
  .footer-brand { text-align: center; }
  .footer-tagline { margin-left: 0; padding-right: 0; }
  .footer-tagline::before { left: -18px; }
  .ft-links { margin: 6px auto 0; width: 100%; max-width: 360px; }
  .ft-item + .ft-item { border-top: 1px solid rgba(255,255,255,0.08); }
  .ft-row { justify-content: center; gap: 10px; min-height: 52px; }
  .ft-row > a { font-size: 19px; padding: 12px 6px; }
  .ft-row > a:hover, .ft-item.is-open .ft-row > a { transform: none; }
  .ft-has-sub .ft-row { padding-left: 46px; }           /* balances the arrow button so the word stays centred */
  .ft-expand {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .ft-expand:active, .ft-item.is-open .ft-expand { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.5); }
  .ft-chevron { width: 9px; height: 9px; border-width: 2px; border-color: rgba(255,255,255,0.85); }
  .ft-sub > ul { padding: 0 0 8px; border-left: none; }
  .ft-sub li a { font-size: 15px; padding: 9px 0; text-align: center; }
  .ft-bottom-row .ft-social { justify-content: center; }
}


/* ---------------- Header over a dark banner (Home, Services, Products, Contact) ----------------
   At the top of these pages the bar is clear: white menu icon, outlined
   Connect button, and the logo shrunk to just its "B", held in a white notch
   hanging from the top edge. Scroll down and the bar turns solid white while
   the B slides back to the left and the full "BizniagaTech" name opens out.
   The logo image keeps its own colours; the "B only" view is a crop of it
   (in the logo PNG the B spans 11%–28% of the width, its centre at 19.3%). */
.brand-notch { display: none; }
.header-on-dark:not(.is-scrolled) { padding: 0 16px; }
.header-on-dark:not(.is-scrolled) .site-header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
}
/* faint shade at the very top so the white icons read on bright photos */
.header-on-dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(6, 8, 30, 0.32), rgba(6, 8, 30, 0));
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.header-on-dark.is-scrolled::before { opacity: 0; }
.header-on-dark:not(.is-scrolled) .menu-toggle span { background: #fff; }
.header-on-dark:not(.is-scrolled) .connect-btn { color: #fff; border-color: rgba(255,255,255,0.55); }
.header-on-dark:not(.is-scrolled) .connect-btn:hover { border-color: var(--purple-start); }

/* The notch */
.header-on-dark .brand { position: relative; isolation: isolate; align-self: stretch; }
.header-on-dark .brand-notch {
  display: block;
  position: absolute;
  z-index: -1;
  top: 0; bottom: 0;
  left: 50%;
  width: 104px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 12px 26px rgba(6, 8, 30, 0.22);
  transition: width 0.55s cubic-bezier(.65,0,.35,1), box-shadow 0.35s ease, opacity 0.35s ease;
}
/* curved inside corners where the notch meets the top edge */
.header-on-dark .brand-notch::before,
.header-on-dark .brand-notch::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px; height: 18px;
  transition: opacity 0.3s ease;
}
.header-on-dark .brand-notch::before { left: -18px; background: radial-gradient(circle at 0 100%, transparent 17.5px, #fff 18px); }
.header-on-dark .brand-notch::after  { right: -18px; background: radial-gradient(circle at 100% 100%, transparent 17.5px, #fff 18px); }
.header-on-dark.is-scrolled .brand-notch { width: 100%; box-shadow: none; }
.header-on-dark.is-scrolled .brand-notch::before,
.header-on-dark.is-scrolled .brand-notch::after { opacity: 0; }

/* B only ↔ full logo */
.header-on-dark .brand-logo {
  transition: clip-path 0.6s cubic-bezier(.65,0,.35,1), transform 0.6s cubic-bezier(.65,0,.35,1);
  clip-path: inset(0 0 0 0);
}
.header-on-dark:not(.is-scrolled) .brand-logo {
  clip-path: inset(0 70% 0 9%);
  transform: translateX(30.7%);
}
@media (max-width: 640px) {
  .header-on-dark .brand-notch { width: 78px; }
  .header-on-dark.is-scrolled .brand-notch { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .header-on-dark .brand-logo, .header-on-dark .brand-notch { transition: none; }
}

/* ---------------- WHITE "B", NO NOTCH (21 Oct) ----------------
   Over the dark banner the logo shows as a plain white "B" with no notch
   behind it; on scroll it turns back to its real colours as it expands into
   the full logo on the white bar.
   TO GO BACK to the white-notch version: delete this whole block
   (or restore css/base.css from Backup/Version 10). */
.header-on-dark .brand-notch { display: none; }
.header-on-dark .brand-logo {
  transition: clip-path 0.6s cubic-bezier(.65,0,.35,1), transform 0.6s cubic-bezier(.65,0,.35,1), filter 0.45s ease;
}
.header-on-dark:not(.is-scrolled) .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(6, 8, 30, 0.35));
}
/* ---------------- end WHITE "B", NO NOTCH ---------------- */


/* ---------------- FULL WHITE LOGO OVER THE BANNER (27 Oct) ----------------
   Over the dark banner the whole logo now shows (in white) instead of just
   the "B"; it turns back to its normal colours on scroll as before.
   TO GO BACK to the "B only" version: delete this block. */
.header-on-dark:not(.is-scrolled) .brand-logo { clip-path: none; transform: none; }
/* ---------------- end FULL WHITE LOGO ---------------- */

/* ---------------- BIGGER SLIDER DOTS, ALL PAGES (27 Oct) ----------------
   The progress dots under the sliders (homepage About summary, Why Choose Us,
   Services / Products decks) were small and fiddly. Each dot is now a taller
   clickable strip (30px high, easy to hit) with a bigger visible pill drawn
   inside it, a clearer hover and a longer active pill. */
button.about-dot,
button.deck-dot,
button.ws-dot {
  width: 14px;
  height: 30px;
  padding: 0;
  background: transparent;
  overflow: visible;
  cursor: pointer;
}
button.about-dot::before,
button.deck-dot::before,
button.ws-dot::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 12px;
  margin-top: -6px;
  border-radius: 999px;
  background: rgba(18, 22, 58, 0.22);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
button.about-dot::after,
button.deck-dot::after,
button.ws-dot::after { content: none; }
button.about-dot:hover::before,
button.deck-dot:hover::before,
button.ws-dot:hover::before { background: rgba(75, 63, 176, 0.45); box-shadow: 0 0 0 4px rgba(75, 63, 176, 0.12); }
button.about-dot.is-active,
button.deck-dot.is-active,
button.ws-dot.is-active { width: 56px; background: transparent; }
button.about-dot.is-active::before,
button.deck-dot.is-active::before,
button.ws-dot.is-active::before { background: rgba(75, 63, 176, 0.22); }
.about-dot-fill,
.deck-dot-fill,
.ws-dot-fill {
  top: 50% !important;
  bottom: auto !important;
  height: 12px;
  margin-top: -6px;
  z-index: 1;
}
.about-dots, .deck-dots, .ws-dots { gap: 12px; }
button.about-dot:hover, button.deck-dot:hover, button.ws-dot:hover { background: transparent; }
button.about-dot:focus-visible,
button.deck-dot:focus-visible,
button.ws-dot:focus-visible { outline: 2px solid var(--purple-start); outline-offset: 2px; border-radius: 999px; }
/* ---------------- end BIGGER SLIDER DOTS ---------------- */


/* ================================================================
   FOOTER: COMPANY LOCATION + CONTACT, CONTACT-PAGE MAP (27 Oct)
   .ft-side   = right column (enquiry box + contact line underneath)
   .ft-office = Contact page only: Google map + office details in place
                of the enquiry box (that page has its own form).
   Previous footer: Backup/Version 17.
   ================================================================ */
.ft-side { display: grid; gap: clamp(12px, 2vh, 18px); align-content: start; min-width: 0; }
.ft-contact {
  list-style: none;
  margin: 0;
  padding: 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}
.ft-contact li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.ft-contact-addr { flex-basis: 100%; }
.ft-contact svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #a9a2ff; }
.ft-contact a { color: inherit; transition: color 0.2s ease; }
.ft-contact a:hover { color: #fff; }

/* Contact page: map + office details */
.ft-office {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  padding: clamp(14px, 1.6vw, 20px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}
.ft-map {
  position: relative;
  align-self: stretch;
  min-height: clamp(220px, 36vh, 330px);
  border-radius: 14px;
  overflow: hidden;
  background: #1a1d3a;
}
.ft-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* the map only takes the mouse after a click, so scrolling over it moves the page */
.ft-map-guard {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: end center;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ft-map-guard span {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(11, 14, 46, 0.85);
  color: #fff;
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ft-map:hover .ft-map-guard span,
.ft-map-guard:focus-visible span { opacity: 1; transform: none; }
.ft-map.is-active .ft-map-guard { display: none; }
.ft-office-info .ft-form-title { margin-bottom: 4px; }
.ft-office-info .ft-form-title span { margin-left: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.55); }
.ft-office-company { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
.ft-office .ft-contact { flex-direction: column; flex-wrap: nowrap; gap: 10px; padding: 0; margin-bottom: 16px; font-size: 13.5px; }
.ft-office-link { display: inline-flex; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: #a9a2ff; }
.ft-office-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) and (min-width: 861px) {
  .ft-office { grid-template-columns: 1fr; }
  .ft-map { min-height: 200px; }
}
@media (max-width: 860px) {
  .ft-contact { justify-content: center; text-align: left; }
  .ft-office { grid-template-columns: 1fr; text-align: left; }
  .ft-map { min-height: 240px; }
}


/* ================================================================
   FOOTER v2 (27 Oct): contact details beside the enquiry box,
   Contact-page map as a wide rectangle with the details inside it
   ================================================================ */
.ft-info { min-width: 0; transition: opacity 0.3s ease; }
.ft-info-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.ft-info .ft-contact { flex-direction: column; flex-wrap: nowrap; gap: 14px; padding: 0; font-size: 13.5px; }

/* wide screens: links | contact details | enquiry box */
@media (min-width: 1101px) {
  .ft-top:has(.ft-info) {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px) minmax(0, 1.05fr);
    column-gap: clamp(28px, 2.6vw, 48px);
  }
  .ft-info { align-self: end; padding-bottom: 8px; }
  /* a Services / Products list pans out over this spot, so the details step aside */
  .ft-top:has(.ft-item.is-open) .ft-info { opacity: 0; pointer-events: none; }
}
/* small laptops / tablets: details sit under the enquiry box */
@media (min-width: 861px) and (max-width: 1100px) {
  .ft-top:has(.ft-info) .footer-brand { grid-row: 1 / span 2; }
  .ft-top:has(.ft-info) .ft-side { grid-column: 2; grid-row: 1; }
  .ft-top:has(.ft-info) .ft-info { grid-column: 2; grid-row: 2; }
  .ft-info .ft-contact { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
}
/* phones: under the form, centred */
@media (max-width: 860px) {
  .ft-info { order: 3; text-align: center; }
  .ft-info .ft-contact { align-items: center; }
  .ft-info .ft-contact li { justify-content: center; text-align: center; }
  .ft-info .ft-contact svg { display: none; }
}

/* Contact page: one wide map with the office details in a navy box inside it */
.ft-top:has(.ft-office) { align-items: center; }
@media (min-width: 861px) {
  .ft-top:has(.ft-office) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); }
}
.ft-office { display: block; position: relative; padding: 0; background: none; border: 0; border-radius: 22px; }
.ft-office .ft-map { min-height: clamp(300px, 46vh, 420px); border-radius: 22px; border: 1px solid rgba(255,255,255,0.1); }
.ft-office-info {
  position: absolute;
  z-index: 2;
  top: 14px; right: 14px; bottom: 14px;
  width: min(46%, 340px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.4vh, 26px) clamp(18px, 1.6vw, 26px);
  background: rgba(11, 13, 38, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.ft-office .ft-contact { font-size: 13px; gap: 10px; margin-bottom: 14px; }
/* the "click to explore" hint sits under the map part, not the box */
.ft-office .ft-map-guard { padding-right: min(46%, 340px); }
@media (max-width: 860px) {
  .ft-office .ft-map { min-height: 260px; }
  .ft-office-info { position: relative; inset: auto; width: auto; margin-top: 12px; box-shadow: none; }
  .ft-office .ft-map-guard { padding-right: 0; }
}

/* Contact map (27 Oct): slimmer details box so the red pin (map centre) stays clear */
.ft-office-info { width: min(36%, 300px); padding: clamp(14px, 2vh, 20px) clamp(14px, 1.2vw, 20px); }
.ft-office-info .ft-form-title { font-size: 17px; }
.ft-office-info .ft-form-title span { display: block; margin: 2px 0 0; }
.ft-office-company { font-size: 13px; margin-bottom: 10px; }
.ft-office .ft-contact { font-size: 12.5px; gap: 8px; margin-bottom: 10px; }
.ft-office .ft-contact svg { width: 14px; height: 14px; }
.ft-office-link { font-size: 12.5px; }
.ft-office .ft-map-guard { padding-right: min(36%, 300px); }
@media (max-width: 860px) {
  .ft-office-info { width: auto; }
  .ft-office .ft-map-guard { padding-right: 0; }
}

/* Footer (27 Oct): office details line up with the enquiry title; social icons under them */
.ft-info .ft-social { margin-top: clamp(18px, 3vh, 28px); padding: 0; justify-content: flex-start; }
.ft-info .ft-social-link { width: 38px; height: 38px; }
.ft-info .ft-social-link svg { width: 18px; height: 18px; }
@media (min-width: 1101px) {
  .ft-info { align-self: start; padding: calc(clamp(22px, 2.4vw, 34px) + 6px) 0 0; }
}
@media (max-width: 860px) {
  .ft-info .ft-social { justify-content: center; }
}


/* ================================================================
   FOOTER MAP (28 Oct): a small Google map at the top of the
   "Main Office" column, with the address, phone, email and social
   icons underneath. Contact page keeps its own large map.
   ================================================================ */
.ft-map--mini {
  min-height: 0;
  height: clamp(130px, 21vh, 190px);
  margin: 0 0 clamp(14px, 2.2vh, 20px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ft-map--mini iframe { filter: grayscale(0.35) brightness(0.95); transition: filter 0.4s ease; }
.ft-map--mini:hover iframe, .ft-map--mini.is-active iframe { filter: none; }
.ft-map--mini .ft-map-guard { padding-bottom: 8px; }
.ft-map--mini .ft-map-guard span { font-size: 11.5px; padding: 5px 10px; }
.ft-info .ft-info-title { margin-bottom: 12px; }
.ft-info .ft-contact { gap: 10px; }
.ft-info .ft-social { margin-top: clamp(14px, 2.2vh, 22px); }
@media (min-width: 1101px) {
  .ft-top:has(.ft-info) { grid-template-columns: minmax(0, 1fr) minmax(230px, 290px) minmax(0, 1.05fr); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .ft-info .ft-map--mini { max-width: 420px; }
}
@media (max-width: 860px) {
  .ft-info .ft-map--mini { max-width: 420px; margin-left: auto; margin-right: auto; height: 180px; }
}
@media (min-width: 1537px) {
  .ft-top:has(.ft-info) { grid-template-columns: minmax(0, 1fr) calc(290 * var(--u)) minmax(0, 1.05fr); }
  .ft-map--mini { height: clamp(130px, 21vh, calc(190 * var(--u))); }
}


/* ---------------- LARGER HEADER LOGO (28 Oct, review) ----------------
   The logo file has lots of empty space around the artwork, so the box is
   made taller and pulled in with negative margins: the visible logo grows
   by about a third while the bar keeps its height.
   TO GO BACK: delete this block (and the matching line in css/wide.css). */
.brand-logo { height: 108px; margin: -16px 0; }
@media (max-width: 640px) {
  .brand-logo { height: 68px; margin: -2px 0; }
}
/* ---------------- end LARGER HEADER LOGO ---------------- */

/* ---------------- PAGE EXPAND (29 Oct) ----------------
   Homepage "Learn More": the picture grows to fill the screen and darkens,
   then the page opens and fades in from the same dark colour (base.js). */
.page-expand {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.page-expand::after { content: ""; position: absolute; inset: 0; background: var(--dark, #0b0a24); opacity: 0; }
.page-expand.is-growing { transition: clip-path 0.75s cubic-bezier(.65,.05,.25,1); }
.page-expand.is-growing::after { opacity: 1; transition: opacity 0.55s ease 0.2s; }
html.bz-expand-in body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0b0a24;
  pointer-events: none;
  opacity: 1;
}
html.bz-expand-in.bz-expand-out body::after { opacity: 0; transition: opacity 0.75s ease; }

/* ---------------- CHEVRON ICON (29 Oct) ----------------
   All direction arrows are this one SVG chevron (">") instead of text arrows,
   so they sit exactly centred in buttons and circles. Left / down = rotated. */
.ico-chev {
  display: inline-block;
  flex-shrink: 0;
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.14em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.ico-chev--left { transform: rotate(180deg); }
.ico-chev--down { transform: rotate(90deg); }
/* inside round arrow buttons: a fixed, centred size */
.ind-arrow .ico-chev, .pf-arrow .ico-chev, .edb-ai-arrow .ico-chev { display: block; width: 20px; height: 20px; }
/* buttons with a chevron after the label: keep it vertically centred and nudge it on hover */
.btn .ico-chev, .btn-outline .ico-chev, .job-apply .ico-chev, .mm-aside-cta .ico-chev, .deck-card-more .ico-chev, .pf-detail-more .ico-chev, .cr-link .ico-chev, .ct-tile-link .ico-chev { margin-left: 4px; }
.btn:hover .ico-chev:not(.ico-chev--left):not(.ico-chev--down),
.btn-outline:hover .ico-chev,
.job-apply:hover .ico-chev,
.mm-aside-cta:hover .ico-chev,
.deck-card-more:hover .ico-chev,
.pf-detail-more:hover .ico-chev { transform: translateX(3px); }
.pf-back .ico-chev { margin: 0; }


/* =====================================================================
   GET IN TOUCH + SLIM FOOTER (5 Nov)
   The old all-in-one footer (links + map + details + form) is split in two:
   a light "Get in touch" section (form + details) and a slim dark footer
   (logo, tagline, four link columns, copyright). Previous: Backup/Version 28.
   ===================================================================== */

/* ---- Get in touch ---- */
.git,
.git.sv-scene,
.git.ct-scene {
  position: relative;
  min-height: 0;
  padding: calc(var(--nav-space, 76px) + clamp(16px, 4vh, 48px)) 0 clamp(48px, 8vh, 88px);   /* clears the fixed header */
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(107, 79, 224, 0.10), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(228, 32, 48, 0.07), transparent 70%),
    var(--mist);
  overflow: hidden;
}
/* faint dot grid so the backdrop isn't flat */
.git::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 22, 58, 0.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 75%);
          mask-image: linear-gradient(110deg, transparent 35%, #000 75%);
  pointer-events: none;
}
.git-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.git-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-start);
}
.git-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 1.6vw + 14px, 46px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.git-text { margin: 0 0 clamp(20px, 3.5vh, 32px); max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.6; }

.git-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 2vh, 18px); }
.git-list li { display: flex; align-items: flex-start; gap: 14px; }
.git-ico {
  flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--purple-start);
  box-shadow: 0 6px 18px rgba(18, 22, 58, 0.08);
}
.git-ico svg { width: 20px; height: 20px; }
.git-list div { display: grid; gap: 2px; padding-top: 1px; }
.git-label { font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); }
.git-list a { color: var(--navy); font-weight: 600; font-size: 15.5px; line-height: 1.45; text-decoration: none; max-width: 380px; transition: color 0.2s ease; }
.git-list a:hover { color: var(--red); }

.git .ft-social { display: flex; gap: 10px; margin: clamp(20px, 3.5vh, 30px) 0 0; justify-content: flex-start; }
.git .ft-social-link {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--navy);
  border: 1px solid var(--line);
  background: #fff;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.git .ft-social-link svg { width: 19px; height: 19px; }
.git .ft-social-link:hover { color: var(--purple-start); border-color: var(--purple-start); background: #fff; transform: translateY(-2px); }

/* form card */
.git-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 24px 60px rgba(18, 22, 58, 0.10);
  border: 1px solid rgba(18, 22, 58, 0.05);
}
.git-card-title { margin: 0 0 clamp(14px, 2.4vh, 22px); font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--navy); }
.git .ft-form { display: grid; gap: 14px; }
.git .ft-field { display: grid; gap: 7px; }
.git .ft-field span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.3px; color: var(--muted); }
.git .ft-field input,
.git .ft-field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.git .ft-field textarea { min-height: 104px; }
.git .ft-field input:focus,
.git .ft-field textarea:focus { outline: none; background: #fff; border-color: #8f86ff; box-shadow: 0 0 0 4px rgba(107, 79, 224, 0.12); }
.git .ft-field input.is-invalid,
.git .ft-field textarea.is-invalid { border-color: #e42030; background: #fff; }
.git .ft-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  border: 0; border-radius: 999px;
  padding: 13px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.git .ft-submit:hover { background: var(--purple-start); transform: translateY(-1px); }
.git .ft-submit .ico-chev { width: 16px; height: 16px; }
.git .ft-status { color: var(--muted); }
.git .ft-status.is-ok { color: #138a52; }
.git .ft-status.is-error { color: #c8102e; }

/* Contact page: map card instead of the form */
.git-card--map { padding: 10px; }
.git-card--map .ft-map { position: relative; height: clamp(260px, 44vh, 400px); border-radius: 16px; overflow: hidden; margin: 0; }
.git-card--map .ft-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.git-maplink {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 12px 10px 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--navy); text-decoration: none;
}
.git-maplink:hover { color: var(--red); }
.git-maplink .ico-chev { width: 15px; height: 15px; }

/* rise-in, one after another */
/* 5 Nov: left column slides in from the left one item at a time, the form card from the right */
.git-rv { opacity: 0; transform: translateX(-40px); transition: opacity 0.55s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.git-card.git-rv { transform: translateX(56px); }
.git:not(.is-in) .git-rv { transition-delay: 0s; transition-duration: 0.2s; }
.git.is-in .git-rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .git-rv { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .git-inner { grid-template-columns: 1fr; }
  .git-title br { display: none; }
}
@media (max-width: 560px) {
  .git .ft-field-row { grid-template-columns: 1fr; }
}

/* ---- Slim footer ---- */
.ft-slim { position: relative; z-index: 1; margin-top: -28px; }   /* overlaps the section above so its rounded top corners sit on the light background */
.git, .git.sv-scene, .git.ct-scene { padding-bottom: calc(clamp(32px, 6vh, 64px) + 28px); }
.fs-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.6fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 6.5vh, 64px) 0 clamp(28px, 4.5vh, 44px);
}
.fs-logo { display: inline-block; }
/* the PNG has wide transparent padding: crop it with negative margins so the visible logo lines up */
.fs-logo img { display: block; height: 88px; width: auto; margin: -25px 0 -29px -21px; }
.ft-slim .footer-tagline.fs-tagline {
  display: block;
  margin: 20px 0 0;
  padding: 0;
  font-size: clamp(18px, 0.5vw + 12px, 22px);
  font-weight: 600;
  line-height: 1.3;
}
.ft-slim .footer-tagline.fs-tagline::before,
.ft-slim .footer-tagline.fs-tagline::after { display: none; }
.fs-cols {
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 1.15fr 0.85fr;
  gap: clamp(20px, 2.5vw, 40px);
}
.fs-col h4 { margin: 0 0 14px; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.fs-col h4 a { color: #fff; }
.fs-col h4 a:hover { color: #b9b2ff; }
.fs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fs-col li a {
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
}
.fs-col li a:hover { color: #fff; }
.fs-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.fs-bottom p { margin: 0; }

@media (max-width: 1000px) {
  .fs-top { grid-template-columns: 1fr; }
  .fs-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 560px) {
  .fs-col li a { font-size: 14.5px; display: inline-block; padding: 3px 0; }
  .fs-bottom { flex-direction: column; }
}

/* 5 Nov: on desktop the Get in touch section scales with the window height
   so it fits in one screen (taller text on some systems made it overflow) */
@media (min-width: 861px) {
  .git, .git.sv-scene { padding-top: calc(var(--nav-space, 92px) + clamp(8px, 2.5vh, 40px)); padding-bottom: calc(clamp(20px, 4vh, 56px) + 28px); }
  .git-title { font-size: clamp(28px, min(1.6vw + 14px, 4.6vh + 8px), 46px); margin-bottom: clamp(6px, 1.4vh, 14px); }
  .git-eyebrow { margin-bottom: clamp(6px, 1.2vh, 12px); }
  .git-text { margin-bottom: clamp(14px, 3vh, 32px); }
  .git-list { gap: clamp(8px, 1.6vh, 18px); }
  .git-ico { width: clamp(34px, 5.4vh, 42px); height: clamp(34px, 5.4vh, 42px); }
  .git .ft-social { margin-top: clamp(14px, 2.6vh, 30px); }
  .git-card { padding: clamp(20px, 3.6vh, 40px) clamp(22px, 2.6vw, 40px); }
  .git-card-title { margin-bottom: clamp(10px, 2vh, 22px); }
  .git .ft-form { gap: clamp(8px, 1.6vh, 14px); }
  .git .ft-field input, .git .ft-field textarea { padding: clamp(8px, 1.4vh, 12px) 14px; }
  .git .ft-field textarea { min-height: clamp(64px, 12vh, 120px); height: clamp(64px, 12vh, 120px); }
}

/* 5 Nov: logo shown all white; copyright back in the white notch */
.fs-logo img { filter: brightness(0) invert(1); }
.ft-slim .ft-bottom-row { padding-top: 4px; }
.ft-slim .footer-bottom { color: var(--ink); background: #fff; }


/* =====================================================================
   MEGA MENU — LIVE PREVIEW (5 Nov)
   Links on the left, a photo card right beside them that changes with the
   hovered link (photo, short line, sub-list, link). Phones keep the
   accordion. Previous menu: Backup/Version 29.
   ===================================================================== */
@media (min-width: 761px) {
  .megamenu-panel.mm-panel {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: stretch;
    min-height: 0;
    padding: clamp(18px, 2.4vh, 28px);
    padding-left: clamp(32px, 3.4vw, 56px);
  }
  .mm-links { padding: clamp(8px, 2vh, 24px) 0; min-width: 220px; }
  .mm-aside, .mm-sub { display: none !important; }      /* replaced by the preview card */
  .mm-expand { pointer-events: none; }                   /* hover does it now; the chevron just hints there's a list */
  .mm-item.is-active .mm-chevron { transform: rotate(45deg) translate(-1px, 1px); }
}

.mm-preview {
  position: relative;
  min-height: clamp(330px, 56vh, 470px);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, #2a2f7a, var(--navy-deep));
  isolation: isolate;
}
@media (max-width: 760px) { .mm-preview { display: none; } }

.mm-pv {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.mm-pv.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s ease, visibility 0s; z-index: 1; }
.mm-pv-img {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.mm-pv.is-on .mm-pv-img { transform: scale(1); }
/* shade so the white text always reads, darkest bottom-left */
.mm-pv::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10,12,36,0.92) 0%, rgba(10,12,36,0.55) 45%, rgba(10,12,36,0.15) 100%),
    linear-gradient(90deg, rgba(10,12,36,0.45), transparent 70%);
}
.mm-pv-body {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  padding: clamp(22px, 3.2vh, 40px) clamp(24px, 2.6vw, 40px);
  color: #fff;
}
.mm-pv-body > * { opacity: 0; transform: translateY(12px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.22,.9,.32,1); }
.mm-pv.is-on .mm-pv-body > * { opacity: 1; transform: none; }
.mm-pv.is-on .mm-pv-body > :nth-child(1) { transition-delay: 0.05s; }
.mm-pv.is-on .mm-pv-body > :nth-child(2) { transition-delay: 0.10s; }
.mm-pv.is-on .mm-pv-body > :nth-child(3) { transition-delay: 0.15s; }
.mm-pv.is-on .mm-pv-body > :nth-child(4) { transition-delay: 0.20s; }

.mm-pv-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #c9c3ff; }
.mm-pv-title { margin: 0 0 10px; max-width: 520px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, min(1.1vw + 10px, 3.6vh + 4px), 30px); line-height: 1.2; }
.mm-pv-text { margin: 0 0 18px; max-width: 460px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.82); }
.mm-pv-list {
  list-style: none;
  margin: 6px 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 2px clamp(20px, 2.4vw, 40px);
}
.mm-pv-list a {
  display: inline-block;
  padding: clamp(3px, 0.6vh, 6px) 0;
  font-size: 14.5px;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease, transform 0.2s ease;
}
.mm-pv-list a:hover { color: #fff; transform: translateX(3px); }
.mm-pv-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.mm-pv-cta:hover { background: rgba(255,255,255,0.26); }
.mm-pv-cta .ico-chev { width: 14px; height: 14px; transition: transform 0.25s ease; }
.mm-pv-cta:hover .ico-chev { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .mm-pv, .mm-pv-img, .mm-pv-body > * { transition: none !important; }
}


/* =====================================================================
   ANNOUNCEMENT (5 Nov): menu item + event pop-up
   ===================================================================== */
.mm-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px 2px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  vertical-align: 0.35em;
}
.mm-announce .mm-link { align-items: center; }
/* no announcement: greyed out, not clickable */
.mm-announce.is-empty .mm-link { color: #b9bccb; cursor: default; }
.mm-announce.is-empty .mm-link:hover { color: #b9bccb; transform: none; }
.mm-announce.is-empty .mm-badge { display: none; }

.ann {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 16px;
  visibility: hidden;
  pointer-events: none;
}
.ann.is-open { visibility: visible; pointer-events: auto; }
.ann-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 36, 0.62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ann.is-open .ann-backdrop { opacity: 1; }
.ann-box {
  position: relative;
  width: min(560px, 100%);
  height: min(88vh, 1176px);
  height: min(88svh, 1176px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.ann.is-open .ann-box { opacity: 1; transform: none; }
.ann-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.ann-art { position: relative; }
.ann-art img { display: block; width: 100%; height: auto; }
.ann-art img[hidden], .ann-hotspot[hidden] { display: none; }
.ann-pages { min-height: 60%; }
.ann-page { position: relative; }
.ann-page canvas { display: block; width: 100%; height: auto; }
.ann-pdf-link { position: absolute; display: block; border-radius: 6px; }
.ann-pdf-link:hover,
.ann-pdf-link:focus-visible { background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 3px rgba(107, 79, 224, 0.55); }
.ann-hotspot {
  position: absolute;
  border-radius: 8px;
  outline-offset: 3px;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.ann-hotspot:hover,
.ann-hotspot:focus-visible { background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 3px rgba(107, 79, 224, 0.55), 0 8px 24px rgba(0, 32, 102, 0.35); }
.ann-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 12, 36, 0.78);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ann-close svg { width: 18px; height: 18px; }
.ann-close:hover { background: var(--red); transform: rotate(90deg); }
.ann-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 12, 36, 0.78);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  pointer-events: none;
  transition: opacity 0.3s ease;
  animation: annHint 1.6s ease-in-out infinite;
}
.ann-hint.is-gone { opacity: 0; animation: none; }
@keyframes annHint { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }
html.ann-open, html.ann-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .ann-box, .ann-backdrop { transition: none; }
  .ann-hint { animation: none; }
}


/* ---------------- Slim footer on phones: centred links + dropdowns (5 Nov) ---------------- */
.fs-toggle { display: none; }
@media (max-width: 760px) {
  .fs-top { gap: 22px; padding-top: 40px; }
  .fs-brand { text-align: center; }
  .fs-logo { margin: 0 auto; }
  .fs-cols { display: flex; flex-direction: column; gap: 0; max-width: 360px; width: 100%; margin: 0 auto; }
  .fs-col { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  /* Company: its four links become top-level rows */
  .fs-col--plain { border-top: 0; }
  .fs-col.fs-col--plain h4 { display: none; }
  .fs-col--plain ul { gap: 0; }
  .fs-col--plain li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .fs-col--plain li a,
  .fs-col h4 a {
    display: inline-block;
    padding: 13px 6px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: #fff;
  }
  .fs-col h4 { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding-left: 46px; }  /* padding balances the button so the word stays centred */
  .fs-toggle {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .fs-chev {
    width: 9px; height: 9px;
    border-right: 2px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
    transform: translateY(-2px) rotate(45deg);          /* points down */
    transition: transform 0.3s ease;
  }
  .fs-col.is-open .fs-toggle { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
  .fs-col.is-open .fs-chev { transform: translateY(2px) rotate(-135deg); }  /* points up */
  .fs-col:not(.fs-col--plain) ul {
    max-height: 0;
    overflow: hidden;
    gap: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }
  .fs-col.is-open ul { max-height: 420px; padding-bottom: 10px; }
  .fs-col:not(.fs-col--plain) li a { display: inline-block; padding: 9px 0; font-size: 15px; }
  .ft-slim .ft-bottom-row { margin-top: 18px; }
}
