/* Minimal site: light, calm, a little futuristic.
   Spacing rhythm 8 / 16 / 24 / 32, and multiples of it for the empty areas.
   Each industry sets its own --accent through a body class (mn--healthcare, ...). */

:root {
  /* Type scale: at most three of these meet in any one area. */
  --fs-small: 0.8rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.25rem, 2vw, 1.5rem);
  --fs-heading: clamp(1.5rem, 2.4vw, 2.125rem);
  --fs-display: clamp(2rem, 3.6vw, 3.125rem);
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --ink-soft: #4a5668;
  --ink-mute: #6f7b8b;
  --line: rgba(15, 27, 45, 0.1);
  --grid-dot: rgba(15, 27, 45, 0.09);
  --brand-1: #16a3b8;
  --brand-2: #4f79ff;
  --brand-3: #7c5cff;
  --brand: linear-gradient(120deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --accent: var(--brand-2);
  --accent-soft: rgba(79, 121, 255, 0.1);
  --healthcare: #138ea3;
  --cyber: #5163d8;
  --public-health: #3a8f55;
  --aviation: #b47c1f;
  --construction: #c8583a;
  --heading: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --gutter: clamp(24px, 6vw, 96px);
  --radius: 16px;
  color-scheme: light;
}

.mn--healthcare { --accent: var(--healthcare); --accent-soft: rgba(19, 142, 163, 0.1); }
.mn--cyber { --accent: var(--cyber); --accent-soft: rgba(81, 99, 216, 0.1); }
.mn--public-health { --accent: var(--public-health); --accent-soft: rgba(58, 143, 85, 0.1); }
.mn--aviation { --accent: var(--aviation); --accent-soft: rgba(180, 124, 31, 0.1); }
.mn--construction { --accent: var(--construction); --accent-soft: rgba(200, 88, 58, 0.1); }

@view-transition {
  navigation: auto;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

/* Background: a faint dot grid that fades out, with soft colour at the top corners. */
body.mn {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.mn::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 100% 0%, var(--accent-soft), transparent 70%),
    radial-gradient(45% 40% at 0% 0%, rgba(124, 92, 255, 0.07), transparent 70%),
    radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 1.6px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.25) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.25) 100%);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(15, 27, 45, 0.3);
  transition: text-decoration-color 0.3s, color 0.3s;
}

a:hover {
  text-decoration-color: currentColor;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.mn-label,
.mn-brand-name,
.mn-top-links,
.mn-inscription,
.mn-tag {
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mn-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--accent);
}

.mn-label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.mn-inscription {
  margin: 24px 0 0;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header and footer */

.mn-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--gutter);
}

.mn-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.mn-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-family: var(--heading);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mn-brand-name {
  color: var(--ink);
}

.mn-top-links {
  display: flex;
  align-items: center;
  gap: 24px;
  letter-spacing: 0.14em;
}

.mn-top-links a {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.mn-top-links a:hover,
.mn-top-links a[aria-current="page"] {
  color: var(--ink);
}

.mn-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: auto;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.mn-foot a {
  text-decoration: none;
}

.mn-foot a:hover {
  color: var(--ink);
}

/* Landing */

.mn-landing {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 32px;
  padding: 32px var(--gutter) 64px;
}

.mn-ask {
  grid-column: 1;
  grid-row: 1;
  padding-left: clamp(0px, 5vw, 96px);
}

.mn-artwork {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mn-network {
  width: min(400px, 32vw);
  margin: 0;
}

.mn-network svg,
.mn-art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.mn--landing .mn-inscription {
  margin: 0;
}

.mn-question {
  max-width: 14ch;
  margin: 0 0 32px;
  font-family: var(--heading);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.mn-industries {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mn-industry {
  --dot: var(--ink-mute);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
  color: var(--ink-mute);
  font-family: var(--heading);
  font-size: var(--fs-lead);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s;
}

.mn-industry::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--dot);
}

.mn-industry.is-ready {
  color: var(--ink);
}

.mn-industry.is-ready::before {
  border-color: transparent;
  background: var(--dot);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 18%, transparent);
}

.mn-industry[data-industry="healthcare"] { --dot: var(--healthcare); }
.mn-industry[data-industry="cyber"] { --dot: var(--cyber); }
.mn-industry[data-industry="public-health"] { --dot: var(--public-health); }
.mn-industry[data-industry="aviation"] { --dot: var(--aviation); }
.mn-industry[data-industry="construction"] { --dot: var(--construction); }

.mn-industry::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--dot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.mn-industry:hover,
.mn-industry[aria-expanded="true"] {
  color: var(--ink);
}

.mn-industry:hover::after,
.mn-industry:focus-visible::after,
.mn-industry[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.mn-soon {
  max-width: 34ch;
  min-height: 3.4em;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.js .mn-soon:not(.is-shown) {
  visibility: hidden;
}

/* Network drawing */

.mn-orbit {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.12;
  stroke-width: 1;
}

.mn-orbit--dash {
  stroke-dasharray: 2 7;
  stroke-opacity: 0.22;
  transform-origin: 200px 200px;
}

.mn-draw.mn-link {
  stroke: url(#mn-grad);
  stroke-width: 1.2;
  opacity: 0.75;
}

.mn-node {
  fill: var(--surface);
  stroke: url(#mn-grad);
  stroke-width: 1.5;
}

.mn-node.is-lit {
  fill: url(#mn-grad);
}

.mn-core {
  fill: url(#mn-grad);
}

/* Industry page */

.mn-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  column-gap: clamp(32px, 6vw, 96px);
  padding: clamp(32px, 8vh, 96px) var(--gutter) 64px;
}

.mn-hero-copy {
  max-width: 36rem;
}

.mn-art {
  margin: 0;
}

.mn-lead {
  margin: 0;
  font-family: var(--heading);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.mn-line {
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-family: var(--heading);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.mn-line strong {
  color: var(--ink);
  font-weight: 500;
}

.mn-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  column-gap: clamp(32px, 6vw, 96px);
  padding: 64px var(--gutter);
  border-top: 1px solid var(--line);
}

.mn-section-head h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: var(--fs-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.mn-section-head p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

/* Offers: open on demand */

.mn-offers {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mn-offer {
  border-bottom: 1px solid var(--line);
}

.mn-offer:first-child {
  border-top: 1px solid var(--line);
}

.mn-acc-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  font-family: var(--heading);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.35;
}

.mn-acc-btn::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 12px no-repeat;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}

.mn-acc-btn:hover::after {
  background-color: var(--accent-soft);
}

.mn-acc-btn[aria-expanded="true"]::after {
  transform: rotate(45deg);
  background-color: var(--accent-soft);
}

.mn-acc-panel {
  max-width: 40rem;
  padding: 0 0 24px;
  color: var(--ink-soft);
}

.mn-acc-panel p {
  margin: 0 0 8px;
}

.mn-acc-panel a {
  color: var(--accent);
  font-weight: 500;
}

.js .mn-acc:not(.is-open) .mn-acc-panel {
  display: none;
}

/* Uplift stories */

.mn-stories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mn-story {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.mn-story:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 16px 32px -24px rgba(15, 27, 45, 0.45);
}

.mn-story-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 16px;
  background: linear-gradient(180deg, #f9fbfc, #eef2f6);
  border-bottom: 1px solid var(--line);
}

.mn-story-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mn-story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.mn-tag {
  color: var(--accent);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
}

.mn-tag--note {
  color: var(--ink-mute);
}

.mn-story h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.3;
}

.mn-story h3 a {
  text-decoration: none;
}

/* The whole card is the link. */
.mn-story h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.mn-story p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.mn-story-more {
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-size: var(--fs-small);
  font-weight: 600;
}

/* Call to action */

.mn-talk h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: var(--fs-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.mn-note {
  max-width: 34rem;
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.mn-note--small {
  font-size: var(--fs-body);
}

.mn-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin: 32px 0 16px;
}

.mn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(79, 121, 255, 0.8);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.mn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(79, 121, 255, 0.9);
}

.mn-quiet {
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

/* Floating call button and chooser */

.mn-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.mn-call-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 20px 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(39, 66, 160, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.mn-call-btn:hover {
  transform: translateY(-2px);
}

.mn-call-btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.mn-call-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--brand-2);
  opacity: 0;
  pointer-events: none;
}

.mn-call-panel {
  width: min(320px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 48px -24px rgba(15, 27, 45, 0.5);
  transform-origin: bottom right;
}

.mn-call-panel[hidden] {
  display: none;
}

.mn-call-panel p {
  margin: 0 8px 8px;
  color: var(--ink-mute);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mn-call-panel a {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.25s;
}

.mn-call-panel a:hover {
  background: var(--accent-soft);
}

.mn-call-panel strong {
  font-family: var(--heading);
  font-weight: 500;
}

.mn-call-panel span {
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

/* Story page */

.mn-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--ink-mute);
  font-size: var(--fs-small);
}

.mn-crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.mn-crumbs a:hover {
  color: var(--accent);
}

.mn-story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(32px, 6vw, 96px);
  padding: 32px var(--gutter) 64px;
}

.mn-context {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.mn-story-hero h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.mn-summary {
  max-width: 34rem;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.mn-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.mn-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-small);
  font-weight: 600;
}

.mn-facts {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
}

.mn-facts div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 16px;
}

.mn-facts dt {
  padding-top: 3px;
  color: var(--ink-mute);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mn-facts dd {
  margin: 0;
  font-size: var(--fs-body);
}

.mn-facts a {
  color: var(--accent);
  font-weight: 600;
}

.mn-window {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 60px -40px rgba(15, 27, 45, 0.55);
}

.mn-window-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.mn-window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.mn-window img {
  display: block;
  width: 100%;
  height: auto;
}

.mn-transfer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 0 var(--gutter);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.mn-transfer strong {
  font-family: var(--heading);
  font-weight: 500;
}

.mn-transfer p {
  flex: 1 1 28rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.mn-chips {
  display: flex;
  gap: 8px;
}

.mn-chips a {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
}

.mn-part {
  padding: 64px var(--gutter) 32px;
}

.mn-part-head {
  max-width: 48rem;
}

.mn-part-head .mn-tag {
  display: block;
  margin-bottom: 8px;
}

.mn-part-head h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: var(--fs-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.mn-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: glance;
}

.mn-glance li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: var(--fs-body);
  counter-increment: glance;
}

.mn-glance li::before {
  content: counter(glance, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--heading);
  font-size: var(--fs-small);
  font-weight: 600;
}

.mn-glance strong {
  color: var(--ink);
  font-weight: 600;
}

.mn-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0 0;
}

.mn-gallery figure {
  margin: 0;
}

.mn-gallery a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

.mn-gallery a:hover img {
  transform: scale(1.02);
}

.mn-gallery figcaption {
  margin-top: 8px;
  color: var(--ink-mute);
  font-size: var(--fs-small);
}

.mn-details {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mn-details .mn-acc-btn {
  padding: 16px 0;
  font-size: var(--fs-body);
}

.mn-details .mn-acc-panel {
  max-width: none;
  padding-bottom: 32px;
}

.mn-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.mn-detail-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: var(--fs-body);
  font-weight: 500;
}

.mn-detail-grid ul {
  margin: 0;
  padding-left: 18px;
  font-size: var(--fs-body);
}

.mn-detail-grid li + li {
  margin-top: 6px;
}

.mn-skills {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
  font-size: var(--fs-body);
}

.mn-skills th,
.mn-skills td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mn-skills th {
  width: 30%;
  color: var(--ink);
  font-weight: 600;
}

/* About page */

.mn-about-hero {
  max-width: 64rem;
  padding: clamp(32px, 8vh, 96px) var(--gutter) 48px;
}

.mn-about-hero h1 {
  max-width: 20ch;
  margin: 0;
  font-family: var(--heading);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mn-about-intro {
  max-width: 44rem;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
}

.mn-quote {
  max-width: 44rem;
  margin: 32px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--brand-2);
  font-family: var(--heading);
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.mn-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 var(--gutter);
}

.mn-stats div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mn-stats dt {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--heading);
  font-size: var(--fs-heading);
  font-weight: 600;
  line-height: 1.1;
}

.mn-stats dd {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.mn-proof {
  padding: 64px var(--gutter);
}

.mn-proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 32px;
}

.mn-proof-head h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: var(--fs-heading);
  font-weight: 500;
}

.mn-proof-head p {
  margin: 0;
  color: var(--ink-mute);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mn-proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.mn-proof-panel {
  --tone: var(--brand-2);
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone) 9%, transparent), transparent 55%),
    var(--surface);
}

.mn-proof-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--tone);
}

.mn-proof-panel.is-scale { --tone: #1f97ad; }
.mn-proof-panel.is-complexity { --tone: #4b9659; }
.mn-proof-panel.is-ecosystem { --tone: #b8862a; }
.mn-proof-panel.is-deployment { --tone: #5163d8; }
.mn-proof-panel.is-impact { --tone: #c65d3c; }

.mn-proof-panel h3 {
  margin: 0 0 16px;
  color: var(--tone);
  font-family: var(--heading);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mn-proof-panel dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.mn-proof-panel dt {
  color: var(--ink);
  font-family: var(--heading);
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.15;
}

.mn-proof-panel dd {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.4;
}

.mn-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mn-way {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mn-way h3 {
  margin: 0 0 8px;
  font-family: var(--heading);
  font-size: var(--fs-body);
  font-weight: 500;
}

.mn-way ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.mn-way li + li {
  margin-top: 6px;
}

.mn-way a {
  color: var(--accent);
  font-weight: 500;
}

.mn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.mn-badges li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-small);
}

/* Drawings */

.mn-draw {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mn-thin { stroke-width: 0.9; opacity: 0.7; }
.mn-frame { stroke-width: 1.1; opacity: 0.6; }
.mn-faint { opacity: 0.35; }
.mn-beam { stroke-width: 3; }
.mn-fill { fill: var(--ink); opacity: 0.85; }
.mn-ground { fill: var(--ink); opacity: 0.35; }
.mn-wash-stop { stop-color: var(--accent); }
.mn-signal { fill: var(--accent); }
.mn-accent-line { stroke: var(--accent); stroke-width: 2.2; opacity: 1; }
.mn-trace { stroke-width: 1.6; opacity: 0.75; }
.mn-trace--soft { opacity: 0.5; }
.mn-grid { fill: none; stroke: var(--accent); stroke-opacity: 0.16; stroke-width: 0.8; }
.mn-ring { fill: none; stroke: var(--accent); stroke-opacity: 0.4; stroke-width: 1.2; }

/* Motion */

@keyframes mn-draw {
  from { stroke-dashoffset: 1.05; }
  to { stroke-dashoffset: 0; }
}

@keyframes mn-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mn-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes mn-pop {
  0% { opacity: 0; transform: scale(0.3); }
  60% { opacity: 1; transform: scale(1.25); }
  100% { opacity: 1; transform: scale(1); }
}

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

@keyframes mn-ring {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes mn-wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(4deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] {
    animation: mn-rise 0.9s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 140ms + 150ms);
  }

  .js .mn-scroll-rise {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }

  .js .mn-scroll-rise.is-in {
    opacity: 1;
    transform: none;
  }

  .js .mn-industries li {
    animation: mn-rise 0.8s var(--ease) both;
  }

  .js .mn-industries li:nth-child(1) { animation-delay: 0.7s; }
  .js .mn-industries li:nth-child(2) { animation-delay: 0.8s; }
  .js .mn-industries li:nth-child(3) { animation-delay: 0.9s; }
  .js .mn-industries li:nth-child(4) { animation-delay: 1s; }
  .js .mn-industries li:nth-child(5) { animation-delay: 1.1s; }

  .js .mn-draw {
    stroke-dasharray: 1 1.1;
    stroke-dashoffset: 1.05;
    animation: mn-draw 1.6s var(--ease) var(--d, 0s) forwards;
  }

  .js .mn-fade {
    opacity: 0;
    animation: mn-fade 1.4s ease var(--d, 0s) forwards;
  }

  .js .mn-node {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: mn-pop 0.6s var(--ease) var(--d, 0s) forwards;
  }

  .mn-orbit--dash {
    animation: mn-spin 120s linear infinite;
  }

  .js .mn-signal {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: mn-pop 0.8s var(--ease) 2.8s forwards;
  }

  .mn-call-btn.is-ringing::before {
    animation: mn-ring 1.4s ease-out 2;
  }

  .mn-call-btn.is-ringing svg {
    animation: mn-wiggle 0.9s ease-in-out 2;
  }

  .mn-call-panel:not([hidden]) {
    animation: mn-rise 0.35s var(--ease) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

/* Smaller screens */

@media (max-width: 1100px) {
  .mn-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .mn-hero,
  .mn-story-hero {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    padding-top: 16px;
  }

  .mn-hero .mn-art {
    grid-row: 1;
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }

  .mn-section {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
    padding: 48px var(--gutter);
  }

  .mn-ways,
  .mn-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .mn-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mn-top {
    padding: 24px;
  }

  .mn-top-links {
    gap: 16px;
  }

  .mn-landing {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    row-gap: 32px;
    padding: 8px 24px 96px;
  }

  .mn-artwork {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    gap: 16px;
  }

  .mn-network {
    width: min(240px, 64vw);
  }

  .mn-ask {
    grid-column: 1;
    grid-row: 2;
    padding-left: 0;
  }

  .mn--landing .mn-inscription {
    max-width: 30ch;
    text-align: center;
    text-wrap: balance;
  }

  .mn-foot {
    padding: 24px 24px 96px;
  }

  .mn-call {
    right: 16px;
    bottom: 16px;
  }

  .mn-call-btn {
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .mn-call-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .mn-facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

@media (max-width: 560px) {
  .mn-brand-name {
    display: inline;
  }

  .mn-proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mn-transfer {
    margin: 0 24px;
  }
}

/* Story write-ups built by scripts/minimal_stories.py */

.mn-detail-wide {
  grid-column: 1 / -1;
}

.mn-detail-block p {
  margin: 0 0 8px;
  font-size: var(--fs-body);
}

.mn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body);
}

.mn-table th,
.mn-table td {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mn-table tr:first-child th {
  color: var(--ink);
  font-weight: 600;
}

.mn-detail-block {
  min-width: 0;
  overflow-x: auto;
}

/* Clickable drawings: tap to show tags, tap again to replay */

.mn-play {
  position: relative;
  cursor: pointer;
}

.mn-art-tags {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.mn-art-tags li {
  --tag: var(--accent);
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 4px 12px;
  border: 1px solid color-mix(in srgb, var(--tag) 40%, transparent);
  border-radius: 999px;
  background: var(--surface);
  color: var(--tag);
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 18px -12px rgba(15, 27, 45, 0.45);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--n, 0) * 90ms);
}

.mn-art-tags .t-healthcare { --tag: var(--healthcare); }
.mn-art-tags .t-cyber { --tag: var(--cyber); }
.mn-art-tags .t-public-health { --tag: var(--public-health); }
.mn-art-tags .t-aviation { --tag: var(--aviation); }
.mn-art-tags .t-construction { --tag: var(--construction); }

.mn-play.is-tagged .mn-art-tags li {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.mn-art-hint {
  display: block;
  margin: 24px auto 0;
  color: var(--ink-mute);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mn-art-hint:hover {
  color: var(--accent);
}

.no-js .mn-art-hint {
  display: none;
}

.mn-play.is-tagged .mn-signal {
  animation: mn-pop 0.6s var(--ease) both;
}

.mn-bar { fill: var(--ink); opacity: 0.16; }
.mn-dash { stroke-dasharray: 0.012 0.018; opacity: 0.55; }
.js .mn-draw.mn-dash {
  stroke-dasharray: 0.012 0.018;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: mn-fade 1.4s ease var(--d, 0s) forwards;
}
.mn-plane { fill: var(--accent); }
.mn-node--ink { fill: var(--ink); stroke: none; opacity: 0.5; }
.js .mn-node--ink { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .mn-sweep {
    transform-origin: 280px 210px;
    animation: mn-spin 6s linear infinite;
  }

  .js .mn-node--ink {
    animation: mn-pop 0.6s var(--ease) var(--d, 0s) forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .mn-node--ink { opacity: 0.5; }
}

/* Workflow pages (scripts/minimal_workflows.py) and workflow cards */

.mn-wf-hero h1 { max-width: 24ch; }

.mn-plugs { display: flex; flex-wrap: wrap; gap: 6px; }

.mn-plugs span {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-small);
}

.mn-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Touchpoints timeline: steps on a line, AI touchpoints highlighted under their step. */
.mn-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 12px;
  margin: 40px 0 16px;
  padding: 0;
  list-style: none;
}

.mn-rail::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent));
}

.mn-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mn-stop-n {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--heading);
  font-size: var(--fs-small);
  font-weight: 600;
}

.mn-stop.has-tp .mn-stop-n {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.mn-stop b {
  font-family: var(--heading);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.25;
}

.mn-stop small {
  color: var(--ink-mute);
  font-size: var(--fs-small);
  line-height: 1.35;
}

.mn-tp {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 24px -20px rgba(15, 27, 45, 0.5);
}

.mn-tp p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.4;
}

.mn-tp-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.t-predict { background: rgba(79, 121, 255, 0.12); color: #3a5bd9; }
.t-llm { background: rgba(124, 92, 255, 0.12); color: #6a49e0; }
.t-agent { background: rgba(22, 163, 184, 0.12); color: #0f7f90; }
.t-simulate { background: rgba(180, 124, 31, 0.14); color: #93641a; }
.t-weak { background: rgba(58, 143, 85, 0.13); color: #2f7646; }
.t-vision { background: rgba(200, 88, 58, 0.12); color: #a8472e; }
.t-small, .t-anomaly { background: rgba(15, 27, 45, 0.08); color: var(--ink-soft); }

/* GTU workflow: five stages left to right, learning loops back. */
.mn-pipe {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.mn-pipe-stage {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mn-pipe-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -19px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.mn-pipe-stage:last-child {
  background: linear-gradient(180deg, var(--accent-soft), var(--surface));
}

.mn-pipe-stage .mn-tag {
  display: block;
  margin-bottom: 8px;
}

.mn-pipe-stage ul {
  margin: 0;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.mn-pipe-stage li + li {
  margin-top: 6px;
}

.mn-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.mn-outcomes li {
  position: relative;
  padding: 24px 24px 24px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--heading);
  font-size: var(--fs-body);
  line-height: 1.35;
}

.mn-outcomes li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 26px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat,
    var(--accent);
}

.mn-kpi-wrap {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mn-kpis th,
.mn-kpis td {
  padding: 14px 16px;
}

.mn-kpis thead th {
  color: var(--ink-mute);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mn-kpis tbody th {
  color: var(--ink);
  font-weight: 600;
}

.mn-kpis td strong {
  color: var(--accent);
  font-weight: 600;
}

.mn-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
}

.b-new { background: var(--accent-soft); color: var(--accent); }
.b-target { background: rgba(15, 27, 45, 0.07); color: var(--ink-soft); }
.b-synthetic { background: rgba(180, 124, 31, 0.12); color: #93641a; }

/* Workflow cards on industry pages */
.mn-wfs {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mn-wf {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease);
}

.mn-wf:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 16px 32px -24px rgba(15, 27, 45, 0.45);
}

.mn-wf-code {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--heading);
  font-weight: 600;
}

.mn-wf h3 {
  margin: 4px 0 2px;
  font-family: var(--heading);
  font-size: var(--fs-body);
  font-weight: 500;
}

.mn-wf h3 a {
  text-decoration: none;
}

.mn-wf h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.mn-wf p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.mn-wf .mn-story-more {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .mn-pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mn-pipe-stage:nth-child(3)::after { display: none; }
}

@media (max-width: 899px) {
  .mn-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-left: 44px;
  }

  .mn-rail::before {
    left: 14px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent));
  }

  .mn-stop-n {
    position: absolute;
    left: -44px;
    top: -4px;
  }

  .mn-tp { margin-top: 8px; }

  .mn-pipe { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .mn-pipe-stage:not(:last-child)::after,
  .mn-pipe-stage:nth-child(3)::after {
    display: block;
    top: auto;
    bottom: -22px;
    right: 50%;
    transform: translateX(50%) rotate(135deg);
  }

  .mn-wf { grid-template-columns: auto minmax(0, 1fr); }
  .mn-wf .mn-story-more { grid-column: 2; }
}

/* Aviation drawing: night window and passengers on the move */
.mn-moon { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.mn-pax { fill: var(--accent); opacity: 0.7; }

@keyframes mn-walk {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateX(256px); opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .mn-pax {
    opacity: 0;
    animation: mn-walk 8s linear var(--p, 0s) infinite;
  }
}

@media (max-width: 560px) {
  .mn-kpis th:last-child,
  .mn-kpis td:last-child {
    display: none;
  }
}
.t-privacy { background: rgba(58, 143, 85, 0.13); color: #2f7646; }
.mn-tp + .mn-tp { margin-top: 8px; }

/* Sections that open on demand (Workflows, Uplift stories) */
.mn-reveal-btn {
  display: inline-flex;
  width: auto;
  margin-top: 24px;
  padding: 10px 18px;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.mn-reveal-btn:hover {
  background: var(--accent-soft);
}

.mn-reveal-btn::after {
  width: 22px;
  height: 22px;
  border: 0;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 10px no-repeat;
}

.mn-reveal-btn[aria-expanded="true"] .mn-reveal-open { display: none; }
.mn-reveal-btn[aria-expanded="false"] .mn-reveal-close { display: none; }

.mn-reveal .mn-acc-panel {
  max-width: none;
  padding: 24px 0 0;
  color: inherit;
}

.mn-reveal .mn-reveal-btn {
  margin-top: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .js .mn-reveal.is-open .mn-acc-panel {
    animation: mn-rise 0.6s var(--ease) both;
  }
}

/* Round 6: brand tagline, page accents, industries menu, back bar, new pages */

.mn--individuals { --accent: #6a4fe0; --accent-soft: rgba(106, 79, 224, 0.1); }
.mn--engagement, .mn--policies { --accent: #3f63e0; --accent-soft: rgba(63, 99, 224, 0.1); }

.mn-brand-text { display: grid; gap: 2px; }

.mn-brand-tag {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* Industries menu in the header */
.mn-menu { position: relative; }

.mn-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.mn-menu-btn:hover,
.mn-menu-btn[aria-expanded="true"] { color: var(--ink); }

.mn-menu-btn::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.mn-menu-btn[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 3px; }

.mn-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 16px);
  z-index: 30;
  display: grid;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 48px -24px rgba(15, 27, 45, 0.5);
  list-style: none;
  letter-spacing: 0.04em;
  text-transform: none;
}

.mn-menu-list[hidden] { display: none; }

.mn-menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: var(--fs-body);
  font-weight: 500;
  text-decoration: none;
}

.mn-menu-list a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--accent));
}

.mn-menu-list a:hover,
.mn-menu-list a[aria-current="page"] { background: var(--accent-soft); }

.mn-menu-list .is-sep { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: no-preference) {
  .mn-menu-list:not([hidden]) { animation: mn-rise 0.3s var(--ease) both; }
}

/* Back bar at the bottom of stories and workflows */
.mn-back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--line);
}

.mn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: var(--fs-body);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s var(--ease);
}

.mn-back-link:hover { background: var(--accent-soft); transform: translateX(-3px); }

.mn-back-alt { color: var(--ink-soft); font-size: var(--fs-body); }

/* Landing: path for individuals */
.mn-solo { margin: 32px 0 0; font-size: var(--fs-body); }

.mn-solo a { color: var(--ink-soft); text-decoration: none; }

.mn-solo span { color: #6a4fe0; font-weight: 600; }

.mn-solo a:hover span { text-decoration: underline; text-underline-offset: 0.2em; }

/* Individuals page */
.mn-outcomes--plain li::before {
  background: var(--accent);
  -webkit-mask: none;
}

.mn-steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mn-steps-row li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mn-steps-row span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--heading);
  font-weight: 600;
}

.mn-steps-row b { font-family: var(--heading); font-size: var(--fs-body); font-weight: 500; }

.mn-steps-row p { margin: 8px 0 0; color: var(--ink-soft); font-size: var(--fs-body); }

.mn-glyph { fill: var(--accent); font-family: var(--heading); font-size: 22px; font-weight: 600; }

/* Engagement models */
.mn-models {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.mn-model {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mn-model h3 { margin: 0; font-family: var(--heading); font-size: var(--fs-body); font-weight: 500; }

.mn-model-bar { height: 6px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }

.mn-model-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--brand); }

.mn-model dl { display: grid; gap: 12px; margin: 0; }

.mn-model dt { color: var(--ink-mute); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

.mn-model dd { margin: 2px 0 0; color: var(--ink-soft); font-size: var(--fs-body); }

/* Policies */
.mn-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.mn-toc a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-small);
  text-decoration: none;
}

.mn-toc a:hover { border-color: var(--accent); color: var(--accent); }

.mn-prose {
  max-width: 46rem;
  padding: 16px var(--gutter) 64px;
  color: var(--ink-soft);
}

.mn-prose h2 {
  margin: 48px 0 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--heading);
  font-size: var(--fs-heading);
  font-weight: 500;
  scroll-margin-top: 24px;
}

.mn-prose h2:first-child { margin-top: 0; }

.mn-prose h3 { margin: 24px 0 6px; color: var(--ink); font-family: var(--heading); font-size: var(--fs-body); font-weight: 500; }

.mn-prose p, .mn-prose ul { margin: 0 0 8px; }

.mn-prose li + li { margin-top: 6px; }

.mn-prose a { color: var(--accent); }

@media (max-width: 1100px) {
  .mn-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .mn-steps-row, .mn-models { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .mn-brand-text { display: none; }
  .mn-menu-list { right: -8px; min-width: 220px; }
}

.mn-brand-tag { font-size: var(--fs-small); letter-spacing: 0.2em; text-transform: uppercase; }
.mn-outcomes--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .mn-outcomes--plain { grid-template-columns: minmax(0, 1fr); } }

/* Header logo: the GTU emblem in the brand gradient */
.mn-logo { display: block; width: 40px; height: 40px; flex: none; }
.mn-logo { width: 48px; height: 48px; }
@media (max-width: 760px) { .mn-logo { width: 40px; height: 40px; } }

/* Back link at the top of the page, just under the header */
.mn-back--top {
  padding: 0 var(--gutter);
  border-top: 0;
}

.mn-back--top .mn-back-link {
  padding: 8px 16px;
  font-size: var(--fs-small);
}

.mn-back--top + .mn-hero,
.mn-back--top + .mn-story-hero,
.mn-back--top + .mn-about-hero { padding-top: 24px; }

/* Achievements: awards, recognition, innovation, tier-1 papers and citation tiers.
   Use data-ach="type" on any element, or add the story to ACHIEVEMENTS in minimal.js. */
.mn-ach {
  --ach: #b8862a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border: 1px solid color-mix(in srgb, var(--ach) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ach) 12%, var(--surface));
  color: color-mix(in srgb, var(--ach) 85%, #000);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-transform: none;
  vertical-align: middle;
  white-space: nowrap;
}

.mn-ach svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mn-ach--award { --ach: #b8862a; }
.mn-ach--recognition { --ach: #6a4fe0; }
.mn-ach--innovation { --ach: #138ea3; }
.mn-ach--paper { --ach: #3f63e0; }
.mn-ach--cite10 { --ach: #5a6b80; }
.mn-ach--cite50 { --ach: #3f63e0; }
.mn-ach--cite100 { --ach: #3f63e0; background: #3f63e0; color: #fff; }

.mn-ach-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.mn-story .mn-ach-row { margin: 0; }

.mn-ach--inline { font-size: var(--fs-small); padding: 1px 8px 1px 6px; }

/* On a story page the achievement leads the hero. */
.mn-ach--hero {
  white-space: normal;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  font-size: var(--fs-body);
  box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--ach) 80%, transparent);
}

.mn-ach--hero svg { width: 20px; height: 20px; }

.mn-badges .mn-ach { padding: 8px 16px 8px 12px; font-size: var(--fs-small); }

@media (prefers-reduced-motion: no-preference) {
  .mn-ach--award {
    background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
    background-size: 250% 100%;
    background-repeat: no-repeat;
    background-position: 150% 0;
    animation: mn-shine 2.4s ease 1.2s 2;
  }
}

@keyframes mn-shine {
  to { background-position: -50% 0; }
}

/* The replay control is for keyboard and screen-reader users; a tap on the drawing does the same. */
.mn-art-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mn-art-hint:focus-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 16px auto 0;
  clip: auto;
}

/* Landing animations: industries linked through GTU */
.mn-landing-art { width: min(460px, 36vw); }
.mn-landing-art svg { overflow: visible; }
.mn-landing-art .mn-ind--healthcare { --ind: var(--healthcare); }
.mn-landing-art .mn-ind--cyber { --ind: var(--cyber); }
.mn-landing-art .mn-ind--public-health { --ind: var(--public-health); }
.mn-landing-art .mn-ind--aviation { --ind: var(--aviation); }
.mn-landing-art .mn-ind--construction { --ind: var(--construction); }
.mn-ind-dot { fill: var(--ind); stroke: var(--surface); stroke-width: 3; transition: r 0.3s; }
.mn-ind.is-on .mn-ind-dot { stroke: color-mix(in srgb, var(--ind) 30%, var(--surface)); stroke-width: 6; }
.mn-ind-label { fill: var(--ink-soft); font-family: var(--heading); font-size: 12.8px; font-weight: 500; transition: fill 0.3s; }
.mn-ind-label--small { font-size: 12.8px; }
.mn-ind.is-on .mn-ind-label { fill: var(--ind); }
.mn-spoke { stroke: var(--ink); stroke-opacity: 0.18; stroke-width: 1; stroke-dasharray: 0.01 0.02; }
.mn-edge { fill: none; stroke: var(--ink); stroke-opacity: 0.16; stroke-width: 1.4; transition: stroke 0.4s, stroke-opacity 0.4s, stroke-width 0.4s; }
.mn-edge--quiet { stroke-opacity: 0; }
.mn-edge.is-on { stroke: url(#mn-grad); stroke-opacity: 1; stroke-width: 2.6; }
.mn-edge-label { fill: var(--ink); font-family: var(--sans); font-size: 12.8px; font-weight: 600; opacity: 0; transition: opacity 0.4s; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.mn-edge-label.is-on { opacity: 1; }
.mn-pulse { fill: #7c5cff; opacity: 0; }
.mn-edge.is-on + .mn-edge-label + .mn-pulse, .mn-edge.is-on + .mn-pulse { opacity: 1; }
.mn-hub { fill: var(--surface); stroke: url(#mn-grad); stroke-width: 1.5; }
.mn-hub--ring { stroke-width: 3; }
.mn-layer { fill: url(#mn-grad); fill-opacity: 0.05; stroke: url(#mn-grad); stroke-opacity: 0.45; stroke-width: 1.2; }
.mn-layer-label { fill: var(--ink-mute); font-family: var(--sans); font-size: 12.8px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.mn-riser { stroke-width: 1; stroke-dasharray: 0.02 0.02; opacity: 0.45; }
.mn-caption { fill: var(--ink-soft); font-family: var(--sans); font-size: 12.8px; font-weight: 600; }
.mn-line { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.mn-line--data { stroke: #16a3b8; }
.mn-line--prediction { stroke: #4f79ff; }
.mn-line--agentic { stroke: #7c5cff; }
.mn-line--key { stroke-width: 5; }
.mn-train { fill: var(--surface); stroke-width: 3; }
.mn-train--data { stroke: #16a3b8; }
.mn-train--prediction { stroke: #4f79ff; }
.mn-train--agentic { stroke: #7c5cff; }
.mn-station { fill: var(--surface); stroke: var(--ind); stroke-width: 4; }
.mn-legend { fill: var(--ink-soft); font-family: var(--sans); font-size: 12.8px; font-weight: 600; }
.mn-variants { display: flex; gap: 8px; align-items: center; color: var(--ink-mute); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mn-variants a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-soft); text-decoration: none; letter-spacing: 0.04em; text-transform: none; }
.mn-variants a[aria-current] { border-color: var(--brand-2); color: var(--brand-2); }

@media (prefers-reduced-motion: no-preference) {
  .js .mn-ind-dot, .js .mn-station {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: mn-pop 0.6s var(--ease) var(--d, 0s) forwards;
  }
  .js .mn-emblem, .js .mn-hub { opacity: 0; animation: mn-fade 1s ease 0.2s forwards; }
}

@media (max-width: 760px) {
  .mn-landing-art { width: min(340px, 86vw); }
}

.mn-edge { stroke-opacity: 0.1; }
.mn-landing-art .mn-caption { font-size: 18px; fill: var(--ink); }

/* Accolade types (precedence in minimal.js) */
.mn-ach--tier1 { --ach: #3f63e0; }
.mn-ach--cite100 { --ach: #2f4fc2; }
.mn-ach--cite50 { --ach: #3f63e0; background: color-mix(in srgb, #3f63e0 10%, var(--surface)); color: #2f4fc2; }
.mn-ach--cite10 { --ach: #5a6b80; }
.mn-ach--pubprod, .mn-ach--production { --ach: #138ea3; }
.mn-ach--publication { --ach: #5a6b80; }
.mn-ach--policy { --ach: #3a8f55; }
.mn-ach--media { --ach: #6a4fe0; }

/* Landing player: three quiet buttons */
.mn-player { display: flex; gap: 8px; justify-content: center; }
.mn-player button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  transition: color 0.2s, border-color 0.2s;
}
.mn-player button:hover { color: var(--brand-2); border-color: var(--brand-2); }
.mn-player svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mn-player .i-play { fill: currentColor; stroke: none; }
.mn-player [aria-pressed="false"] .i-play, .mn-player [aria-pressed="true"] .i-pause { display: none; }
.no-js .mn-player { display: none; }

/* Tall images (dashboards, architectures) keep their proportions inside the page instead of filling it. */
.mn-window img,
.mn-gallery img {
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 620px);
  margin: 0 auto;
  object-fit: contain;
}

.mn-window { display: flex; flex-direction: column; }
.mn-window img { align-self: center; }
.mn-gallery a { display: flex; justify-content: center; background: linear-gradient(180deg, #f9fbfc, #eef2f6); }

/* Accolades: a smaller footprint, still distinct by colour and icon. */
.mn-ach { gap: 4px; padding: 1px 8px 1px 6px; font-size: var(--fs-small); font-weight: 600; }
.mn-ach svg { width: 12px; height: 12px; }
.mn-ach--inline { padding: 0 6px 0 5px; }
.mn-ach--hero { padding: 4px 10px 4px 8px; border-radius: 999px; box-shadow: none; }
.mn-ach--hero svg { width: 13px; height: 13px; }
.mn-badges .mn-ach { padding: 6px 14px 6px 10px; }
.mn-ach-row { gap: 6px; }

/* Landing path: clearer while it plays. */
.mn-edge.is-on { stroke-width: 3.6; }
.mn-landing-art .mn-edge.is-on { filter: drop-shadow(0 0 0 transparent); stroke-linecap: round; stroke-dasharray: 8 6; animation: mn-flow 1s linear infinite; }
.mn-landing-art .mn-pulse { r: 6px; }
@keyframes mn-flow { to { stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) { .mn-landing-art .mn-edge.is-on { animation: none; stroke-dasharray: none; } }
.mn-landing-art .mn-caption { font-weight: 600; }
.mn-landing-art { cursor: pointer; }

.mn-landing-art.is-paused * { animation-play-state: paused !important; }
.mn-chips span { padding: 4px 12px; border-radius: 999px; background: var(--surface); font-size: var(--fs-small); font-weight: 600; }

/* Dark bands in the deliverable snapshot's cover palette (docs/deliverables/ai-strategy-governance).
   Drawings sit on a dark panel, and every second section of a page is dark.
   Both scopes redefine the colour tokens, so most components need no override. */
:root {
  --night: #0a1219;
  --night-2: #122230;
  --night-wash:
    radial-gradient(circle at 85% 20%, rgba(79, 138, 168, 0.25), transparent 55%),
    linear-gradient(160deg, var(--night-2), var(--night) 70%);
  --accent-dark: #8cc0da;
}

.mn--healthcare { --accent-dark: #5ec4d6; }
.mn--cyber { --accent-dark: #9ba8ff; }
.mn--public-health { --accent-dark: #7fcf96; }
.mn--aviation { --accent-dark: #e6b462; }
.mn--construction { --accent-dark: #f29274; }
.mn--individuals { --accent-dark: #b6a5ff; }
.mn--engagement, .mn--policies { --accent-dark: #98acff; }

main > section:nth-of-type(even),
.mn-art,
.mn-artwork {
  --bg: var(--night);
  --surface: #14273a;
  --ink: #eef4f8;
  --ink-soft: #c3d0d7;
  --ink-mute: #8fa2ac;
  --line: rgba(238, 244, 248, 0.14);
  --accent: var(--accent-dark);
  --accent-soft: color-mix(in srgb, var(--accent-dark) 16%, transparent);
  --healthcare: #5ec4d6;
  --cyber: #9ba8ff;
  --public-health: #7fcf96;
  --aviation: #e6b462;
  --construction: #f29274;
  background: var(--night-wash);
  color: var(--ink);
  color-scheme: dark;
}

/* Drawing panels */
.mn-art,
.mn-artwork {
  --pad: clamp(16px, 3vw, 32px);
  padding: var(--pad);
  border: 1px solid rgba(140, 192, 218, 0.18);
  border-radius: 24px;
  box-shadow: 0 30px 60px -40px rgba(10, 18, 25, 0.7);
}

.mn-art-tags { inset: var(--pad, 0); }
.mn-artwork { --pad: clamp(24px, 3vw, 40px); }
.mn-artwork .mn-landing-art { width: min(400px, 30vw); }
.mn-artwork .mn-layer { fill-opacity: 0.1; }
.mn-artwork .mn-pulse { fill: #a48cff; }

.mn-artwork .mn-inscription,
main > section:nth-of-type(even) .mn-inscription,
main > section:nth-of-type(even) .mn-stats dt {
  background-image: linear-gradient(120deg, #5fd0e0, #95adff 55%, #b8a4ff);
}

@media (max-width: 760px) {
  .mn-artwork { padding: 24px 10%; }
  .mn-artwork .mn-landing-art { width: min(320px, 100%); }
}

/* Dark sections */
main > section:not(:first-of-type),
main > section:nth-of-type(even) + .mn-back {
  border-top-color: transparent;
}

main > section.mn-part:nth-of-type(even) { padding-bottom: 64px; }
.mn-transfer { margin-bottom: 32px; }

main > section:nth-of-type(even) a { text-decoration-color: rgba(238, 244, 248, 0.35); }
main > section:nth-of-type(even) a:hover { text-decoration-color: currentColor; }

main > section:nth-of-type(even) .mn-story:hover,
main > section:nth-of-type(even) .mn-wf:hover { box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.7); }

main > section:nth-of-type(even) .mn-ach {
  background-color: color-mix(in srgb, var(--ach) 22%, transparent);
  color: color-mix(in srgb, var(--ach) 40%, #fff);
}

main > section:nth-of-type(even) .mn-stop.has-tp .mn-stop-n,
main > section:nth-of-type(even) .mn-steps-row span { color: var(--night); }

main > section:nth-of-type(even) .mn-outcomes li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230a1219' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat,
    var(--accent);
}

main > section:nth-of-type(even) .t-predict { color: #a3b6ff; }
main > section:nth-of-type(even) .t-llm { color: #bba8ff; }
main > section:nth-of-type(even) .t-agent { color: #6fd0de; }
main > section:nth-of-type(even) .t-simulate,
main > section:nth-of-type(even) .b-synthetic { color: #e8b968; }
main > section:nth-of-type(even) .t-weak,
main > section:nth-of-type(even) .t-privacy { color: #86d39d; }
main > section:nth-of-type(even) .t-vision { color: #f39a7d; }
main > section:nth-of-type(even) .t-small,
main > section:nth-of-type(even) .t-anomaly,
main > section:nth-of-type(even) .b-target { background: rgba(238, 244, 248, 0.1); }

main > section:nth-of-type(even) .mn-proof-panel.is-scale { --tone: #5ec4d6; }
main > section:nth-of-type(even) .mn-proof-panel.is-complexity { --tone: #86d39d; }
main > section:nth-of-type(even) .mn-proof-panel.is-ecosystem { --tone: #e6b462; }
main > section:nth-of-type(even) .mn-proof-panel.is-deployment { --tone: #9ba8ff; }
main > section:nth-of-type(even) .mn-proof-panel.is-impact { --tone: #f29274; }

/* System designs and other images open full size in a new tab. */
.mn-window > a { display: flex; justify-content: center; }
.mn-window > a img { transition: transform 0.6s var(--ease); }
.mn-window > a:hover img { transform: scale(1.02); }

/* Project stage badges (STAGES in minimal.js): after the top accolade, in a neutral slate. */
.mn-ach--prototype, .mn-ach--code, .mn-ach--delivered { --ach: #4a5d75; }
