/* Font Awesome: the site shows about six icons, so a self-hosted subset (2 KB) replaces the
   154 KB solid font that used to come from a CDN. Declared after style_v33.min.css, so it wins. */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../fonts/fa-solid-subset.woff2") format("woff2");
}

/* =========================================================================
   Mazel Group — homepage art direction ("Ground and sky")
   Dark cinematic sections for the big moments, warm paper sections for
   reading, Mazel lime only as a signal. Scoped to body.mz so the other
   pages keep their current styles until they are redesigned.
   ========================================================================= */

body.mz {
  /* Colour */
  --mz-night: #0b100d;          /* green-tinted near-black */
  --mz-ink: #131a16;            /* raised dark panel */
  --mz-paper: #f3f1ea;          /* warm editorial paper */
  --mz-paper-2: #e9e6dc;
  --mz-text: #141a16;
  --mz-text-2: #4b534d;
  --mz-text-3: #747b75;
  --mz-on-dark: #f1efe7;
  --mz-on-dark-2: rgba(241, 239, 231, 0.68);
  --mz-on-dark-3: rgba(241, 239, 231, 0.46);
  --mz-line: rgba(20, 26, 22, 0.14);
  --mz-line-dark: rgba(241, 239, 231, 0.14);
  --mz-lime: #95c11f;
  --mz-lime-bright: #b7dd45;    /* lime that holds contrast on near-black */
  --mz-lime-ink: #4f6d0b;       /* lime that holds contrast on paper */

  /* Type */
  --mz-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mz-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mz-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --mz-gutter: clamp(20px, 4vw, 56px);
  --mz-max: 1320px;
  --mz-section: clamp(88px, 11vw, 168px);
  --mz-ease: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: var(--mz-body);
  background: var(--mz-night);
  color: var(--mz-text);
  -webkit-font-smoothing: antialiased;
}
/* Dark theme: the paper sections become ink, everything else is already dark */
[data-theme="dark"] body.mz {
  --mz-paper: #121815;
  --mz-paper-2: #19201c;
  --mz-text: #eeece4;
  --mz-text-2: rgba(238, 236, 228, 0.72);
  --mz-text-3: rgba(238, 236, 228, 0.52);
  --mz-line: rgba(238, 236, 228, 0.14);
  --mz-lime-ink: #b7dd45;
}

body.mz main { display: block; }
/* The shared stylesheet caps every section child at 1200px; full-bleed sections need it gone */
body.mz section > * { max-width: none; margin-left: 0; margin-right: 0; }
body.mz main > section { padding-left: 0; padding-right: 0; }
body.mz .mz-wrap,
body.mz .mz-hero-copy { max-width: calc(var(--mz-max) + 2 * var(--mz-gutter)); margin-left: auto; margin-right: auto; }
body.mz .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mz-wrap {
  width: 100%;
  max-width: calc(var(--mz-max) + 2 * var(--mz-gutter));
  margin: 0 auto;
  padding: 0 var(--mz-gutter);
  box-sizing: border-box;
}
.mz-paper { background: var(--mz-paper); color: var(--mz-text); }
.mz-dark { background: var(--mz-night); color: var(--mz-on-dark); }

/* ---- Shared type ---- */
.mz-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font: 600 0.76rem/1 var(--mz-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mz-text-2);
}
.mz-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--mz-lime);
}
.mz-kicker-light { color: var(--mz-on-dark-2); }

.mz-display {
  margin: 0;
  font: 700 clamp(2.5rem, 5.6vw, 5.8rem)/0.98 var(--mz-display);
  letter-spacing: -0.035em;
  color: var(--mz-on-dark);
  text-wrap: balance;
}
.mz-display-ink { color: var(--mz-text); }
/* One editorial serif accent per headline */
body.mz h1 em,
body.mz h2 em {
  font-family: var(--mz-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--mz-lime-bright);
}
body.mz .mz-paper h2 em { color: var(--mz-lime-ink); }

.mz-arrow-link,
.mz-link-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.95rem/1 var(--mz-body);
  color: var(--mz-on-dark);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(241, 239, 231, 0.35);
  transition: border-color 0.4s var(--mz-ease), color 0.4s var(--mz-ease), gap 0.4s var(--mz-ease);
}
.mz-arrow-link:hover,
.mz-link-light:hover,
.mz-arrow-link:focus-visible,
.mz-link-light:focus-visible { color: var(--mz-lime-bright); border-color: var(--mz-lime-bright); gap: 14px; }

body.mz .ed-btn-primary {
  font-family: var(--mz-body);
  border-radius: 2px;
  padding: 18px 28px;
  letter-spacing: 0.06em;
}

/* =========================================================================
   HEADER — transparent over the hero, paper once you scroll (desktop)
   ========================================================================= */
body.mz #header.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  transition: background-color 0.45s var(--mz-ease), border-color 0.45s var(--mz-ease), box-shadow 0.45s var(--mz-ease);
}
body.mz #header .header-container { max-width: calc(var(--mz-max) + 2 * var(--mz-gutter)); padding: 0 var(--mz-gutter); }
body.mz #header .logo img {
  /* The PNG is a square with wide transparent padding: size the box, pull the padding in */
  height: 116px;
  width: auto;
  transform: none;
  margin: -16px 4px -16px -18px;
}
body.mz #header .navmenu ul li a {
  font: 500 0.92rem/1 var(--mz-body);
  color: rgba(241, 239, 231, 0.88);
  transition: color 0.3s ease;
}
body.mz #header .navmenu ul li a:hover { color: #fff; }
body.mz #header .navmenu a[aria-current="page"] { color: #fff; font-weight: 600; }
body.mz #header .btn-getstarted {
  font: 600 0.88rem/1 var(--mz-body);
  padding: 13px 20px;
  border-radius: 2px;
  color: #fff;
  background: rgba(241, 239, 231, 0.1);
  border: 1px solid rgba(241, 239, 231, 0.4);
  box-shadow: none;
}
body.mz #header .btn-getstarted:hover { background: var(--mz-lime); border-color: var(--mz-lime); color: var(--mz-night); }
body.mz #header .mobile-nav-toggle { color: var(--mz-on-dark); }

body.mz #header.is-solid {
  background: rgba(243, 241, 234, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
          backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(20, 26, 22, 0.1);
}
[data-theme="dark"] body.mz #header.is-solid { background: rgba(11, 16, 13, 0.92); border-bottom-color: rgba(241, 239, 231, 0.1); }
body.mz #header.is-solid .navmenu ul li a,
body.mz #header.is-solid .navmenu a[aria-current="page"] { color: var(--mz-text); }
body.mz #header.is-solid .btn-getstarted { background: var(--mz-lime); border-color: var(--mz-lime); color: var(--mz-night); }
body.mz #header.is-solid .mobile-nav-toggle { color: var(--mz-text); }

/* =========================================================================
   1. HERO — a survey drone over an abstract terrain.
   The nine companies are waypoints; hero-survey.js draws the terrain, flies the
   drone and fills the panel. Without JS the waypoints are a plain list of links.
   ========================================================================= */
body.mz .mz-hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  height: 100svh;
  min-height: 700px;
  max-height: 1100px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 62% 38% at 68% 24%, rgba(149, 193, 31, 0.09), transparent 72%),
    radial-gradient(ellipse 80% 40% at 60% 0%, rgba(150, 180, 160, 0.08), transparent 70%),
    var(--mz-night);
}
body.mz .mz-hero > .sv-stage {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
}
.sv-terrain {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}
/* The terrain dims under the headline and the panel so both read cleanly */
.sv-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 16, 13, 0.94) 0%, rgba(11, 16, 13, 0.72) 24%, rgba(11, 16, 13, 0) 48%),
    linear-gradient(to top, rgba(11, 16, 13, 0.9) 0%, rgba(11, 16, 13, 0.4) 22%, rgba(11, 16, 13, 0) 40%);
}

/* ---- Drone: the existing cut-out and propellers, lit for a dark sky ---- */
.sv-drone {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 60;
  width: 200px;
  aspect-ratio: 390 / 136;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(-400px, -400px, 0);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(241, 239, 231, 0.35)) brightness(1.18);
}
.mz-survey .drone-prop::before { background: radial-gradient(closest-side, rgba(220, 232, 214, 0.12), rgba(220, 232, 214, 0.06) 78%, transparent); }
.mz-survey .drone-prop::after {
  background: conic-gradient(
    transparent 0 4%, rgba(226, 236, 220, 0.5) 9%, rgba(226, 236, 220, 0.12) 20%, transparent 30% 54%,
    rgba(226, 236, 220, 0.5) 59%, rgba(226, 236, 220, 0.12) 70%, transparent 80%
  );
}

/* ---- Waypoints ---- */
.sv-points { margin: 0; padding: 0; list-style: none; }

/* Without JS: a quiet list of the nine companies on the right */
.mz-survey:not(.is-live) .sv-points {
  position: absolute;
  top: 132px;
  right: var(--mz-gutter);
  z-index: 70;
  display: grid;
  gap: 10px;
}
.mz-survey:not(.is-live) .sv-point { display: flex; gap: 12px; color: var(--mz-on-dark-2); font: 500 0.95rem/1.3 var(--mz-body); text-decoration: none; }
.mz-survey:not(.is-live) .sv-pin { display: none; }

.mz-survey.is-live .sv-point {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 66px;
  margin: -62px 0 0 -24px;      /* the pin's centre sits on the ground point */
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0);
  color: var(--mz-on-dark);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
/* Stalk from the ground up to the number */
.mz-survey.is-live .sv-point::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 1px;
  height: 31px;
  background: linear-gradient(to top, rgba(241, 239, 231, 0.6), rgba(241, 239, 231, 0.08));
  transition: background 0.35s var(--mz-ease);
}
.sv-pin {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10px;
  height: 10px;
  margin: 0 0 -1px -5px;
  border: 1.5px solid rgba(241, 239, 231, 0.75);
  border-radius: 50%;
  background: var(--mz-night);
  box-sizing: border-box;
  transition: background 0.35s var(--mz-ease), border-color 0.35s var(--mz-ease), box-shadow 0.35s var(--mz-ease);
}
.sv-num {
  position: absolute;
  left: 50%;
  top: 0;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 24px;
  padding: 0 8px;
  box-sizing: border-box;
  transform: translateX(-50%);
  border: 1px solid rgba(241, 239, 231, 0.28);
  border-radius: 999px;
  background: rgba(11, 16, 13, 0.78);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  font: 600 0.72rem/1 var(--mz-body);
  letter-spacing: 0.06em;
  color: var(--mz-on-dark);
  transition: background 0.35s var(--mz-ease), border-color 0.35s var(--mz-ease), color 0.35s var(--mz-ease);
}
.mz-survey.is-live .sv-name {
  position: absolute;
  top: 4px;
  left: calc(50% + 24px);
  padding: 1px 0;
  white-space: nowrap;
  font: 600 0.92rem/1 var(--mz-display);
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity 0.3s var(--mz-ease), transform 0.45s var(--mz-ease);
}
.mz-survey.is-live .sv-point.label-left .sv-name { left: auto; right: calc(50% + 24px); transform: translateX(6px); }
.mz-survey.is-live .sv-point:hover .sv-name,
.mz-survey.is-live .sv-point:focus-visible .sv-name,
.mz-survey.is-live .sv-point.is-active .sv-name { opacity: 1; transform: none; }
.mz-survey.is-live .sv-point:hover .sv-num { border-color: var(--mz-lime-bright); }
.mz-survey.is-live .sv-point.is-active .sv-num { background: var(--mz-lime); border-color: var(--mz-lime); color: var(--mz-night); }
.mz-survey.is-live .sv-point.is-active .sv-pin { border-color: var(--mz-lime-bright); background: var(--mz-lime); box-shadow: 0 0 0 5px rgba(149, 193, 31, 0.22); }
.mz-survey.is-live .sv-point.is-active::before { background: linear-gradient(to top, var(--mz-lime-bright), rgba(183, 221, 69, 0.08)); }
body.mz .mz-survey .sv-point:focus-visible { outline: none; }
body.mz .mz-survey .sv-point:focus-visible .sv-num { outline: 2px solid var(--mz-lime-bright); outline-offset: 3px; }

/* ---- Panel: the company the drone is over ---- */
.sv-card {
  position: absolute;
  right: max(var(--mz-gutter), calc((100% - var(--mz-max)) / 2));
  bottom: clamp(40px, 6.2vw, 96px);
  z-index: 70;
  width: min(360px, 28vw);
  color: var(--mz-on-dark);
}
.sv-card[hidden] { display: none; }
.sv-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
  font: 600 0.72rem/1 var(--mz-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mz-on-dark-3);
}
.sv-card-mode { display: inline-flex; align-items: center; gap: 8px; color: var(--mz-lime-bright); }
.sv-card-mode::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mz-lime-bright);
  animation: sv-blink 1.6s ease-in-out infinite;
}
.sv-card-count { color: var(--mz-on-dark-2); }
.sv-card-progress { display: block; height: 1px; margin: 0 0 22px; overflow: hidden; background: var(--mz-line-dark); }
.sv-card-progress > span { display: block; height: 100%; background: var(--mz-lime-bright); transform: scaleX(0); transform-origin: left; }
.sv-card-name {
  margin: 0 0 10px;
  font: 700 clamp(1.5rem, 2.1vw, 2.1rem)/1.04 var(--mz-display);
  letter-spacing: -0.03em;
  color: #fff;
}
.sv-card-desc {
  margin: 0 0 20px;
  font: 400 0.95rem/1.55 var(--mz-body);
  color: var(--mz-on-dark-2);
}
.sv-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--mz-lime);
  font: 600 0.92rem/1 var(--mz-body);
  color: var(--mz-on-dark);
  text-decoration: none;
  transition: color 0.3s var(--mz-ease), gap 0.3s var(--mz-ease);
}
.sv-card-link:hover { color: var(--mz-lime-bright); gap: 12px; }
/* Instruction, gone once someone has steered the drone */
.sv-card::after {
  content: "Hover a waypoint to fly the drone there";
  display: block;
  margin-top: 22px;
  font: 500 0.78rem/1.4 var(--mz-body);
  color: var(--mz-on-dark-3);
  transition: opacity 0.4s var(--mz-ease);
}
.mz-survey.is-touch .sv-card::after { content: "Tap a waypoint to fly the drone there"; }
.mz-survey.is-user .sv-card::after { opacity: 0; }
.sv-card.is-swapping .sv-card-name,
.sv-card.is-swapping .sv-card-desc,
.sv-card.is-swapping .sv-card-link { animation: sv-swap 0.55s var(--mz-ease) both; }
.sv-card.is-swapping .sv-card-desc { animation-delay: 0.05s; }
.sv-card.is-swapping .sv-card-link { animation-delay: 0.1s; }
@keyframes sv-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sv-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---- Copy: headline bottom-left ---- */
.mz-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(40px, 6.2vw, 96px);
  z-index: 70;
  width: 100%;
  max-width: calc(var(--mz-max) + 2 * var(--mz-gutter));
  margin: 0 auto;
  padding: 0 var(--mz-gutter);
  box-sizing: border-box;
  pointer-events: none;         /* the waypoints stay reachable around it */
}
body.mz .mz-hero .hero-glass-card {
  max-width: min(760px, 58%);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  pointer-events: auto;
}
.mz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font: 600 0.78rem/1 var(--mz-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mz-on-dark-2);
}
.mz-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mz-lime); box-shadow: 0 0 0 4px rgba(149, 193, 31, 0.2); }
body.mz .mz-hero .ed-hero-title {
  margin: 0;
  max-width: none;
  font: 700 clamp(3rem, 6vw, 6.4rem)/0.92 var(--mz-display);
  letter-spacing: -0.045em;
  color: #fff;
  text-shadow: none;
}
body.mz .mz-hero .ed-hero-title em { letter-spacing: -0.02em; }
.mz-hero-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: clamp(24px, 2.6vw, 38px);
  padding-top: clamp(20px, 2.2vw, 28px);
  border-top: 1px solid var(--mz-line-dark);
}
body.mz .mz-hero .ed-hero-desc {
  margin: 0;
  max-width: 46ch;
  font: 400 clamp(1rem, 1.1vw, 1.12rem)/1.6 var(--mz-body);
  color: var(--mz-on-dark-2);
  text-shadow: none;
}
body.mz .mz-hero .ed-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

@media (prefers-reduced-motion: reduce) {
  .sv-card-mode::before { animation: none; }
  .sv-card.is-swapping .sv-card-name,
  .sv-card.is-swapping .sv-card-desc,
  .sv-card.is-swapping .sv-card-link { animation: none; }
}

/* =========================================================================
   2. STATEMENT
   ========================================================================= */
.mz-statement { padding: var(--mz-section) 0 calc(var(--mz-section) * 0.8); }
.mz-statement .mz-kicker { color: var(--mz-text-2); }
.mz-statement-text {
  margin: 0;
  max-width: 21ch;
  font: 600 clamp(2.1rem, 4.7vw, 4.9rem)/1.02 var(--mz-display);
  letter-spacing: -0.035em;
  color: var(--mz-text);
  text-wrap: balance;
}
.mz-statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 120px);
  margin-top: clamp(48px, 6vw, 96px);
  padding-top: clamp(32px, 3vw, 44px);
  border-top: 1px solid var(--mz-line);
}
.mz-lede {
  margin: 0;
  max-width: 54ch;
  font: 400 clamp(1.05rem, 1.25vw, 1.25rem)/1.7 var(--mz-body);
  color: var(--mz-text-2);
}
.mz-facts { margin: 0; display: grid; gap: 0; }
.mz-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mz-line);
}
.mz-facts > div:first-child { padding-top: 0; }
.mz-facts dt { font: 500 0.82rem/1.3 var(--mz-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mz-text-3); }
.mz-facts dd { margin: 0; font: 600 clamp(1.1rem, 1.6vw, 1.45rem)/1.2 var(--mz-display); letter-spacing: -0.015em; color: var(--mz-text); text-align: right; }

/* =========================================================================
   3. PRODUCT MOMENT
   ========================================================================= */
.mz-products { background: var(--mz-night); }
.mz-products { padding-top: clamp(72px, 8vw, 120px); }
.mz-products-figure { position: relative; margin: 0; display: flex; flex-direction: column-reverse; }
.mz-products-figure img { display: block; width: 100%; height: auto; max-width: none; }
.mz-products-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 16, 13, 1) 0%, rgba(11, 16, 13, 0) 14%),
              linear-gradient(to top, rgba(11, 16, 13, 0.7) 0%, rgba(11, 16, 13, 0) 16%);
  pointer-events: none;
}
.mz-products-cap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--mz-max) + 2 * var(--mz-gutter));
  margin: 0 auto clamp(32px, 4vw, 56px);
  padding: 0 var(--mz-gutter);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px 40px;
}
.mz-products-cap .mz-kicker { grid-column: 1 / -1; }
.mz-products-note { max-width: 34ch; text-align: right; }
.mz-products-cap .mz-kicker { margin: 0 0 4px; }
.mz-products-title { font: 700 clamp(1.9rem, 3.8vw, 3.9rem)/1 var(--mz-display); letter-spacing: -0.035em; color: #fff; }
.mz-products-note { font: 400 0.98rem/1.5 var(--mz-body); color: var(--mz-on-dark-2); }

/* =========================================================================
   4. THE GROUP
   ========================================================================= */
.mz-group { padding: var(--mz-section) 0 0; }
.mz-group-head { margin-bottom: clamp(48px, 6vw, 88px); }

/* Sector index: every business one click away */
.mz-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mz-line-dark); }
.mz-index li { border-bottom: 1px solid var(--mz-line-dark); }
.mz-index a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) 24px;
  align-items: center;
  gap: 20px;
  padding: clamp(18px, 2vw, 26px) 0;
  color: var(--mz-on-dark);
  text-decoration: none;
  transition: color 0.35s var(--mz-ease), padding 0.45s var(--mz-ease);
}
.mz-index a::after { content: "\2193"; font-size: 1.1rem; color: var(--mz-on-dark-3); transition: transform 0.4s var(--mz-ease), color 0.3s ease; }
.mz-index-n { font: 500 0.85rem/1 var(--mz-body); letter-spacing: 0.1em; color: var(--mz-on-dark-3); }
.mz-index-s { font: 700 clamp(1.7rem, 3.2vw, 3rem)/1 var(--mz-display); letter-spacing: -0.035em; }
.mz-index-c { font: 400 clamp(0.95rem, 1.1vw, 1.08rem)/1.45 var(--mz-body); color: var(--mz-on-dark-2); }
@media (hover: hover) {
  .mz-index a:hover { color: var(--mz-lime-bright); padding-left: 12px; }
  .mz-index a:hover::after { transform: translateY(4px); color: var(--mz-lime-bright); }
}

/* Chapters */
.mz-chapter { position: relative; }
.mz-chapter + .mz-chapter { margin-top: clamp(96px, 11vw, 168px); }
.mz-index + .mz-chapter, .mz-group > .mz-wrap + .mz-chapter { margin-top: clamp(96px, 11vw, 168px); }
.mz-chapter-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font: 600 0.76rem/1.3 var(--mz-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mz-on-dark-2);
}
.mz-chapter-tag span {
  font: 400 1.5rem/1 var(--mz-serif);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mz-lime-bright);
}
.mz-chapter-title {
  margin: 0 0 20px;
  font: 700 clamp(2.4rem, 5vw, 5.2rem)/0.98 var(--mz-display);
  letter-spacing: -0.04em;
  color: var(--mz-on-dark);
  text-wrap: balance;
}
.mz-chapter-text {
  margin: 0 0 26px;
  max-width: 46ch;
  font: 400 clamp(1rem, 1.15vw, 1.15rem)/1.65 var(--mz-body);
  color: var(--mz-on-dark-2);
}
.mz-chapter-head { margin-bottom: clamp(36px, 4vw, 56px); }
.mz-chapter-head .mz-chapter-title { margin: 0; max-width: 18ch; }

/* 01 Build — full bleed */
.mz-bleed { position: relative; margin: 0; height: clamp(560px, 86vh, 920px); overflow: hidden; }
.mz-bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.mz-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 16, 13, 0.95) 0%, rgba(11, 16, 13, 0.6) 34%, rgba(11, 16, 13, 0.05) 66%),
              linear-gradient(90deg, rgba(11, 16, 13, 0.55) 0%, rgba(11, 16, 13, 0) 55%);
}
.mz-bleed-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: clamp(40px, 6vw, 88px);
  max-width: calc(var(--mz-max) + 2 * var(--mz-gutter));
  margin: 0 auto;
  padding: 0 var(--mz-gutter);
  box-sizing: border-box;
}
.mz-bleed-copy .mz-chapter-title { font-size: clamp(2.8rem, 7.4vw, 7.8rem); }

.mz-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: clamp(40px, 4vw, 56px) 0 22px; }
.mz-strip-head .mz-kicker { margin: 0; }
.mz-strip-note { margin: 0; font: 400 0.92rem/1.4 var(--mz-body); color: var(--mz-on-dark-3); }
.mz-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.mz-strip a { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mz-ink); }
.mz-strip img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.1s var(--mz-ease), opacity 0.4s ease; opacity: 0.86; }
@media (hover: hover) {
  .mz-strip a:hover img { transform: scale(1.05); opacity: 1; }
}

/* 02 Power — split */
.mz-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.mz-split-media { margin: 0; background: #eceae4; overflow: hidden; aspect-ratio: 4 / 5; }
.mz-split-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* 03 Grow — wide panorama */
.mz-wide { position: relative; margin: 0; height: clamp(460px, 70vh, 780px); overflow: hidden; }
.mz-wide > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; }
.mz-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 16, 13, 0.88) 0%, rgba(11, 16, 13, 0.55) 32%, rgba(11, 16, 13, 0) 62%);
}
.mz-wide-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  max-width: calc(var(--mz-max) + 2 * var(--mz-gutter));
  margin: 0 auto;
  padding: 0 var(--mz-gutter);
  box-sizing: border-box;
}
.mz-wide-copy > * { max-width: 520px; }

/* 04 Host / 05 Reach — edge-to-edge tiles, text on the photograph */
.mz-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.mz-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mz-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mz-tile a {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--mz-on-dark);
  text-decoration: none;
  background: var(--mz-ink);
}
.mz-tiles-3 .mz-tile a { aspect-ratio: 4 / 5.2; }
.mz-tiles-2 .mz-tile a { aspect-ratio: 16 / 12; }
.mz-tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.4s var(--mz-ease); }
.mz-tile a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 16, 13, 0.94) 0%, rgba(11, 16, 13, 0.55) 34%, rgba(11, 16, 13, 0.05) 62%);
  transition: opacity 0.6s var(--mz-ease);
}
.mz-tile-copy {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 2.4vw, 40px);
  right: clamp(20px, 2.4vw, 40px);
  bottom: clamp(22px, 2.6vw, 40px);
  display: grid;
  gap: 10px;
}
.mz-tile-cat { font: 600 0.74rem/1 var(--mz-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mz-lime-bright); }
.mz-tile-name { font: 700 clamp(1.6rem, 2.4vw, 2.5rem)/1 var(--mz-display); letter-spacing: -0.035em; }
.mz-tile-text { max-width: 40ch; font: 400 0.98rem/1.55 var(--mz-body); color: var(--mz-on-dark-2); }
.mz-tile-go { margin-top: 6px; font: 600 0.88rem/1 var(--mz-body); color: var(--mz-on-dark); transition: color 0.3s ease, transform 0.45s var(--mz-ease); }
@media (hover: hover) {
  .mz-tile a:hover img { transform: scale(1.045); }
  .mz-tile a:hover .mz-tile-go { color: var(--mz-lime-bright); transform: translateX(4px); }
}

/* 06 Give — quiet panel */
.mz-give { background: var(--mz-ink); padding: clamp(72px, 8vw, 128px) 0; }
.mz-group > .mz-give { margin-bottom: 0; }
.mz-give-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.mz-give-media { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.mz-give-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* =========================================================================
   5. PRINCIPLES
   ========================================================================= */
.mz-principles { padding: var(--mz-section) 0; }
.mz-principles-head { margin-bottom: clamp(52px, 6vw, 96px); }
.mz-principles-head .mz-display { max-width: 15ch; }
.mz-principles-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.mz-principles-list li { padding-top: 26px; border-top: 1px solid var(--mz-text); }
.mz-p-n { display: block; margin-bottom: clamp(36px, 4vw, 64px); font: 400 clamp(2.6rem, 3.6vw, 3.6rem)/1 var(--mz-serif); font-style: italic; color: var(--mz-lime-ink); }
.mz-principles-list h3 { margin: 0 0 14px; font: 700 clamp(1.25rem, 1.6vw, 1.55rem)/1.15 var(--mz-display); letter-spacing: -0.02em; color: var(--mz-text); }
.mz-principles-list p { margin: 0; font: 400 0.98rem/1.65 var(--mz-body); color: var(--mz-text-2); }

/* =========================================================================
   6. CONTACT
   ========================================================================= */
.mz-contact { position: relative; overflow: hidden; padding: calc(var(--mz-section) * 1.1) 0; }
.mz-contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; opacity: 0.55; }
.mz-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 16, 13, 0.94) 0%, rgba(11, 16, 13, 0.72) 48%, rgba(11, 16, 13, 0.35) 100%),
              linear-gradient(to bottom, rgba(11, 16, 13, 0.6) 0%, rgba(11, 16, 13, 0) 30%);
}
.mz-contact-inner { position: relative; z-index: 2; }
.mz-contact .mz-display { font-size: clamp(3rem, 8vw, 8.4rem); line-height: 0.92; }
.mz-contact-lede { margin: clamp(26px, 3vw, 40px) 0 0; max-width: 52ch; font: 400 clamp(1.02rem, 1.2vw, 1.2rem)/1.7 var(--mz-body); color: var(--mz-on-dark-2); }
.mz-contact-lines { display: flex; flex-wrap: wrap; gap: 8px clamp(28px, 4vw, 64px); margin-top: clamp(36px, 4vw, 56px); }
.mz-contact-lines a {
  font: 600 clamp(1.5rem, 3vw, 2.9rem)/1.1 var(--mz-display);
  letter-spacing: -0.03em;
  color: var(--mz-on-dark);
  text-decoration: none;
  background: linear-gradient(var(--mz-lime), var(--mz-lime)) 0 100% / 0 2px no-repeat;
  padding-bottom: 6px;
  transition: background-size 0.55s var(--mz-ease), color 0.3s ease;
}
.mz-contact-lines a:hover,
.mz-contact-lines a:focus-visible { background-size: 100% 2px; color: #fff; }
.mz-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: clamp(36px, 4vw, 56px); }

/* =========================================================================
   FOOTER — continues the dark contact section
   ========================================================================= */
body.mz .ed-footer { background: #070a08; color: var(--mz-on-dark-2); border-top: 1px solid var(--mz-line-dark); }
body.mz .ed-footer .ed-container { max-width: calc(var(--mz-max) + 2 * var(--mz-gutter)); padding: 0 var(--mz-gutter); }
body.mz .ed-footer .foot-brand p,
body.mz .ed-footer .foot-contact address,
body.mz .ed-footer .foot-contact a,
body.mz .ed-footer .foot-links a { color: var(--mz-on-dark-2); font-family: var(--mz-body); }
body.mz .ed-footer .foot-links a:hover,
body.mz .ed-footer .foot-contact a:hover { color: var(--mz-lime-bright); }
body.mz .ed-footer .foot-links h4,
body.mz .ed-footer .foot-contact h4 { color: var(--mz-on-dark-3); font-family: var(--mz-body); }
body.mz .ed-footer .ed-footer-bottom { border-top: 1px solid var(--mz-line-dark); }
body.mz .ed-footer .ed-footer-bottom p { color: var(--mz-on-dark-3); }

/* =========================================================================
   MOTION — images uncover once as they enter; nothing loops
   ========================================================================= */
body.mz-js .mz-reveal { clip-path: inset(8% 0 0 0); transition: clip-path 1.3s var(--mz-ease); }
body.mz-js .mz-reveal > img { transform: scale(1.06); transition: transform 1.6s var(--mz-ease); }
body.mz-js .mz-reveal.is-in { clip-path: inset(0 0 0 0); }
body.mz-js .mz-reveal.is-in > img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.mz-js .mz-reveal, body.mz-js .mz-reveal > img { clip-path: none; transform: none; transition: none; }
  .mz-tile img, .mz-strip img, .mz-index a { transition: none; }
}

/* Focus that reads on both dark and paper */
body.mz a:focus-visible,
body.mz button:focus-visible { outline: 2px solid var(--mz-lime-bright); outline-offset: 4px; border-radius: 2px; }
body.mz .mz-paper a:focus-visible { outline-color: var(--mz-lime-ink); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1099px) {
  /* Header: solid paper, compact; content starts below it */
  body.mz #header.header,
  body.mz #header.is-solid {
    height: 72px;
    background: rgba(243, 241, 234, 0.96);
    border-bottom-color: rgba(20, 26, 22, 0.1);
  }
  [data-theme="dark"] body.mz #header.header { background: rgba(11, 16, 13, 0.96); }
  body.mz #header .logo img { height: 96px; margin: -12px 0 -12px -14px; }
  body.mz #header .navmenu ul li a,
  body.mz #header .navmenu a[aria-current="page"] { color: var(--mz-text); }
  body.mz #header .btn-getstarted { background: var(--mz-lime); border-color: var(--mz-lime); color: var(--mz-night); }
  body.mz #header .mobile-nav-toggle { color: var(--mz-text); }
  body.mz main { padding-top: 72px; }

  /* Hero: the survey stage on top, copy on night below; the panel sits on the stage's lower edge */
  body.mz .mz-hero { height: auto; min-height: 0; max-height: none; }
  body.mz .mz-hero > .sv-stage { position: relative; inset: auto; height: clamp(440px, 66svh, 640px); }
  .sv-stage::after { background: linear-gradient(to top, rgba(11, 16, 13, 0.97) 0%, rgba(11, 16, 13, 0.82) 24%, rgba(11, 16, 13, 0) 48%); }
  .sv-card { left: var(--mz-gutter); right: var(--mz-gutter); bottom: 22px; width: auto; }
  .sv-card-name { font-size: clamp(1.35rem, 5.4vw, 1.8rem); }
  .sv-card-desc { margin-bottom: 14px; font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sv-card::after { display: none; }
  .mz-survey:not(.is-live) .sv-points { position: relative; top: auto; right: auto; padding: 96px var(--mz-gutter) 0; }
  .mz-hero-copy { position: relative; bottom: auto; padding-top: 30px; padding-bottom: 64px; pointer-events: auto; }
  body.mz .mz-hero .hero-glass-card { max-width: none; }
  body.mz .mz-hero .ed-hero-title { font-size: clamp(2.7rem, 10vw, 5rem); }

  .mz-statement-grid,
  .mz-split,
  .mz-give-grid { grid-template-columns: minmax(0, 1fr); }
  .mz-split-media { max-width: 520px; }
  .mz-principles-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px clamp(24px, 4vw, 48px); }
  .mz-tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mz-tiles-3 .mz-tile:first-child { grid-column: 1 / -1; }
  .mz-tiles-3 .mz-tile:first-child a { aspect-ratio: 16 / 9; }
  .mz-index a { grid-template-columns: 44px minmax(0, 1fr) 20px; }
  .mz-index-c { grid-column: 2 / 3; grid-row: 2; }
  .mz-index a::after { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 899px) {
  .mz-survey.is-live .sv-name { display: none; }   /* names live in the panel on small screens */
}
@media (max-width: 768px) {
  body.mz .navmenu ul { top: 72px !important; }
}
@media (max-width: 680px) {
  body.mz { --mz-section: 80px; }
  .mz-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .mz-strip li { scroll-snap-align: start; }
  .mz-strip-head { flex-direction: column; gap: 10px; }
  .mz-bleed { height: 78vh; min-height: 520px; }
  .mz-wide { height: auto; }
  .mz-wide > img { position: relative; height: 56vw; min-height: 240px; }
  .mz-wide::after { background: linear-gradient(to bottom, rgba(11, 16, 13, 0) 30%, rgba(11, 16, 13, 1) 56vw); }
  .mz-wide-copy { position: relative; top: auto; transform: none; padding-top: 28px; }
  .mz-tiles-3, .mz-tiles-2 { grid-template-columns: minmax(0, 1fr); }
  .mz-tiles-3 .mz-tile a, .mz-tiles-2 .mz-tile a, .mz-tiles-3 .mz-tile:first-child a { aspect-ratio: 4 / 4.4; }
  .mz-principles-list { grid-template-columns: minmax(0, 1fr); }
  .mz-p-n { margin-bottom: 18px; }
  .mz-products-figure img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 100%; }
  .mz-products-title { font-size: 1.9rem; }
  .mz-products-cap { grid-template-columns: minmax(0, 1fr); }
  .mz-products-note { text-align: left; }
  .mz-facts > div { flex-direction: column; gap: 6px; }
  .mz-facts dd { text-align: left; }
  .mz-contact-lines { flex-direction: column; }
}

/* The floating theme switch sat mid-screen, on top of the hero headline.
   On the homepage it stacks above the back-to-top button instead. */
body.mz .theme-toggle-btn {
  top: auto;
  bottom: 92px;
  transform: none;
}

/* Anchor jumps (sector index, hero links) land clear of the fixed header */
body.mz [id] { scroll-margin-top: 96px; }
@media (max-width: 1099px) { body.mz [id] { scroll-margin-top: 84px; } }

/* Waypoints and the drone sit above the stage's dimming layer; only the terrain dims */
.mz-survey.is-live .sv-point { z-index: 50; }
/* Propellers spin up with airspeed: hero-survey.js sets --boost (1 at hover, up to 2.8) */
.mz-survey .drone-prop::after { animation-duration: calc(0.12s / var(--boost, 1)); }
.mz-survey .prop-top::after { animation-duration: calc(0.11s / var(--boost, 1)); }
.mz-survey .drone-prop::before { opacity: calc(0.7 + (var(--boost, 1) - 1) * 0.35); }
/* While the drone is between waypoints, the last company's details step back */
.sv-card.is-transit .sv-card-name,
.sv-card.is-transit .sv-card-desc,
.sv-card.is-transit .sv-card-link { opacity: 0.32; transition: opacity 0.3s var(--mz-ease); }
/* The floating theme switch would sit on the headline or the survey panel; it appears once you scroll past the hero */
body.mz .theme-toggle-btn { transition: opacity 0.35s var(--mz-ease), visibility 0.35s; }
body.mz:not(.is-past-hero) .theme-toggle-btn { opacity: 0; visibility: hidden; pointer-events: none; }


/* =========================================================================
   INNER PAGES: about, careers, contact and 404 share the homepage system.
   A dark page hero over the same ridge-line terrain, paper for reading,
   dark for the big moments, the same header and footer.
   ========================================================================= */
.mz-page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 78svh, 820px);
  padding: 140px 0 clamp(56px, 7vw, 104px);
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(11, 16, 13, 0.2) 0%, rgba(11, 16, 13, 0) 30%, rgba(11, 16, 13, 0.55) 78%, #0b100d 100%),
    linear-gradient(90deg, rgba(11, 16, 13, 0.92) 0%, rgba(11, 16, 13, 0.55) 40%, rgba(11, 16, 13, 0) 70%),
    radial-gradient(ellipse 60% 40% at 66% 26%, rgba(149, 193, 31, 0.1), transparent 70%),
    url("../images/home/web/ridges.webp") 60% 100% / cover no-repeat,
    #0b100d;
  color: var(--mz-on-dark);
}
.mz-page-hero .mz-wrap { position: relative; z-index: 1; }
body.mz .mz-page-hero .ed-hero-title {
  margin: 0;
  max-width: 14ch;
  font: 700 clamp(3rem, 7.2vw, 7.6rem)/0.92 var(--mz-display);
  letter-spacing: -0.045em;
  color: #fff;
  text-shadow: none;
}
.mz-page-hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px 56px;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid var(--mz-line-dark);
}
body.mz .mz-page-hero .ed-hero-desc {
  margin: 0;
  max-width: 54ch;
  font: 400 clamp(1.02rem, 1.2vw, 1.22rem)/1.65 var(--mz-body);
  color: var(--mz-on-dark-2);
  text-shadow: none;
}
.mz-page-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; padding: 0; list-style: none; }
.mz-page-meta li { font: 500 0.78rem/1.3 var(--mz-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mz-on-dark-3); }
.mz-page-meta strong { display: block; margin-top: 6px; font: 600 1.02rem/1.2 var(--mz-display); letter-spacing: -0.01em; text-transform: none; color: var(--mz-on-dark); }
.mz-page-meta a { color: inherit; text-decoration: none; }
.mz-page-meta a:hover { color: var(--mz-lime-bright); }

/* Section rhythm */
.mz-sec { padding: var(--mz-section) 0; }
.mz-sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.mz-sec-head .mz-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.mz-sec-head .mz-lede { justify-self: end; }
.mz-dark .mz-lede { color: var(--mz-on-dark-2); }

/* ---- About: the journey, as a numbered sequence on paper ---- */
.mz-journey { list-style: none; margin: 0; padding: 0; }
.mz-journey li {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) minmax(0, 3fr) minmax(0, 5fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(28px, 3.4vw, 48px) 0;
  border-top: 1px solid var(--mz-line);
}
.mz-journey li:last-child { border-bottom: 1px solid var(--mz-line); }
.mz-journey .mz-p-n { margin: 0; }
.mz-journey h3 { margin: 0; font: 700 clamp(1.4rem, 2.3vw, 2.2rem)/1.08 var(--mz-display); letter-spacing: -0.03em; color: var(--mz-text); }
.mz-journey p { margin: 0; max-width: 58ch; font: 400 clamp(1rem, 1.1vw, 1.1rem)/1.7 var(--mz-body); color: var(--mz-text-2); }

/* ---- About: mission and vision, set large on dark ---- */
.mz-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--mz-line-dark); }
.mz-mv > div { padding: clamp(32px, 4vw, 64px) clamp(0px, 4vw, 64px) 0 0; }
.mz-mv > div + div { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--mz-line-dark); }
.mz-mv h3 { margin: 0 0 22px; font: 600 0.78rem/1 var(--mz-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mz-lime-bright); }
.mz-mv p { margin: 0; font: 500 clamp(1.2rem, 1.9vw, 1.75rem)/1.4 var(--mz-display); letter-spacing: -0.02em; color: var(--mz-on-dark); }

/* ---- Forms (careers and contact), on paper ---- */
.mz-form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.mz-aside .mz-display { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.mz-aside .mz-lede { margin-top: 26px; }
.mz-steps { list-style: none; margin: 40px 0 0; padding: 0; }
.mz-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--mz-line); font: 400 0.98rem/1.6 var(--mz-body); color: var(--mz-text-2); }
.mz-steps li:last-child { border-bottom: 1px solid var(--mz-line); }
.mz-steps b { font: 400 1.5rem/1 var(--mz-serif); font-style: italic; color: var(--mz-lime-ink); }
.mz-steps strong { display: block; margin-bottom: 2px; font: 600 1.02rem/1.3 var(--mz-display); color: var(--mz-text); }

.mz-form {
  padding: clamp(28px, 4vw, 56px);
  background: #fbfaf6;
  border: 1px solid var(--mz-line);
}
[data-theme="dark"] body.mz .mz-form { background: var(--mz-paper-2); }
.mz-form h2 { margin: 0 0 8px; font: 700 clamp(1.6rem, 2.4vw, 2.2rem)/1.05 var(--mz-display); letter-spacing: -0.03em; color: var(--mz-text); }
.mz-form-note { margin: 0 0 34px; font: 400 0.95rem/1.6 var(--mz-body); color: var(--mz-text-3); }
.mz-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 28px; }
.mz-field { display: grid; gap: 8px; min-width: 0; }
.mz-field.is-wide { grid-column: 1 / -1; }
.mz-field label,
.mz-field .mz-field-label { font: 600 0.74rem/1.2 var(--mz-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mz-text-2); }
.mz-field label i,
.mz-field .mz-field-label i { font-style: normal; color: var(--mz-lime-ink); }
body.mz .mz-field input:not([type="file"]),
body.mz .mz-field select,
body.mz .mz-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 0 13px;
  border: 0;
  border-bottom: 1px solid rgba(20, 26, 22, 0.28);
  border-radius: 0;
  background-color: transparent;
  font: 400 1.05rem/1.4 var(--mz-body);
  color: var(--mz-text);
  transition: border-color 0.3s var(--mz-ease), box-shadow 0.3s var(--mz-ease);
  -webkit-appearance: none;
          appearance: none;
}
[data-theme="dark"] body.mz .mz-field input:not([type="file"]),
[data-theme="dark"] body.mz .mz-field select,
[data-theme="dark"] body.mz .mz-field textarea { border-bottom-color: rgba(238, 236, 228, 0.28); }
body.mz .mz-field select {
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23747b75' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat;
}
[data-theme="dark"] body.mz .mz-field select option { background: #121815; color: #eeece4; }
body.mz .mz-field textarea { min-height: 128px; resize: vertical; }
body.mz .mz-field input::placeholder,
body.mz .mz-field textarea::placeholder { color: var(--mz-text-3); opacity: 0.8; }
body.mz .mz-field input:not([type="file"]):focus,
body.mz .mz-field select:focus,
body.mz .mz-field textarea:focus { outline: none; border-bottom-color: var(--mz-lime-ink); box-shadow: 0 1px 0 0 var(--mz-lime-ink); }
.mz-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 38px; }
.mz-form-foot small { max-width: 34ch; font: 400 0.85rem/1.5 var(--mz-body); color: var(--mz-text-3); }
body.mz .mz-form button[type="submit"] { border: 0; cursor: pointer; }
body.mz .mz-form button[type="submit"]:disabled { opacity: 0.6; cursor: progress; }

/* Resume picker (behaviour in script_v33.js) */
body.mz .mz-form .file-upload-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  height: auto;
  padding: 22px;
  border: 1px dashed rgba(20, 26, 22, 0.3);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s var(--mz-ease), background 0.3s var(--mz-ease);
}
[data-theme="dark"] body.mz .mz-form .file-upload-wrapper { border-color: rgba(238, 236, 228, 0.3); }
body.mz .mz-form .file-upload-wrapper i { margin: 0; font-size: 1.3rem; color: var(--mz-lime-ink); }
body.mz .mz-form .file-upload-wrapper span { font: 500 0.95rem/1.4 var(--mz-body); color: var(--mz-text-2); }
body.mz .mz-form .file-upload-wrapper input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
body.mz .mz-form .file-upload-wrapper:hover,
body.mz .mz-form .file-upload-wrapper.is-dragging { border-color: var(--mz-lime-ink); background: rgba(149, 193, 31, 0.06); }
body.mz .mz-form .file-upload-wrapper.has-file { border-style: solid; border-color: var(--mz-lime-ink); background: rgba(149, 193, 31, 0.08); }
body.mz .mz-form .file-upload-wrapper:focus-within { outline: 2px solid var(--mz-lime-ink); outline-offset: 3px; }
body.mz .mz-form .file-name-display { margin-top: 10px; font: 500 0.88rem/1.4 var(--mz-body); color: var(--mz-lime-ink); }

/* ---- Contact: the head office set large beside the form ---- */
.mz-office dl { margin: 40px 0 0; }
.mz-office dl > div { padding: 20px 0; border-top: 1px solid var(--mz-line); }
.mz-office dl > div:last-child { border-bottom: 1px solid var(--mz-line); }
.mz-office dt { margin-bottom: 8px; font: 600 0.74rem/1.2 var(--mz-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mz-text-3); }
.mz-office dd { margin: 0; font: 600 clamp(1.15rem, 1.6vw, 1.45rem)/1.35 var(--mz-display); letter-spacing: -0.02em; color: var(--mz-text); }
.mz-office dd a { color: inherit; text-decoration: none; background: linear-gradient(var(--mz-lime), var(--mz-lime)) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--mz-ease); }
.mz-office dd a:hover { background-size: 100% 2px; }
.mz-office dd span { display: block; margin-top: 4px; font: 400 0.92rem/1.5 var(--mz-body); letter-spacing: 0; color: var(--mz-text-3); }
.mz-map { position: relative; margin: 0; height: clamp(340px, 42vw, 540px); overflow: hidden; background: var(--mz-ink); }
.mz-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.05) brightness(0.92); transition: filter 0.6s var(--mz-ease); }
.mz-map:hover iframe { filter: none; }
.mz-map figcaption {
  position: absolute;
  left: var(--mz-gutter);
  bottom: 24px;
  z-index: 1;
  padding: 14px 18px;
  background: rgba(11, 16, 13, 0.9);
  font: 600 0.9rem/1.4 var(--mz-body);
  color: var(--mz-on-dark);
}
.mz-map figcaption a { color: var(--mz-lime-bright); text-decoration: none; }

/* ---- 404 ---- */
.mz-404 { min-height: 100svh; }
.mz-404-code { display: block; margin-bottom: 14px; font: 400 clamp(4rem, 12vw, 11rem)/0.8 var(--mz-serif); font-style: italic; color: var(--mz-lime-bright); }

@media (max-width: 1099px) {
  .mz-page-hero { min-height: 0; padding-top: clamp(96px, 16vw, 140px); }
  .mz-page-hero-foot,
  .mz-sec-head,
  .mz-form-grid { grid-template-columns: minmax(0, 1fr); }
  .mz-sec-head .mz-lede { justify-self: start; }
  .mz-journey li { grid-template-columns: 56px minmax(0, 1fr); }
  .mz-journey li p { grid-column: 2; }
}
@media (max-width: 680px) {
  .mz-mv { grid-template-columns: minmax(0, 1fr); }
  .mz-mv > div { padding-right: 0; }
  .mz-mv > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--mz-line-dark); margin-top: 32px; }
  .mz-fields { grid-template-columns: minmax(0, 1fr); }
  .mz-form { padding: 26px 20px; }
  .mz-journey li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mz-journey li p { grid-column: auto; }
}

/* Company index on paper (about page), linking across to the homepage chapters */
.mz-paper .mz-index ol { border-top-color: var(--mz-line); }
.mz-paper .mz-index li { border-bottom-color: var(--mz-line); }
.mz-paper .mz-index a { color: var(--mz-text); }
.mz-paper .mz-index-n { color: var(--mz-text-3); }
.mz-paper .mz-index-c { color: var(--mz-text-2); }
.mz-paper .mz-index a::after { color: var(--mz-text-3); }
.mz-index-go a::after { content: "\2192"; }
@media (hover: hover) {
  .mz-paper .mz-index a:hover { color: var(--mz-lime-ink); }
  .mz-paper .mz-index a:hover::after { color: var(--mz-lime-ink); }
  .mz-index-go a:hover::after { transform: translateX(4px); }
}

/* Electric chapter: a portrait, framed from the top so the face and the product both stay in */
.mz-split-media { background: #17201b; }
.mz-split-media img { object-position: 50% 30%; }

/* The headline block spans a wide box but only its buttons are clickable; everything else lets the pointer
   through to the waypoints behind it, so a marker is never blocked by an invisible area of text. */
body.mz .mz-survey .hero-glass-card { pointer-events: none; }
body.mz .mz-survey .hero-glass-card a,
body.mz .mz-survey .hero-glass-card button { pointer-events: auto; }
