@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Urbanist;
  src: url("assets/fonts/urbanist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1e6091;
  --navy-dark: #12364f;
  --teal: #168aad;
  --teal-bright: #0fa5b1;
  --mint: #ecfdf6;
  --green: #76c893;
  --ink: #162631;
  --muted: #5f6e7b;
  --line: #d9e7eb;
  --white: #ffffff;
  --soft: #f7fbfc;
  --gold: #d8aa4d;
  --shadow: 0 18px 50px rgba(18, 54, 79, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--navy-dark);
  background: var(--white);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(9, 26, 39, 0.86), rgba(9, 26, 39, 0.08));
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: #0e2a3d;
  box-shadow: 0 12px 32px rgba(12, 32, 45, 0.2);
}

.brand img {
  width: 166px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .nav-trigger:hover,
.site-nav .nav-trigger:focus-visible {
  color: var(--white);
}

.site-nav .nav-dropdown {
  position: relative;
}

.site-nav .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-nav .nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-nav .nav-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 25;
  display: grid;
  min-width: 220px;
  padding: 10px;
  background: rgba(14, 42, 61, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(12, 32, 45, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav .nav-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.site-nav .nav-menu a:hover,
.site-nav .nav-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-dropdown:hover .nav-menu,
.site-nav .nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--navy-dark);
  background: var(--green);
  border-radius: 999px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--navy-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: var(--white);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82svh;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  object-fit: cover;
  object-position: 64% 50%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 22, 35, 0.94) 0%, rgba(11, 39, 58, 0.76) 39%, rgba(9, 27, 38, 0.18) 72%),
    linear-gradient(180deg, rgba(7, 22, 34, 0.68) 0%, rgba(7, 22, 34, 0.08) 45%, rgba(7, 22, 34, 0.48) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 104px);
  padding-top: 82px;
}

.hero-v2 {
  min-height: 88svh;
}

.hero-v2-content {
  width: min(860px, calc(100% - 40px));
}

.hero-v2 h1 {
  max-width: 10.5ch;
  font-size: clamp(3.9rem, 7vw, 7rem);
}

.authority-row {
  display: inline-grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  max-width: 520px;
  margin-bottom: 28px;
  padding: 9px 14px 9px 9px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.authority-row img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 50%;
}

.authority-row p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 14px;
  color: #0a7480; /* AA on white and soft backgrounds */
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bff4e4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family:
    Urbanist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4.4rem, 8vw, 7.6rem);
  font-weight: 850;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

.button-primary {
  color: var(--navy-dark);
  background: var(--green);
  border-color: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--white);
  background: #0a7480;
  border-color: #0a7480;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

:root {
  /* Single source of vertical section rhythm. mockup.css no longer adds its own
     .section-inner padding, so this is the only padding between bands. */
  --section-pad: clamp(40px, 4vw, 56px);
}

.section {
  padding: var(--section-pad) 0;
}

@media (max-width: 560px) {
  :root {
    --section-pad: 32px;
  }
}

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

.section-light {
  background: var(--soft);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 520px;
  margin-bottom: 0;
}

.section-heading h2,
.orbit-copy h2,
.cta-layout h2 {
  color: var(--navy-dark);
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  font-weight: 830;
}

.section-heading p:not(.eyebrow),
.orbit-copy p,
.cta-layout p,
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.signal-band {
  background: var(--mint);
  border-bottom: 1px solid var(--line);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.signal-grid article {
  min-height: 168px;
  padding: 28px;
  background: var(--mint);
}

.signal-grid span,
.service-index,
.orbit-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--navy-dark);
  background: rgba(118, 200, 147, 0.36);
  font-size: 0.75rem;
  font-weight: 900;
}

.signal-grid h2 {
  color: var(--navy-dark);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.25;
}

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

.service-card {
  min-height: 276px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(18, 54, 79, 0.06);
}

.service-card h2,
.service-card h3,
.decision-list h3 {
  color: var(--navy-dark);
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-card a,
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.service-card a:hover,
.service-card a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--navy-dark);
  text-decoration: underline;
}

.service-card p,
.decision-list p,
.orbit-panel p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-secondary {
  max-width: 820px;
  margin: 32px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-secondary a {
  color: var(--teal);
  font-weight: 700;
}

.services-choice-hero {
  padding: clamp(122px, 10vw, 150px) 0 34px;
  color: var(--white);
  background: #102f46;
}

.services-choice-hero h1 {
  max-width: 1200px;
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 4.6vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.services-choice-hero .eyebrow {
  color: #a6e5c2;
}

.services-choice-section {
  padding: clamp(48px, 5vw, 70px) 0 78px;
  background: var(--white);
}

.services-choice-hero .section-inner,
.services-choice-section .section-inner {
  width: min(1320px, calc(100% - 80px));
}

.services-choice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  grid-template-areas: "intro cards" "flow cards";
  grid-template-rows: auto 1fr;
  gap: clamp(30px, 3vw, 50px);
  align-items: start;
}

.services-choice-intro { grid-area: intro; }
.challenge-flow { grid-area: flow; }
.choice-services { grid-area: cards; }

.services-choice-rule {
  display: block;
  width: 64px;
  height: 4px;
  margin: 10px 0 19px;
  background: #1caa70;
}

.services-choice-intro h2 {
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-size: clamp(2.1rem, 3.3vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.services-choice-intro > p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.services-choice-intro > p + p {
  margin-top: 14px;
}

.services-choice-intro .services-choice-prompt {
  margin-top: 20px;
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 650;
}

.services-choice-prompt a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.challenge-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(92px, 0.7fr) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin-top: 0;
}

.challenge-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.challenge-inputs,
.challenge-outcomes,
.challenge-route {
  position: relative;
  z-index: 1;
}

.services-choice-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding: 24px 28px;
  border-radius: 12px;
  background: #f1f8fa;
}

.services-choice-next h2 { margin: 0 0 5px; color: var(--navy-dark); font-size: 1.35rem; }
.services-choice-next p { margin: 0; color: var(--muted); }
.services-choice-next .button { flex: 0 0 auto; }

.challenge-inputs,
.challenge-outcomes {
  display: grid;
  gap: 10px;
}

.challenge-inputs {
  padding: 15px;
  background: #f1f8fa;
  border-radius: 12px;
}

.challenge-inputs strong {
  color: var(--navy-dark);
  line-height: 1.25;
}

.challenge-inputs span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--navy-dark);
  font-size: 0.78rem;
  line-height: 1.3;
}

.challenge-inputs img,
.challenge-outcomes img {
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
}

.challenge-route {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 36px;
  height: 36px;
  background: var(--navy-dark);
  border-radius: 50%;
}

.challenge-route img {
  width: 23px;
  height: 23px;
  filter: invert(1);
}

.challenge-outcomes span {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 12px 10px;
  color: var(--navy-dark);
  background: #eaf8ef;
  border-radius: 10px;
}

.challenge-outcomes span:nth-child(2) {
  background: #e8f4f9;
}

.challenge-outcomes b {
  line-height: 1.1;
}

.challenge-outcomes small {
  grid-column: 2;
  font-size: 0.875rem;
  line-height: 1.3;
}

.choice-services {
  display: grid;
  gap: 14px;
}

.choice-service {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.choice-service-graphic {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 62px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.choice-service-graphic img {
  width: min(28%, 38px);
  height: 38px;
}

.choice-service-graphic img[src$="arrow-right.svg"] {
  width: 17px;
  height: 17px;
}

.choice-service h2 {
  margin: 0 0 5px;
  color: var(--navy-dark);
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.2;
}

.choice-service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.choice-service a {
  display: inline-block;
  margin-top: 9px;
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.choice-service a:hover,
.choice-service a:focus-visible {
  color: var(--navy-dark);
  text-decoration: underline;
}

@media (max-width: 1050px) {
  .services-choice-hero .section-inner,
  .services-choice-section .section-inner { width: min(760px, calc(100% - 40px)); }

  .services-choice-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "cards" "flow";
    grid-template-rows: auto;
  }

  .challenge-flow {
    max-width: 600px;
  }

  .choice-service {
    grid-template-columns: 150px 1fr;
  }
}

@media (max-width: 560px) {
  .services-choice-hero {
    padding-top: 96px;
  }

  .challenge-flow {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 8px;
  }

  .challenge-wires { display: none; }

  .challenge-inputs {
    padding: 16px;
  }

  .challenge-inputs span {
    font-size: 0.82rem;
  }

  .challenge-route {
    width: 32px;
    height: 32px;
    justify-self: center;
    transform: rotate(90deg);
  }

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

  .challenge-outcomes span {
    padding: 12px 10px;
    grid-template-columns: 30px 1fr;
    column-gap: 5px;
    font-size: 0.86rem;
  }

  .challenge-outcomes img {
    width: 25px;
    height: 25px;
  }

  .challenge-outcomes small {
    font-size: 0.875rem;
  }

  .services-choice-next { align-items: stretch; flex-direction: column; padding: 20px; }

  .choice-service {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 20px;
  }

  .choice-service-graphic {
    min-height: 40px;
    border-right: 0;
    padding-right: 0;
  }

  .choice-service-graphic img {
    height: 32px;
  }
}

.orbit-section {
  background:
    linear-gradient(135deg, rgba(236, 253, 246, 0.94), rgba(255, 255, 255, 0.86)),
    linear-gradient(90deg, rgba(22, 138, 173, 0.12), rgba(118, 200, 147, 0.12));
}

.growth-section {
  background: var(--white);
}

.growth-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.growth-matrix,
.offer-grid,
.timeline-grid {
  display: grid;
  gap: 16px;
}

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

.growth-matrix article,
.offer-card,
.plan-panel,
.timeline-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 54, 79, 0.07);
}

.growth-matrix article {
  min-height: 250px;
  padding: 24px;
}

.growth-matrix span,
.offer-card span,
.phase-list span,
.timeline-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.growth-matrix h3,
.offer-card h2,
.plan-panel h2,
.timeline-grid h3 {
  color: var(--navy-dark);
  font-size: 1.28rem;
  line-height: 1.2;
}

.growth-matrix p,
.offer-card p,
.plan-panel p,
.timeline-grid p {
  color: var(--muted);
}

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

.offer-card {
  min-height: 260px;
  padding: 26px;
}

.offer-card.featured {
  grid-column: span 2;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 54, 79, 0.98), rgba(22, 138, 173, 0.92)),
    var(--navy-dark);
}

.offer-card.featured h2,
.offer-card.featured p {
  color: var(--white);
}

.offer-card a:not(.button) {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

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

.plan-panel {
  padding: clamp(26px, 4vw, 38px);
}

.phase-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.phase-list div {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phase-list h3 {
  color: var(--navy-dark);
  font-size: 1.2rem;
}

.roadmap-section {
  background: var(--mint);
}

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

.timeline-grid article {
  min-height: 230px;
  padding: 22px;
}

.proof-strip {
  padding: 0;
  color: var(--white);
  background: var(--navy-dark);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.proof-grid article {
  min-height: 160px;
  padding: 28px;
  background: #102f45;
}

.proof-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-family:
    Urbanist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 900;
  line-height: 0.95;
}

.proof-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 720;
}

.split-visual {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.08fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.split-visual.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
}

.split-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-band {
  background:
    linear-gradient(135deg, rgba(236, 253, 246, 0.92), rgba(255, 255, 255, 0.86)),
    var(--mint);
}

.founder-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 40, 56, 0.98), rgba(24, 78, 119, 0.92)),
    var(--navy-dark);
}

.founder-band-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.founder-band-layout > img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.founder-band h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 4.6rem);
}

.founder-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.story-hero {
  padding-bottom: 54px;
}

.story-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.story-hero-layout h1 {
  max-width: 980px;
}

.story-hero-layout > img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.story-facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.story-facts article {
  padding: 22px;
  background: var(--white);
}

.story-facts span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.story-facts p {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
}

.story-copy {
  max-width: 790px;
}

.story-copy h2 {
  color: var(--navy-dark);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
}

.story-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.guide-hero .hero-actions {
  margin-top: 30px;
}

.guide-layout,
.article-layout {
  display: grid;
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.guide-layout {
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
}

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

.split-visual .guide-phases {
  grid-template-columns: 1fr;
}

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

.article-card {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 54, 79, 0.07);
}

.article-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-card h2 {
  color: var(--navy-dark);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

.article-card p {
  color: var(--muted);
}

.article-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.article-card a:hover,
.article-card a:focus-visible {
  color: var(--navy-dark);
  text-decoration: underline;
}

.article-page {
  padding: 132px 0 78px;
  background: var(--soft);
}

.article-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.38fr);
}

.article-content {
  padding: clamp(26px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-content h1 {
  max-width: 980px;
  color: var(--navy-dark);
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.article-meta {
  margin: 16px 0 28px;
  color: var(--muted);
  font-weight: 750;
}

.article-content h2 {
  margin-top: 40px;
  color: var(--navy-dark);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.article-content h3 {
  color: var(--navy-dark);
  font-size: 1.15rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 1.04rem;
}

.article-content ul {
  padding-left: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list section {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list p {
  margin-bottom: 0;
}

.article-sidebar {
  position: sticky;
  top: 104px;
}

.sidebar-panel {
  padding: 26px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 54, 79, 0.98), rgba(22, 138, 173, 0.92)),
    var(--navy-dark);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(18, 54, 79, 0.18);
}

.sidebar-panel h2 {
  color: var(--white);
  font-size: 1.55rem;
}

.sidebar-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.orbit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.orbit-copy p {
  margin-bottom: 28px;
}

.orbit-panel {
  display: grid;
  gap: 14px;
}

.orbit-panel div {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 54, 79, 0.07);
}

.orbit-panel span {
  margin-bottom: 0;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.decision-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.decision-list article {
  padding: 26px;
  background: var(--white);
}

.cta-section {
  color: var(--white);
  background: var(--navy-dark);
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr) auto;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.cta-layout h2 {
  color: var(--white);
}

.cta-layout p {
  color: rgba(255, 255, 255, 0.77);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9dbe2;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfe;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(15, 165, 177, 0.2);
  border-color: var(--teal);
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #0f2838;
}

.page-hero {
  padding: 142px 0 72px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 54, 79, 0.98), rgba(22, 138, 173, 0.86)),
    var(--navy-dark);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.55rem, 4.8vw, 4.8rem);
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.page-hero .eyebrow {
  color: #bff4e4;
}

.visual-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.page-hero-media,
.detail-visual,
.article-hero-image,
.supporting-visual {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero-media {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 64px rgba(5, 20, 32, 0.34);
}

.supporting-visual {
  aspect-ratio: 16 / 10;
  margin-top: 22px;
}

.card-media {
  width: calc(100% + 56px);
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: -28px -28px 22px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.detail-visual {
  margin: 32px 0 8px;
}

.ai-detail-visual {
  display: block;
  max-width: 880px;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.article-hero-image {
  aspect-ratio: 16 / 8;
  margin: 6px 0 28px;
}

.not-found,
.service-detail {
  min-height: 100svh;
  padding: clamp(38px, 7vw, 86px);
  background: var(--soft);
}

.service-detail {
  padding-top: clamp(118px, 12vw, 156px);
}

.not-found {
  display: grid;
  place-content: center;
  justify-items: start;
}

.not-found img {
  width: 190px;
  margin-bottom: 28px;
}

.not-found h1,
.service-detail h1 {
  max-width: 920px;
  color: var(--navy-dark);
  font-size: clamp(2.6rem, 7vw, 6.2rem);
}

.not-found p,
.service-detail > p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

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

.detail-grid section {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-grid h2 {
  color: var(--navy-dark);
  font-size: 1.22rem;
}

.detail-grid p {
  color: var(--muted);
}

.overnight-conversion {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 42px;
}

.overnight-workflow h2 {
  max-width: 620px;
  color: var(--navy-dark);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

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

.handoff-list li {
  position: relative;
  display: block;
  min-height: 78px;
  padding: 18px;
  padding-left: 74px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.handoff-list li::before {
  counter-increment: handoff;
  content: counter(handoff, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy-dark);
  background: var(--mint);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

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

.handoff-list strong {
  color: var(--navy-dark);
  line-height: 1.2;
}

.handoff-list span {
  margin-top: 4px;
  color: var(--muted);
}

.footer-layout {
  display: grid;
  grid-template-columns: 170px minmax(280px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
}

.footer-layout img {
  width: 154px;
}

.footer-layout p {
  margin: 0;
}

.site-footer img.footer-phone {
  display: block;
  width: 234px;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}

.site-footer .footer-inner > strong {
  white-space: nowrap;
}

.contact-phone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.contact-phone img {
  width: 234px;
  height: auto;
}

.footer-layout a {
  color: #bff4e4;
  font-weight: 800;
  text-decoration: none;
}

/* Toggle takes over before the six-item menu runs out of room */
@media (max-width: 1180px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(14, 42, 61, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-trigger {
    padding: 14px;
  }

  .site-nav .nav-dropdown {
    display: grid;
  }

  .site-nav .nav-menu {
    position: static;
    min-width: 0;
    margin: -4px 0 4px;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav .nav-menu a {
    padding: 10px 14px;
  }

  .site-nav .nav-cta {
    margin-top: 6px;
    justify-content: center;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 78svh;
  }

  .hero-content {
    width: min(640px, calc(100% - 36px));
    margin-left: 20px;
  }

  .signal-grid,
  .service-grid,
  .proof-grid,
  .growth-layout,
  .growth-matrix,
  .offer-grid,
  .blog-grid,
  .orbit-layout,
  .approach-layout,
  .split-visual,
  .split-visual.reverse,
  .founder-band-layout,
  .story-hero-layout,
  .story-layout,
  .cta-layout,
  .contact-layout,
  .guide-layout,
  .guide-phases,
  .article-layout,
  .visual-hero-grid,
  .detail-grid,
  .overnight-conversion,
  .plan-layout,
  .timeline-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .offer-card.featured {
    grid-column: auto;
  }

  .cta-layout {
    align-items: start;
  }

  .article-sidebar {
    position: static;
  }

  .story-hero-layout {
    align-items: start;
  }

  .story-hero-layout > img,
  .founder-band-layout > img {
    max-height: 360px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand img {
    width: 140px;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    padding-top: 68px;
  }

  .authority-row {
    grid-template-columns: 46px minmax(0, 1fr);
    margin-bottom: 20px;
  }

  .authority-row img {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 3.85rem);
  }

  .hero-v2 h1 {
    font-size: 2.9rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, 1160px);
  }

  .section {
    padding: var(--section-pad) 0;
  }

  .service-card,
  .contact-form {
    padding: 22px;
  }

  .card-media {
    width: calc(100% + 44px);
    margin: -22px -22px 18px;
  }

  .article-hero-image {
    aspect-ratio: 4 / 3;
  }

  .orbit-panel div {
    grid-template-columns: 44px 1fr;
    padding: 18px;
  }
}

/* Eyebrows inside sections whose paragraph colour would otherwise win */
.story-copy .eyebrow,
.contact-section .eyebrow {
  color: #0a7480;
}

/* Shared site footer (all live pages) */
footer.site-footer {
  padding: 0;
}

.footer-main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(300px, 1fr) auto;
  gap: 40px 56px;
  align-items: start;
}

.footer-logo {
  display: inline-block;
}

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

.site-footer .footer-services {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 40px;
  align-content: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #bff4e4;
  text-decoration: underline;
}

.footer-contact {
  padding-top: 2px;
}

.footer-bottom {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer .footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 48px 0 36px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 32px;
  }
}

/* Illustrative hero graphics on service pages (replace photos) */
.mock-visual {
  max-width: 880px;
  margin: 32px auto 8px;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mock-visual figcaption {
  padding: 8px 16px 10px;
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.mock-visual svg text {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.mock-inner {
  padding: 18px 18px 14px;
}

.mock-scroll {
  overflow-x: auto;
}

.mock-scroll svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Dashboard */
.dash {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  background: #f3f7f9;
}

.dash-rail {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 9px;
  background: var(--navy-dark);
}

.dash-rail i {
  display: block;
  height: 16px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.dash-rail i.on {
  background: #76c893;
}

.dash-main {
  display: grid;
  gap: 10px;
  padding: 12px;
  min-width: 0;
}

.dash-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
}

.dash-filters b {
  margin-right: auto;
  color: var(--navy-dark);
  font-size: 0.9rem;
}

.dash-filters span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dash-kpis div,
.dash-card {
  min-width: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.dash-kpis div {
  border-top: 3px solid var(--teal);
}

.dash-kpis small,
.dash-card small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.dash-kpis strong {
  display: block;
  color: var(--navy-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.dash-kpis em {
  color: #4f5f6b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
}

.dash-charts {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 10px;
}

.dash-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
}

.dash-svg text {
  fill: var(--muted);
  font-size: 9px;
}

.dash-svg text.big {
  fill: var(--navy-dark);
  font-size: 15px;
  font-weight: 800;
}

.dash-pie {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  column-gap: 8px;
}

.dash-pie small {
  grid-column: 1 / -1;
}

.dash-pie ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.7rem;
}

.dash-pie li {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.8;
}

.dash-pie li i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.dash-matrix table {
  width: 100%;
  margin-top: 6px;
  border-collapse: collapse;
  font-size: 0.7rem;
}

.dash-matrix th,
.dash-matrix td {
  padding: 3px 4px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}

.dash-matrix th:first-child,
.dash-matrix td:first-child {
  text-align: left;
}

.dash-matrix th {
  color: var(--muted);
}

.dash-matrix tr:last-child td {
  font-weight: 800;
  border-bottom: 0;
}

/* Gantt */
.gantt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.gantt-chips span {
  padding: 4px 14px;
  color: var(--navy-dark);
  background: var(--mint);
  border: 1px solid #b7e4c7;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.gantt-svg .gh,
.gantt-svg .gl {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.gantt-svg .gh {
  fill: var(--navy-dark);
}

.gantt-svg .gt {
  fill: var(--navy-dark);
  font-size: 11px;
  font-weight: 800;
}

/* BPMN */
.bpmn-svg .bt {
  fill: #fff;
  font-size: 13px;
  font-weight: 700;
}

.bpmn-svg .bh {
  fill: var(--navy-dark);
  font-size: 13px;
  font-weight: 800;
}

.bpmn-svg .bl {
  fill: var(--navy-dark);
  font-size: 12px;
  font-weight: 700;
}

.bpmn-svg .bs {
  fill: var(--muted);
  font-size: 11px;
}

@media (max-width: 760px) {
  .dash-charts {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .dash {
    grid-template-columns: 1fr;
  }

  .dash-rail,
  .dash-pie,
  .dash-line,
  .dash-matrix,
  .dash-filters span:last-child {
    display: none;
  }

  .mock-inner {
    padding: 14px 12px 10px;
  }

  .mock-gantt .mock-scroll svg,
  .mock-bpmn .mock-scroll svg {
    width: 640px;
    max-width: none;
  }
}

/* ------------------------------------------------------------------
   Final pages review (issue 15 agreed plans, sitewide items)
   ------------------------------------------------------------------ */

/* A-16: solid header on service detail pages */
body:has(> main.service-detail) .site-header {
  background: #0e2a3d;
}

/* P2-F2, Home items 7 and 10: 44px targets */
.nav-toggle {
  width: 44px;
  height: 44px;
}

.site-nav .nav-cta {
  min-height: 44px;
}

@media (min-width: 1181px) {
  .site-nav a:not(.nav-cta) {
    padding-block: 10px;
  }
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* P16-F6 */
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* P1-F1, P1-7, P3-F3: small links and the back link */
.text-link {
  align-items: center;
  min-height: 44px;
  color: #0a7480;
}

.service-detail > .text-link {
  margin: 0 0 12px;
}

/* Agreed focus ring (P2-F2, P16-F7, A-9) */
.skip-link:focus-visible,
.button:focus-visible,
.brand:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible,
.text-link:focus-visible,
.footer-links a:focus-visible,
.footer-logo:focus-visible,
.footer-contact a:focus-visible,
.choice-service a:focus-visible,
.services-choice-prompt a:focus-visible,
.service-offers-link a:focus-visible,
.service-related a:focus-visible,
.detail-related a:focus-visible,
.offer-guide-link:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

.skip-link {
  z-index: 1000;
}

main:focus {
  outline: none;
}

/* Page 1, Offers (P1-2, P1-7, P1-10, P1-11) */
.page-hero .page-hero-cta {
  margin-top: 26px;
}

.offer-card a.offer-guide-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #0a7480;
  text-decoration: underline;
}

.page-offers .section-heading.compact h2 {
  font-size: clamp(28px, 3vw, 40px);
  text-wrap: balance;
}

@media (max-width: 760px) {
  .page-offers .page-hero-media {
    display: none;
  }
}

/* Page 2, Services (P2-2, P2-F1, P2-F2, P2-F5, P2-F7) */
.services-hero-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.services-choice-hero .services-hero-cta {
  margin-top: 22px;
}

.services-choice-hero h1,
.choice-service h2 {
  text-wrap: balance;
}

.services-choice-intro h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  text-wrap: balance;
}

.choice-service a,
.services-choice-prompt a {
  color: #0a7480;
}

.choice-service a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2px;
}

.service-offers-link {
  margin: 28px 0 8px;
  color: var(--navy-dark);
  font-weight: 650;
}

.service-offers-link a,
.service-related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #0a7480;
  font-weight: 700;
}

.service-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 32px;
  margin-top: 8px;
}

.service-related p {
  margin: 0 0 4px;
  color: #0a7480;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* P4-R1: shared service detail hero (gated by the A-12 check) */
.service-detail h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  overflow-wrap: normal;
  text-wrap: balance;
}

.service-detail > p:not(.eyebrow),
.detail-grid p {
  text-wrap: pretty;
}

@media (max-width: 560px) {
  .service-detail {
    padding: 88px 20px 38px;
  }
}

@media (max-width: 360px) {
  .service-detail h1 {
    font-size: 2rem;
  }
}

@media (max-height: 520px) {
  .service-detail {
    padding-top: 88px;
  }

  .service-detail h1 {
    font-size: 2rem;
  }

  .service-detail > h1 + p {
    margin: 10px 0 14px;
    line-height: 1.5;
  }
}

/* P7-R1: shared section H2 on detail pages (gated by the A-12 check) */
.service-detail > h2 {
  max-width: 820px;
  margin: clamp(40px, 5vw, 64px) 0 12px;
  color: var(--navy-dark);
  font-size: clamp(28px, 3vw, 40px);
  text-wrap: balance;
}

.service-detail .detail-visual {
  margin-left: 0;
}

/* P4-6 and later pages: desktop photo cap */
.detail-visual {
  height: auto;
}

@media (min-width: 761px) {
  .service-detail > .detail-visual:not(.ai-detail-visual):not(.overnight-visual) {
    aspect-ratio: 16 / 7;
  }
}

/* Page 3, AI advisory (P3-F1, P3-F6, P3-F10, P3-F11) */
.detail-grid h2,
.detail-grid h3 {
  color: var(--navy-dark);
  font-size: 1.22rem;
  text-wrap: balance;
}

.ai-advisory > p:not(.eyebrow) {
  text-wrap: pretty;
}

.detail-figure {
  max-width: 880px;
  margin: 32px 0 40px;
}

.detail-figure .detail-visual {
  margin: 0;
}

.detail-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
}

.ai-detail-visual {
  margin-bottom: 40px;
}

@media (max-width: 560px) {
  .service-detail.ai-advisory {
    padding: 88px 20px 38px;
  }
}

/* Page 3 overrides that must follow P4-R1 and P7-R1 */
.service-detail.ai-advisory h1 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  text-wrap: balance;
}

.service-detail.ai-advisory > h2 {
  max-width: none;
  font-size: clamp(32px, 3.4vw, 48px);
  text-wrap: balance;
}

/* Page 5, Business Central Customization Assessment (P5-F2, P5-F4, P5-F8) */
.service-detail.service-detail--assessment h1 {
  font-size: clamp(1.75rem, 0.9rem + 4.4vw, 4.5rem);
  text-wrap: balance;
}

@media (max-width: 420px) {
  .service-detail.service-detail--assessment {
    padding-inline: 20px;
  }
}

#start {
  scroll-margin-top: 104px;
}

.overnight-workflow h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1;
  text-wrap: balance;
}

.contact-form input,
.contact-form textarea {
  border-color: #7a8b97;
}

.contact-form :is(input, textarea):focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

.contact-form .form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Page 7, workflow diagram (A-13, P7-C3: vertical SVG at 760px and narrower) */
.bpmn-svg.bpmn-v {
  display: none;
}

.bpmn-v .bt,
.bpmn-v .bh,
.bpmn-v .bl {
  font-size: 15px;
}

.bpmn-v .bs {
  font-size: 14.5px;
}

@media (max-width: 760px) {
  .mock-bpmn .mock-scroll svg.bpmn-h {
    display: none;
  }

  .mock-bpmn .mock-scroll svg.bpmn-v {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Page 9 related row (P9-C2), shared by later detail pages */
.service-detail > p.detail-related {
  margin: 24px 0;
  font-size: 1rem;
}

.detail-related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #0a7480;
  font-weight: 700;
}

/* Page 10 (P10-F10) */
@media (max-width: 360px) {
  .service-detail.service-detail--rescue-advisory > h2 {
    font-size: 1.5rem;
  }
}

/* Page 11, project plan scroller (P11-F3, P11-F7, P11-6) */
.mock-gantt .mock-scroll svg {
  min-width: 760px;
  max-width: none;
}

.gantt-svg .gt {
  font-size: 13px;
}

.gantt-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (min-width: 941px) {
  .gantt-hint {
    display: none;
  }
}

.mock-scroll:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

.detail-grid .text-link {
  margin-top: 8px;
}

/* Page 12 (P12-F6, P12-F7) */
@media (min-width: 761px) {
  .service-detail > .detail-visual--stabilization {
    object-position: 50% 20%;
  }
}

.service-detail .detail-grid section {
  min-height: 0;
}

/* Page 13 Actual/Budget key (P13-C3) */
.dash-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.7rem;
}

.dash-key li {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.8;
}

.dash-key i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

/* Page 17, About */
.section-heading h2,
.story-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  text-wrap: balance;
}

.story-hero h1 {
  text-wrap: balance;
}

@media (max-width: 360px) {
  .story-hero h1 {
    font-size: 2rem;
  }
}

.story-hero .button {
  margin-top: 24px;
}

.story-facts span {
  color: #0a7480;
}

@media (max-width: 920px) {
  .story-copy {
    order: -1;
  }
}

.story-copy p,
.section-heading p,
.decision-list p {
  text-wrap: pretty;
}

.story-hero-layout > img,
.split-visual img {
  height: auto;
}

.decision-list .text-link {
  min-height: 44px;
  align-items: center;
  color: #0a7480;
}

.about-closing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}

.about-closing h2 {
  max-width: 820px;
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(28px, 3vw, 40px);
  text-wrap: balance;
}

@media (max-width: 560px) {
  .page-hero {
    padding-top: 96px;
  }
}

/* Page 19, Contact (P19-F7) */
.contact-section .section-heading h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  text-wrap: balance;
}

/* P22-F7: 44px nav targets on every width */
.site-nav > a:not(.nav-cta) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Final pages review, page 28 (404) and page 18 H1 size */
.not-found img {
  height: auto;
}

.not-found h1 {
  font-size: clamp(1.75rem, 9.5vw, 6.2rem);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 8px;
}

.not-found-actions a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #0a7480;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.not-found-actions a:not(.button):focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

@media (max-height: 520px) {
  .not-found {
    padding-block: 20px;
  }

  .not-found img {
    width: 150px;
    margin-bottom: 16px;
  }
}

/* A4-10, A4-11: noindex continuation pages */
.continuation-hero p a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.continuation-hero .button-row {
  margin-top: 28px;
}

.contact-form-hubspot { min-height: 420px; }
.contact-form-hubspot .hs-form-frame { width: 100%; }

/* M-1: merged sections reached by anchor clear the sticky header */
.service-detail > h2[id] {
  scroll-margin-top: 104px;
}

/* M-1d: compact "Choose your first ERP step" on Services (replaces /offers) */
.services-first-step {
  margin-top: 42px;
  scroll-margin-top: 104px;
}

.services-first-step > h2 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.services-first-step > p {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--muted);
}

.services-first-step .offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-first-step .offer-card {
  min-height: 0;
}

.services-first-step .offer-card.featured {
  grid-column: auto;
}

.services-first-step .offer-card h3 {
  margin: 0 0 10px;
  color: var(--navy-dark);
  font-size: 1.28rem;
  line-height: 1.2;
}

.services-first-step .offer-card.featured h3 {
  color: var(--white);
}

.services-first-step .offer-card.featured .button {
  margin-top: 6px;
}

#erp {
  scroll-margin-top: 104px;
}

@media (max-width: 760px) {
  .services-first-step .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* Privacy policy page (draft, noindex) */
.privacy-policy > h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
}

.privacy-policy > p:not(.eyebrow),
.privacy-policy > ul {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.privacy-policy > ul {
  padding-left: 1.25em;
}

.privacy-policy > ul li + li {
  margin-top: 6px;
}

.privacy-policy > h2 {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: clamp(24px, 2.6vw, 32px);
}

.privacy-policy strong {
  color: var(--navy-dark);
}

.privacy-policy a:not(.button) {
  color: #0a7480;
  text-decoration: underline;
  overflow-wrap: anywhere;
}


.privacy-table-wrap {
  max-width: 980px;
  margin: 18px 0 24px;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(14, 42, 61, 0.08);
}

.privacy-table-wrap:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
}

.privacy-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.privacy-table-wrap th,
.privacy-table-wrap td {
  padding: 10px 14px;
  border-bottom: 1px solid #dfe8ec;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.privacy-table-wrap th {
  color: var(--navy-dark);
  background: #f1f8fa;
}

.privacy-table-wrap code {
  color: var(--navy-dark);
  font-size: 0.9em;
  white-space: nowrap;
}

/* Form privacy microcopy (outside the HubSpot iframe) */
.form-privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-privacy-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #0a7480;
  text-decoration: underline;
}

/* Cookie settings footer link (HubSpot banner reopen, H-1) */
.footer-links button.footer-cookie-settings {
  appearance: none;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.footer-links button.footer-cookie-settings:hover,
.footer-links button.footer-cookie-settings:focus-visible {
  color: #bff4e4;
  text-decoration: underline;
}

.footer-links button.footer-cookie-settings:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

/* ------------------------------------------------------------------
   Consistency pass: one navy header on every page, one primary CTA
   style, a small CTA beside the menu on phones and tablets, service
   tabs on service pages and the stacked project plan on phones.
------------------------------------------------------------------ */
:root {
  --header-h: 89px;
}

@media (max-width: 560px) {
  :root {
    --header-h: 73px;
  }
}

.site-header,
.site-header.is-scrolled,
.site-header.is-open {
  min-height: var(--header-h);
  background: #0e2a3d;
  box-shadow: 0 12px 32px rgba(12, 32, 45, 0.2);
}

.site-nav .nav-cta,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #12364f;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: #fff;
  background: #0a7480;
  border-color: #0a7480;
}

.header-cta:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

.header-cta {
  display: none;
}

@media (max-width: 1180px) {
  .site-header .header-cta {
    display: inline-flex;
    margin: 0 10px 0 auto;
  }

  .site-nav .nav-cta {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-cta .header-cta-full {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 112px;
  }

  .site-header .header-cta {
    margin-right: 8px;
    padding: 0 12px;
  }
}

/* Service tabs: sticky under the header, swipe sideways on phones */
.service-detail {
  --detail-pad-x: clamp(38px, 7vw, 86px);
}

@media (max-width: 560px) {
  .service-detail {
    --detail-pad-x: 20px;
  }
}

.service-detail:has(> .service-tabs) {
  padding-top: var(--header-h);
}

.service-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  margin: 0 calc(-1 * var(--detail-pad-x)) clamp(16px, 3vw, 40px);
  padding: 0 var(--detail-pad-x);
  background: #fff;
  border-bottom: 1px solid #d9e7eb;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.service-tabs ul {
  display: flex;
  gap: 4px;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: #12364f;
  border-bottom: 3px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.service-tabs a:hover {
  color: #0a7480;
}

.service-tabs a[aria-current] {
  color: #12364f;
  border-bottom-color: #0a7480;
  font-weight: 800;
}

.service-tabs a:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: -3px;
}

.service-detail:has(> .service-tabs) [id],
.service-detail:has(> .service-tabs) #start {
  scroll-margin-top: calc(var(--header-h) + 64px);
}

/* Project plan: stacked version at 760px and narrower, no sideways scroll */
.gantt-svg.gantt-v {
  display: none;
}

@media (max-width: 760px) {
  .mock-gantt .mock-scroll svg.gantt-h {
    display: none;
  }

  .mock-gantt .mock-scroll svg.gantt-v {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 460px;
    margin: 0 auto;
  }

  .mock-gantt .gantt-hint {
    display: none;
  }
}

/* "Choose your first ERP step" sits under the ERP card in the Services card list */
.choice-services .services-first-step {
  margin: -4px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid #1caa70;
  border-radius: 12px;
  background: #f4f9f7;
}

.choice-services .services-first-step > h2 {
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.2;
}

.choice-services .services-first-step > p {
  margin-bottom: 16px;
}

@media (max-width: 1100px) {
  .choice-services .services-first-step .offer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .choice-services .services-first-step {
    padding: 18px 16px;
  }
}
