:root {
  color-scheme: light;
  --bg: #eef0ea;
  --bg-alt: #e3e6de;
  --surface: rgba(248, 249, 244, 0.96);
  --surface-strong: #ffffff;
  --surface-soft: #f1f3ee;
  --text: #151920;
  --muted: #56606f;
  --line: rgba(21, 25, 32, 0.12);
  --line-strong: rgba(21, 25, 32, 0.2);
  --ink: #0f1318;
  --ink-soft: #1a2028;
  --accent: #b8db47;
  --accent-2: #ff9b4a;
  --accent-3: #4d74ff;
  --success: #1f9d6c;
  --shadow: 0 26px 54px rgba(22, 25, 33, 0.12);
  --shadow-soft: 0 14px 28px rgba(22, 25, 33, 0.08);
  --page-width: min(1360px, calc(100% - 40px));
  --header-top: 10px;
  --menu-top: 106px;
  font-family: "Public Sans", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0f1318;
    --bg-alt: #171c24;
    --surface: rgba(23, 28, 36, 0.96);
    --surface-strong: #1b212a;
    --surface-soft: #131920;
    --text: #eef2ea;
    --muted: #aab2bf;
    --line: rgba(238, 242, 234, 0.11);
    --line-strong: rgba(238, 242, 234, 0.18);
    --ink: #0a0d11;
    --ink-soft: #11161d;
    --shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 16px 28px rgba(0, 0, 0, 0.22);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  font-family: "Public Sans", system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(184, 219, 71, 0.08), transparent 18%),
    linear-gradient(270deg, rgba(77, 116, 255, 0.06), transparent 22%),
    linear-gradient(180deg, var(--bg), var(--bg-alt));
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(rgba(21, 25, 32, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 32, 0.06) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 95%);
}

body::after {
  background:
    linear-gradient(90deg, transparent 7%, rgba(255, 155, 74, 0.1) 7%, rgba(255, 155, 74, 0.1) 7.2%, transparent 7.2%),
    linear-gradient(90deg, transparent 58%, rgba(184, 219, 71, 0.1) 58%, rgba(184, 219, 71, 0.1) 58.2%, transparent 58.2%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: var(--page-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: var(--header-top);
}

.nav-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  min-height: 82px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.nav-bar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-mark {
  width: 72px;
  height: 72px;
  padding: 8px;
  border: 3px solid var(--ink);
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 2px rgba(255, 155, 74, 0.1);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2.85rem;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.nav-desktop {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  max-width: 100%;
}

.nav-link,
.nav-group-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-desktop > :last-child .nav-group-trigger,
.nav-desktop > :last-child .nav-link {
  border-right: 0;
}

.nav-link::before,
.nav-group-trigger::before {
  content: attr(data-index);
  color: var(--accent-2);
  font-size: 0.78rem;
}

.nav-link:hover,
.nav-link.is-active,
.nav-group[data-open="true"] .nav-group-trigger,
.nav-group-trigger:hover {
  color: var(--text);
  background: var(--surface-soft);
}

.nav-group {
  position: relative;
}

.nav-group[data-open="true"] {
  z-index: 8;
}

.nav-group-trigger svg {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.nav-group[data-open="true"] .nav-group-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: min(460px, 40vw);
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-group[data-open="true"] .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu-link {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  transition: transform 160ms ease, border-color 160ms ease;
}

.nav-submenu-link:hover {
  transform: translateX(4px);
  border-color: var(--accent-3);
}

.nav-submenu-link strong {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.nav-submenu-link span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #101317;
  box-shadow: 0 12px 24px rgba(184, 219, 71, 0.18);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface-strong);
  color: var(--text);
}

.button-primary-light {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(184, 219, 71, 0.8));
  color: var(--ink);
}

.button-secondary-light {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  min-width: 194px;
}

.nav-toggle,
.nav-panel {
  display: none;
}

.page-main {
  padding: 22px 0 64px;
}

.page-main .page-shell {
  display: grid;
  gap: 24px;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel-dark {
  background: linear-gradient(180deg, var(--ink), var(--ink-soft));
  color: #f7f8f1;
  border-color: rgba(255, 255, 255, 0.08);
}

.panel-dark p,
.panel-dark li {
  color: rgba(247, 248, 241, 0.78);
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.hero-layout,
.page-hero,
.duo-layout,
.contact-layout {
  display: grid;
  gap: 20px;
  align-items: start;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.page-hero,
.duo-layout,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy h1,
.page-hero-copy h1,
.panel h2,
.panel h3 {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(3.35rem, 5.4vw, 5.6rem);
  max-width: 8ch;
}

.page-hero-copy h1,
.contact-copy h1 {
  font-size: clamp(2.75rem, 4.2vw, 4.4rem);
  max-width: 10ch;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 900px;
}

.section-heading h2,
.duo-layout h2,
.contact-form-card h2 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14ch;
}

.hero-lead,
.page-hero-copy p:last-of-type,
.panel p,
.contact-form-card > p:last-of-type {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-copy .hero-actions {
  margin-bottom: 20px;
}

.bullet-list,
.feature-list,
.contact-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li,
.feature-list li,
.contact-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.72;
}

.bullet-list li::before,
.feature-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.hero-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  background: #dbe1ec;
}

.hero-visual img,
.page-hero-media img,
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  min-height: 100%;
}

.page-hero-media img {
  aspect-ratio: 4 / 3.4;
}

.hero-visual img {
  aspect-ratio: 4 / 4.3;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-kpis article {
  padding: 16px 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
}

.hero-kpis strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2.05rem;
  line-height: 0.95;
}

.hero-kpis span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 20px 18px;
  border-top: 5px solid var(--accent);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2.35rem;
  line-height: 0.95;
}

.stat-card p {
  margin: 0;
}

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

.program-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.program-cap {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.program-card h3 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.02;
}

.program-card p {
  margin: 0;
  color: var(--muted);
}

.program-card .button {
  margin-top: auto;
}

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

.dmaic-step {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  position: relative;
}

.dmaic-step::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #11161c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.dmaic-step h3 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.sector-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sector-item {
  padding: 18px 18px 20px;
  border-left: 4px solid var(--accent-3);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.sector-item strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
}

.quote-panel blockquote {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.quote-panel p:last-child {
  margin: 18px 0 0;
}

.principle-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle-card,
.team-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.principle-card strong,
.team-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.contact-layout .contact-form-card,
.contact-layout .contact-copy {
  align-self: stretch;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
  padding: 16px 18px;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
}

.form-note[data-state="success"] {
  color: var(--success);
}

.form-note[data-state="error"] {
  color: #d14b4b;
}

.service-stack {
  display: grid;
  gap: 18px;
}

.service-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.service-side {
  padding: 20px;
  border-top: 5px solid var(--accent);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
  position: sticky;
  top: 118px;
}

.service-side span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-side strong {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.55rem;
  line-height: 0.98;
}

.service-copy,
.service-media {
  align-self: stretch;
}

.service-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.service-media img {
  aspect-ratio: 4 / 5;
}

.service-note {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid var(--accent-2);
  background: var(--surface-soft);
}

.site-footer {
  padding: 4px 0 34px;
}

.footer-shell {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.footer-shell p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-shell a {
  color: var(--text);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dev-banner {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 12px 0 0;
}

.dev-banner-inner {
  width: var(--page-width);
  margin: 0 auto;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.dev-banner-brand img {
  height: 26px;
  width: auto;
}

.dev-banner-text {
  font-size: 0.88rem;
  color: var(--text);
}

.dev-banner-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.has-dev-banner .site-header {
  top: 72px;
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  background: rgba(15, 19, 24, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 180ms ease;
}

body.menu-open .menu-scrim {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 961px) {
  .menu-scrim {
    display: none;
  }
}

@media (max-width: 1180px) {
  .hero-layout,
  .page-hero,
  .duo-layout,
  .contact-layout,
  .quote-layout,
  .service-row {
    grid-template-columns: 1fr;
  }

  .service-side {
    position: static;
  }

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

  .dmaic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sector-strip,
  .stats-band,
  .principle-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --page-width: min(100% - 24px, 760px);
    --menu-top: 102px;
    --header-top: 0px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    padding-top: 0;
  }

  .nav-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 12px 14px;
    border-top: 0;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .brand-copy strong {
    font-size: 1.95rem;
  }

  .brand-copy span {
    font-size: 0.78rem;
  }

  .nav-desktop,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-left: auto;
    flex: 0 0 auto;
    border: 1px solid var(--line-strong);
    background: var(--surface-strong);
    color: var(--text);
    cursor: pointer;
  }

  .nav-toggle svg {
    width: 26px;
    height: 26px;
  }

  .nav-panel {
    display: block;
    position: fixed;
    top: var(--menu-top);
    left: 12px;
    right: 12px;
    max-height: calc(100vh - var(--menu-top) - 12px);
    z-index: 60;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .nav-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-mobile-surface {
    display: grid;
    gap: 12px;
    max-height: inherit;
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--line-strong);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .nav-mobile-surface::before {
    content: "Program navigator";
    display: block;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .nav-mobile-link,
  .nav-mobile-trigger,
  .nav-mobile-sublink,
  .nav-mobile-cta {
    width: 100%;
  }

  .nav-mobile-link,
  .nav-mobile-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--text);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.86rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .nav-mobile-group {
    display: grid;
    gap: 10px;
  }

  .nav-mobile-trigger svg {
    width: 18px;
    height: 18px;
    transition: transform 160ms ease;
  }

  .nav-mobile-group[data-open="true"] .nav-mobile-trigger svg {
    transform: rotate(180deg);
  }

  .nav-mobile-submenu {
    display: none;
    gap: 8px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
  }

  .nav-mobile-group[data-open="true"] .nav-mobile-submenu {
    display: grid;
  }

  .nav-mobile-sublink {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.4);
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
  }

  .nav-mobile-cta {
    margin-top: 4px;
  }

  .page-main {
    padding-top: 18px;
  }

  .page-main .page-shell {
    gap: 20px;
  }

  .panel {
    padding: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .page-hero-copy h1,
  .contact-copy h1,
  .section-heading h2,
  .duo-layout h2,
  .contact-form-card h2 {
    font-size: clamp(2.1rem, 9.2vw, 3.1rem);
    max-width: none;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .program-grid,
  .dmaic-grid,
  .sector-strip,
  .stats-band,
  .principle-grid,
  .team-grid,
  .field-grid,
  .hero-kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page-width: min(100% - 18px, 100%);
    --menu-top: 90px;
  }

  .nav-bar {
    gap: 8px;
    padding: 8px 12px;
    min-height: 74px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    padding: 6px;
  }

  .brand-copy strong {
    font-size: 1.6rem;
  }

  .brand-copy span {
    display: none;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .panel {
    padding: 18px;
  }

  .hero-visual {
    min-height: 250px;
  }

  .button {
    width: 100%;
  }

  .footer-shell {
    border-top: 0;
    padding-top: 0;
  }
}
