/* 4M Controls. Navy, slate and the brand blue. */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0E2841;
  --blue: #389DE7;
  --slate: #354051;
  --ink: #354051;
  --muted: #5C6774;
  --line: #C8D7E6;
  --ice: #EEF3F8;
  --tint: #F3F8FC;
  --page: #F7FAFB;
  --white: #fff;
  --soft: #C8D7E6;
  --radius: 14px;
}

html { scroll-behavior: auto; }

body {
  font-family: "proxima-nova", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

::selection { background: #d5e4f0; color: var(--navy); }

a { color: var(--navy); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 100;
  border-radius: 8px;
}
.skip:focus { top: 8px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

h1, h2, h3 { color: var(--navy); font-weight: 700; }
h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.2; margin: 0 0 0.7rem; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0; }
p { margin: 0 0 1rem; }

.kicker {
  color: var(--slate);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.45;
  max-width: 40rem;
  margin-top: 16px;
}

.section-intro { max-width: 40rem; font-size: 1.125rem; color: var(--ink); }
.section-note { max-width: 42rem; color: var(--muted); margin-top: 16px; }
.promise { color: var(--muted); margin: 6px 0 0; }

.note {
  background: var(--tint);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  max-width: 42rem;
  color: var(--ink);
}

.btn, .contact-form button {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover, .contact-form button:hover { background: #163654; color: var(--white); }
a.btn { color: var(--white); }

.btn-ghost {
  display: inline-block;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--soft);
  border-radius: 8px;
  padding: 11px 16px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  min-height: 80px;
  padding: 10px 0;
}

.logo img { height: 52px; width: auto; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nav > a, .nav-group > a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
}
.nav > a:hover, .nav-group > a:hover { background: var(--ice); text-decoration: none; }
.nav a.active:not(.nav-cta) { background: var(--ice); box-shadow: none; }

.nav a.nav-cta {
  background: var(--navy);
  color: var(--white);
  margin-left: 8px;
  padding: 10px 16px;
}
.nav a.nav-cta:hover { background: #163654; color: var(--white); text-decoration: none; }
.nav a.nav-cta.active { box-shadow: inset 0 0 0 2px var(--blue); }

.nav-group { position: relative; display: flex; align-items: center; border-radius: 8px; }
.nav-group > a { padding-right: 2px; }
.nav-group:hover, .nav-group:has(> a.active), .nav-group:has(> .sub-toggle[aria-expanded="true"]) {
  background: var(--ice);
}
.nav .nav-group > a:hover, .nav .nav-group > a.active { background: transparent; }
.sub-toggle {
  width: 30px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: transparent; }
.chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
}
.mega {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  box-shadow: 0 16px 28px rgba(14, 40, 65, 0.06);
}
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-col { padding: 0 28px; border-left: 1px solid var(--line); }
.mega-col:first-child { padding-left: 0; border-left: 0; }
.mega-col:last-child { padding-right: 0; }
.mega-title {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.mega-promise { color: var(--muted); font-size: 0.92rem; margin: 4px 0 10px; }
.mega-title + .mega-link { margin-top: 6px; }
.mega-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 -12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.mega-link:hover { background: var(--ice); }
.mega-link:hover .mega-link-title { text-decoration: underline; text-underline-offset: 0.12em; }
.mega-link-title { color: var(--navy); font-weight: 700; }
.mega-link-summary { color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.mega-product { flex-direction: row; align-items: flex-start; gap: 14px; }
.mega-product img { flex: none; width: 40px; height: 40px; margin-top: 2px; }
.mega-product > span { display: flex; flex-direction: column; gap: 2px; }
.mega-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mega-foot a { font-weight: 700; }

[hidden] { display: none !important; }

/* Home */

.hero {
  background: var(--navy) url("../images/hero-network.a740268433d7.svg") right center / cover no-repeat;
  color: var(--white);
  padding: 72px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.hero-visual { margin: 0; }
.hero-visual svg { width: 100%; height: auto; display: block; overflow: visible; }
.hub-links { stroke: var(--blue); stroke-linecap: round; }
.hub-dots { fill: var(--blue); }
.hub-node { fill: var(--blue); }
.hub-label { fill: var(--white); font-size: 18px; font-weight: 700; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lede { color: var(--soft); max-width: 36rem; }
.hero-method {
  color: var(--blue);
  font-size: 1.2rem;
  margin: 18px 0 8px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.hero .btn { background: var(--white); color: var(--navy); }
.hero .btn:hover { background: var(--ice); color: var(--navy); }
.hero :focus-visible { outline-color: #9FC2DC; }

.band { padding: 64px 0; }
.band h2 { margin-top: 0; }
.band-ice { background: var(--ice); }

.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 0;
}
.reason-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  border-top: 4px solid var(--blue);
}
.reason-grid dt { color: var(--navy); font-weight: 700; font-size: 1.15rem; }
.reason-grid dd { margin: 8px 0 0; color: var(--ink); }

.method { background: var(--ice); padding: 64px 0; }
.method h2 { margin-top: 0; }
.method-intro { max-width: 40rem; font-size: 1.125rem; }
.vcycle {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}
.vcycle li {
  position: relative;
  padding: 0 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.vcycle li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 48px;
  right: -4px;
  height: 2px;
  background: var(--blue);
}
.vcycle li:last-child::before { display: none; }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 6px;
}
.vcycle-name { color: var(--navy); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.vcycle-step { color: var(--slate); font-weight: 700; }
.vcycle-text { color: var(--ink); }
.method-return { margin-top: 22px; margin-bottom: 0; }
.method-return a { font-weight: 700; }

.group {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 8px 32px;
  align-items: start;
  padding: 20px 0 16px;
  border-top: 1px solid var(--line);
}
.section-intro + .group, .page-head + .wrap > .group:first-child { margin-top: 24px; }
.group > div:first-child { padding-top: 10px; }
.group > div > h2, .group > div > h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.group .promise { font-size: 0.95rem; }

.cards, .product-row {
  display: grid;
  gap: 16px;
}
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.product-row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  height: 100%;
}
a.card:hover { border-color: var(--blue); background: var(--tint); text-decoration: none; }
a.card:hover .text-link-title { text-decoration: underline; text-underline-offset: 0.12em; }
.text-link-title { color: var(--navy); font-weight: 700; font-size: 1.15rem; line-height: 1.3; text-decoration: none; }
.text-link-summary { color: var(--muted); }

.product-card-head { display: flex; align-items: center; justify-content: space-between; }
.product-card-head .step-num { margin-bottom: 0; }
.product-symbol { width: 44px; height: 44px; }
.product-title { display: flex; align-items: center; gap: 16px; }
.product-title .product-symbol { width: 64px; height: 64px; }

.work-list { list-style: none; display: grid; gap: 12px; margin: 16px 0 0; }
.work-list .card {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 6px 28px;
  align-items: center;
  height: auto;
}

.client-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 12px;
}
.clients { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; }
.clients li { font-weight: 700; color: var(--navy); }
.clients-heading { margin: 36px 0 8px; }

.close-band {
  background: var(--navy);
  color: var(--soft);
  padding: 48px 0;
}
.close-strip { background: var(--navy); color: var(--soft); padding: 28px 0; }
.close-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.close-strip h2 { color: var(--white); font-size: 1.35rem; margin: 0 0 2px; }
.close-strip p { margin: 0; }
.close-strip .btn { background: var(--white); color: var(--navy); }
.close-strip .btn:hover { background: var(--ice); color: var(--navy); }
.close-strip :focus-visible { outline-color: #9FC2DC; }
.close-band h2, .close-band a { color: var(--white); }
.close-band .section-intro { color: var(--soft); }
.close-band .btn { background: var(--white); color: var(--navy); }
.close-band .btn:hover { background: var(--ice); color: var(--navy); }
.close-band :focus-visible { outline-color: #9FC2DC; }
.directors {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 22px;
}
.directors li { display: flex; flex-direction: column; gap: 4px; }
.directors a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.directors a:hover { text-decoration: underline; }
.directors span { color: var(--soft); }

/* Node lists: items strung on a line, like the brand network */

.node-list { position: relative; list-style: none; padding: 0 0 0 30px; }
.cards.node-list { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.node-list .card, .node-list > li > a {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 8px;
  margin-left: -12px;
  padding: 10px 12px;
  height: auto;
}
.node-list .card::before, .node-list > li > a::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--page);
  border: 3px solid var(--blue);
  box-sizing: border-box;
}
.node-list a.card:hover, .node-list > li > a:hover { background: var(--tint); border: 0; }
.node-list a:hover::before { background: var(--blue); }
.node-list .card::after, .node-list > li > a::after {
  content: "";
  position: absolute;
  left: -12px;
  top: 28px;
  bottom: -20px;
  width: 2px;
  background: rgba(56, 157, 231, 0.35);
}
.node-list > a:last-child::after, .node-list > li:last-child > a::after { display: none; }
.work-list.node-list { gap: 2px; }
.related.node-list { gap: 2px; padding-left: 30px; }

/* Issue cloud: the problems a product answers, scattered like a cloud */

.issues { margin: 28px 0 8px; }
.issues h2 { margin: 0 0 4px; }
.issue-cloud {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 14px;
  margin: 0;
  padding: 48px 24px;
  background: radial-gradient(ellipse at center, var(--ice) 0%, var(--ice) 52%, rgba(238, 243, 248, 0) 74%);
}
.issue-cloud li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 100%;
  box-shadow: 0 6px 16px rgba(14, 40, 65, 0.06);
}
.issue-cloud li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2.5px solid var(--blue);
  box-sizing: border-box;
}
.issue-cloud li:nth-child(3n + 1) { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.issue-cloud li:nth-child(odd) { transform: translateY(8px); }
.issue-cloud li:nth-child(4n) { transform: translateY(-10px); }
@media (min-width: 900px) {
  .issue-cloud { padding: 52px 40px; }
  .issue-cloud li { white-space: nowrap; }
}

/* Interior pages */

.page { padding-bottom: 64px; }
.page-head {
  padding: 40px 0 8px;
  background: url("../images/page-network.6f1adf80709e.svg") right top / auto 100% no-repeat;
}
.page-head-grid { display: grid; gap: 4px; }
.page-head-grid > p:last-child { margin-top: 8px; }
.page h2 { margin-top: 2.2rem; }
.page-head h1 { max-width: 20ch; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; }
.crumbs li + li::before { content: "/"; color: var(--muted); margin-right: 6px; }
.crumbs a { font-weight: 700; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose > p, .scope, .section-note, .note { max-width: 42rem; }
.status {
  display: inline-block;
  background: var(--tint);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 12px;
  max-width: 40rem;
}

.points { margin: 8px 0 0; border-bottom: 1px solid var(--line); }
.points > div {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: 6px 28px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.points dt { color: var(--navy); font-weight: 700; }
.points dd { margin: 0; max-width: 42rem; }

.facts, .scope { margin: 8px 0 0; padding-left: 1.2rem; }
.track-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.track-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--navy);
}
.facts li, .scope li { margin: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; max-width: none; }
.chips li {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
}

.related { list-style: none; padding: 0; display: grid; gap: 12px; margin: 8px 0 0; max-width: 46rem; }
.related a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
}
.related a:hover { border-color: var(--blue); background: var(--tint); }
.related .text-link-summary { color: var(--muted); }

.method-list { list-style: none; padding: 0; max-width: 46rem; margin-top: 8px; }
.method-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 12px;
}
.method-list h2 { margin: 0; font-size: 1.35rem; }
.method-list .promise { margin-bottom: 6px; }
.method-list p:last-child { margin-bottom: 0; }

.places {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.places li {
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.places strong { font-size: 1.15rem; }
.place-dublin { background: var(--navy); color: var(--white); }
.place-lisburn { background: var(--slate); color: var(--white); }
.place-prague { background: var(--blue); color: var(--navy); }
.place-dublin span, .place-lisburn span { color: var(--soft); }
.place-prague span { color: var(--navy); }

.person {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
}
.person img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.person p { max-width: 42rem; }
.person h3 { font-size: 1.35rem; }

.diagram { margin: 28px 0; max-width: 46rem; }
.diagram img {
  width: 100%;
  height: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: zoom-in;
}
.diagram figcaption { margin-top: 8px; color: var(--muted); max-width: 42rem; }

.next-step { margin-top: 28px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
  margin-top: 12px;
}
.contact-grid .directors { grid-template-columns: 1fr; margin-bottom: 16px; }
.contact-grid .directors li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.contact-grid .directors a { color: var(--navy); }
.contact-grid .directors span { color: var(--muted); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 24px 24px;
}
.contact-form h2 { margin-top: 16px; }
.contact-form label { display: block; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--navy); }
.contact-form button { margin-top: 16px; }
.form-notice { padding: 12px 14px; margin: 0 0 14px; border-radius: 8px; }
.form-notice-success { background: #e8f4ec; color: #1e5e34; border: 1px solid #b9dcc5; }
.form-notice-error { background: #fbeaea; color: #8a1f1f; border: 1px solid #e8bcbc; }
.form-error { color: #8a1f1f; font-size: 0.95rem; margin: 4px 0 0; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map { margin: 28px 0 8px; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: 12px; }

.site-footer {
  background: #0A1E31;
  border-top: 1px solid rgba(200, 215, 230, 0.18);
  color: var(--soft);
  font-size: 0.92rem;
  padding: 24px 0 18px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.footer-home img { height: 36px; width: auto; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 215, 230, 0.18);
  font-size: 0.85rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); text-decoration: none; font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: #9FC2DC; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 40, 65, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 95vw; max-height: 95vh; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lightbox-inner img {
  width: min(95vw, 1100px);
  height: 80vh;
  object-fit: contain;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  cursor: default;
}
.lightbox-caption { color: var(--white); text-align: center; max-width: 40rem; }
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--white);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .vcycle { gap: 22px; }
  .vcycle li { padding: 0 0 0 52px; }
  .vcycle li .step-num { position: absolute; left: 0; top: 0; }
  .vcycle li::before { top: 44px; bottom: -20px; left: 17px; right: auto; width: 2px; height: auto; }
  .nav {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    row-gap: 2px;
  }
  .nav > a, .nav-group > a { padding: 8px 10px; }
  .band, .method, .close-band { padding: 40px 0; }
  .footer-top, .footer-base { flex-direction: column; align-items: flex-start; }
  .reason-grid, .group, .page-head-grid, .contact-grid,
  .work-list .card, .points > div, .product-row, .vcycle, .mega-grid,
  .directors, .places, .track-grid {
    grid-template-columns: 1fr;
  }
  .mega-col { padding: 0 0 12px; border-left: 0; }
  .page-head { background: none; }
  .group > div:first-child { padding-top: 0; }
  .issue-cloud { padding: 24px 0; background: none; justify-content: flex-start; }
  .issue-cloud li { transform: none !important; }
  .person { grid-template-columns: 88px minmax(0, 1fr); }
  .person img { width: 88px; height: 88px; }
  .page-head h1, .hero h1 { max-width: 100%; }
  .nav a.nav-cta { margin-left: 0; }
}

@media (max-width: 760px) {
  .sub-toggle, .mega { display: none !important; }
  .nav { width: 100%; }
  .wrap, .bar {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
  }
  h1 { font-size: 2rem; }
}

@media (max-width: 560px) {
  .bar { display: block; }
  .nav {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: start;
    column-gap: 8px;
    row-gap: 0;
    width: 100%;
    max-width: 100%;
  }
  .nav a.nav-cta { width: max-content; margin-left: 0; }
  .logo img { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .diagram img { transition: none; }
}
