:root {
  color-scheme: light;
  --ink: #111418;
  --muted: #59616b;
  --line: #dfe3e8;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --charcoal: #121820;
  --cyan: #12a8bf;
  --teal: #087f8c;
  --amber: #c5852f;
  --green: #2e7d5b;
  --blue: #255f95;
  --shadow: 0 18px 44px rgba(17, 20, 24, 0.14);
  --radius: 8px;
  --header-h: 82px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Offset anchored sections so they don't land under the sticky header. */
main[id],
section[id] {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 82px;
  padding: 0 28px;
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  width: 176px;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav a {
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle svg {
  color: #fff;
}

/* CTA shown inside the mobile menu panel only. */
.nav-cta {
  display: none;
}

/* Dim backdrop behind the open mobile menu. */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8, 11, 15, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  color: #fff;
  background: var(--cyan);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 20, 24, 0.18);
}

.button.primary:hover,
.header-cta:hover {
  background: #0e9eb3;
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
}

.button.outline:hover {
  border-color: rgba(18, 168, 191, 0.45);
  background: #f5fbfc;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(18, 168, 191, 0.45);
  outline-offset: 3px;
}

.button.primary {
  color: #fff;
  background: var(--cyan);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.button.outline {
  color: var(--charcoal);
  border-color: var(--line);
  background: #fff;
}

.button svg,
.header-cta svg,
.nav-toggle svg,
.service-card svg,
.audit-list svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background: rgba(10, 14, 20, 0.66);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 96px;
  animation: fade-up 640ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 4.35vw, 4.05rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.5vw, 1.16rem);
  line-height: 1.58;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-proof span:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.signal-band {
  background: var(--charcoal);
  color: #fff;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.signal-grid > div {
  padding: 28px 26px 30px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, transform 180ms ease;
}

.signal-grid > div:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.signal-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.24rem;
}

.signal-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.metric {
  color: var(--amber);
  font-weight: 850;
}

.enterprise {
  color: #fff;
  background: #18232d;
}

.enterprise .eyebrow {
  color: var(--amber);
}

.enterprise-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.enterprise-layout h2 {
  max-width: 760px;
}

.enterprise-layout p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
  line-height: 1.72;
}

.enterprise-list {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.enterprise-list div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.enterprise-list strong,
.enterprise-list span {
  display: block;
}

.enterprise-list strong {
  color: #fff;
  font-size: 1.08rem;
}

.enterprise-list span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.58;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.82rem, 3.35vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.section-heading p,
.intro-copy p,
.systems-layout p,
.process-layout p,
.audit-layout p,
.contact-layout p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.66;
}

.intro {
  background: var(--soft);
}

.intro-layout,
.systems-layout,
.process-layout,
.audit-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.case-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 20, 24, 0.04);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.service-card:hover,
.case-card:hover {
  border-color: rgba(18, 168, 191, 0.35);
  box-shadow: 0 18px 34px rgba(17, 20, 24, 0.11);
  transform: translateY(-4px);
}

.service-card svg {
  color: var(--teal);
  transition: transform 190ms ease, color 190ms ease;
}

.service-card:hover svg {
  color: var(--cyan);
  transform: scale(1.08);
}

.service-card h3,
.case-card h3 {
  margin: 18px 0 10px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.service-card p,
.case-card p {
  color: var(--muted);
  line-height: 1.58;
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 19px;
  color: #303842;
  line-height: 1.7;
}

.proof {
  background: #fbfcfc;
}

.logo-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 20, 24, 0.04);
}

.logo-grid {
  display: grid;
  gap: 12px;
}

.clients-grid {
  grid-template-columns: repeat(5, 1fr);
}

.partners-grid {
  grid-template-columns: repeat(6, 1fr);
}

.logo-tile {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid #e7ebef;
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.logo-tile:hover {
  border-color: rgba(18, 168, 191, 0.32);
  box-shadow: 0 12px 26px rgba(17, 20, 24, 0.08);
  transform: translateY(-3px);
}

.logo-tile img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  transition: transform 180ms ease, filter 180ms ease;
}

.logo-tile:hover img {
  filter: saturate(1.08);
  transform: scale(1.03);
}

.partner-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.partner-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  line-height: 1.1;
}

.systems {
  background: #eef5f6;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.system-node {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(8, 127, 140, 0.24);
  border-radius: var(--radius);
  background: #fff;
  color: #18343a;
  font-weight: 780;
  box-shadow: 0 8px 22px rgba(8, 127, 140, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.system-node:hover {
  border-color: rgba(8, 127, 140, 0.42);
  box-shadow: 0 16px 30px rgba(8, 127, 140, 0.12);
  transform: translateY(-3px);
}

.case-type {
  display: inline-flex;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf2fa;
  font-size: 0.76rem;
  font-weight: 800;
}

.case-card dl {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.case-card dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.case-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card dd {
  margin: 0;
  color: #1e252c;
}

.process {
  background: var(--charcoal);
  color: #fff;
}

.process .eyebrow {
  color: var(--amber);
}

.process-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  padding: 22px 22px 22px 74px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  counter-increment: step;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.process-list li:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--charcoal);
  background: var(--amber);
  font-weight: 850;
}

.process-list span {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
}

.process-list p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.audit {
  background: #fbfcfc;
}

.audit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.audit-list div {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 740;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.audit-list div:hover {
  border-color: rgba(46, 125, 91, 0.32);
  box-shadow: 0 14px 28px rgba(17, 20, 24, 0.08);
  transform: translateY(-3px);
}

.audit-list svg {
  color: var(--green);
}

.contact {
  background: #eef5f6;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-details div {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #26323c;
  font-weight: 740;
}

.contact-details svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
  flex: 0 0 auto;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #2f3740;
  font-weight: 720;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #aab7c3;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(18, 168, 191, 0.12);
}

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

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thank-you-page {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 92px 0;
  background: #eef5f6;
}

.thank-you-panel {
  max-width: 780px;
}

.thank-you-panel h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
}

.thank-you-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #0d1117;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-layout strong {
  color: #fff;
}

.footer-layout p {
  max-width: 580px;
  margin: 8px 0 0;
  line-height: 1.55;
}

.footer-layout small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.54);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.footer-links a {
  color: #fff;
}

.page-hero {
  padding: 104px 0 76px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(13, 17, 23, 0.94), rgba(13, 17, 23, 0.74)),
    url("assets/hero-growth-systems.png") center / cover;
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 44px;
  align-items: end;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.18rem, 4.4vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.65;
}

.portfolio-summary {
  display: grid;
  gap: 12px;
}

.portfolio-summary div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.portfolio-summary div:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.portfolio-summary strong,
.portfolio-summary span {
  display: block;
}

.portfolio-summary strong {
  font-size: 2.1rem;
}

.portfolio-summary span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-list {
  display: grid;
  gap: 18px;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(240px, 0.36fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 20, 24, 0.04);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.portfolio-item:hover {
  border-color: rgba(18, 168, 191, 0.36);
  box-shadow: 0 18px 36px rgba(17, 20, 24, 0.1);
  transform: translateY(-4px);
}

.portfolio-item.standout {
  border-color: rgba(18, 168, 191, 0.34);
  background: linear-gradient(180deg, #fff, #f5fbfc);
}

.portfolio-logo {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid #e7ebef;
  border-radius: var(--radius);
  background: #fff;
}

.portfolio-logo img {
  max-height: 70px;
  object-fit: contain;
}

.portfolio-logo.text-logo {
  color: #fff;
  background: var(--charcoal);
  font-size: 1.7rem;
  font-weight: 850;
}

.portfolio-content h3 {
  margin: 12px 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  line-height: 1.05;
}

.portfolio-content p,
.portfolio-proof p,
.portfolio-cta-box p {
  color: var(--muted);
  line-height: 1.62;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.portfolio-tags span {
  padding: 7px 9px;
  border-radius: 999px;
  color: #21434a;
  background: #e9f5f7;
  font-size: 0.78rem;
  font-weight: 760;
}

.portfolio-proof {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--soft);
}

.portfolio-proof strong {
  display: block;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.portfolio-proof p {
  margin: 8px 0 0;
}

.portfolio-proof-section {
  padding-top: 76px;
}

.portfolio-cta {
  background: var(--charcoal);
  color: #fff;
}

.portfolio-cta .eyebrow {
  color: var(--amber);
}

.portfolio-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.portfolio-cta-box h2 {
  margin: 0;
  max-width: 820px;
}

.portfolio-cta-box p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: var(--header-h);
    padding: 0 18px;
    /* Drop backdrop-filter: it would make the header a containing block for
       the fixed menu panel, collapsing its height. Background stays opaque. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0d1117;
  }

  .nav-toggle {
    display: grid;
  }

  /* Hide the desktop header CTA — it now lives inside the menu panel. */
  .header-cta {
    display: none;
  }

  /* Slide-in menu panel anchored below the header bar. */
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 50;
    width: min(86vw, 340px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    background: #0d1117;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -24px 0 60px rgba(8, 11, 15, 0.45);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 320ms;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav a {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 14px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a:last-of-type {
    border-bottom: none;
  }

  .nav a:hover,
  .nav a.active {
    transform: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  /* In-menu CTA button at the bottom of the panel. */
  .nav-cta {
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    color: #fff;
    background: var(--cyan);
    font-weight: 760;
    border-bottom: none;
  }

  .nav-cta:hover {
    color: #fff;
    background: #0e9eb3;
  }

  .nav-cta svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .intro-layout,
  .enterprise-layout,
  .systems-layout,
  .process-layout,
  .audit-layout,
  .contact-layout,
  .page-hero-layout,
  .portfolio-item,
  .portfolio-cta-box,
  .partner-block,
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-logo {
    min-height: 96px;
  }

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

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

  .signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 12px 14px 9px;
  }

  .brand-logo {
    width: 148px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.85rem;
  }

  .header-cta svg {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 112px);
  }

  .hero-content {
    padding: 64px 0 72px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.85rem);
    line-height: 1.06;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof span {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .audit-list,
  .system-map,
  .clients-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .case-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-layout {
    display: grid;
  }
}
