:root {
  color-scheme: light;
  --navy: #061526;
  --navy-2: #09213b;
  --blue: #114b91;
  --blue-2: #1d6ed0;
  --cyan: #2aa8e8;
  --sky: #eaf5ff;
  --paper: #f7fbff;
  --white: #ffffff;
  --ink: #0c2340;
  --muted: #55708c;
  --line: #d7e6f5;
  --line-dark: rgba(117, 175, 224, 0.28);
  --gold: #d7ae56;
  --shadow: 0 22px 60px rgba(4, 22, 43, 0.16);
  --shadow-strong: 0 32px 86px rgba(4, 22, 43, 0.24);
  --shadow-soft: 0 18px 46px rgba(4, 22, 43, 0.08);
  --shadow-deep: 0 36px 100px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background:
    radial-gradient(circle at 20% 0%, rgba(29, 110, 208, 0.08), transparent 32%),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

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

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 36px), var(--max));
  padding: 9px 10px;
  border: 1px solid rgba(12, 35, 64, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 56px rgba(4, 22, 43, 0.18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(215, 174, 86, 0.48);
  border-radius: var(--radius);
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong,
.footer-brand span {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(17, 75, 145, 0.08);
  color: var(--blue);
  outline: none;
  transform: translateY(-1px);
}

.main-nav a.is-active {
  background: rgba(17, 75, 145, 0.1);
  color: var(--blue);
}

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 75, 145, 0.18);
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
}

section {
  scroll-margin-top: 96px;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 154px 0 166px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 16, 30, 0.96) 0%, rgba(5, 19, 34, 0.86) 46%, rgba(5, 19, 34, 0.54) 100%),
    linear-gradient(180deg, rgba(4, 16, 30, 0.08), rgba(4, 16, 30, 0.74)),
    url("/assets/hero-command-center-premium.png") center / cover;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero::before {
  content: "";
  position: absolute;
  left: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 188px;
  width: 122px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 0.5fr);
  align-items: center;
  gap: 78px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.18rem, 5.35vw, 5.22rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  color: #f2f8ff;
  font-size: clamp(1.14rem, 1.75vw, 1.48rem);
  line-height: 1.35;
}

.hero-text {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(234, 245, 255, 0.78);
  font-size: 1.02rem;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(234, 245, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 245, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 780;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold), #f1cf77);
  color: #102033;
  box-shadow: 0 18px 36px rgba(215, 174, 86, 0.28);
}

.button.secondary {
  border-color: rgba(234, 245, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.button.light {
  border-color: rgba(17, 75, 145, 0.18);
  background: white;
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(4, 22, 43, 0.08);
}

.hero-system {
  justify-self: end;
  width: min(100%, 430px);
  padding: 20px;
  border: 1px solid rgba(215, 174, 86, 0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(5, 20, 36, 0.76);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(16px);
}

.hero-system-head {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(234, 245, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-system-head img {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 7px;
  object-fit: cover;
}

.hero-system-head span {
  display: grid;
  gap: 4px;
}

.hero-system-head strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  line-height: 1;
}

.hero-system-head small {
  color: rgba(234, 245, 255, 0.72);
  font-weight: 750;
}

.hero-system-routes {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.hero-system-routes a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 13px;
  border: 1px solid rgba(234, 245, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.hero-system-routes a:hover,
.hero-system-routes a:focus-visible {
  border-color: rgba(215, 174, 86, 0.58);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transform: translateX(3px);
}

.route-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(215, 174, 86, 0.42);
  border-radius: 50%;
  color: #f1cf77;
  font-size: 0.74rem;
  font-weight: 900;
}

.hero-system-routes strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.15;
}

.hero-system-routes small {
  display: block;
  margin-top: 4px;
  color: rgba(234, 245, 255, 0.72);
  font-weight: 720;
}

.program-overview {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 36px), var(--max));
  margin: -116px auto 0;
  padding-bottom: 82px;
}

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

.program-card {
  position: relative;
  display: flex;
  min-height: 462px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 75, 145, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  box-shadow: 0 26px 66px rgba(4, 22, 43, 0.14);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  outline: none;
}

.program-card img {
  width: 100%;
  height: 178px;
  min-height: 0;
  border-bottom: 1px solid rgba(17, 75, 145, 0.12);
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.08), rgba(234, 245, 255, 0.94)),
    #eef7ff;
  object-fit: cover;
}

.program-card div {
  position: relative;
  display: flex;
  min-height: 284px;
  flex: 1;
  padding: 28px 24px 24px;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 255, 0.98)),
    white;
  color: var(--ink);
}

.program-card div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(241, 207, 119, 0.48);
  border-radius: 50%;
  color: var(--blue);
  background: var(--sky);
}

.program-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.program-card h2 {
  margin: 0 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.35vw, 1.48rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.program-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 850;
}

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

.program-card em {
  display: inline-flex;
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-weight: 800;
  font-style: normal;
}

.program-card em::after {
  content: "";
  width: 16px;
  height: 1px;
  margin: 0.74em 0 0 8px;
  background: currentColor;
}

.section-intro {
  max-width: 760px;
  margin: 62px auto 0;
  text-align: center;
}

.section-intro.align-left {
  margin: 0;
  text-align: left;
}

.section-intro p,
.split-copy p,
.contact-copy p,
.implementation-section p {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-intro h2,
.split-copy h2,
.contact-copy h2,
.implementation-section h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.95rem, 3.1vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro span,
.split-copy span,
.contact-copy span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.audit-section,
.split-section,
.academy-section,
.implementation-section,
.contact-section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 82px 0;
}

.audit-header {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.6fr);
  gap: 48px;
  align-items: end;
}

.audit-header > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.audit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  counter-reset: step;
}

.audit-steps article {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 24px 56px rgba(4, 22, 43, 0.07);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.audit-steps article:hover {
  border-color: rgba(17, 75, 145, 0.26);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.audit-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -18px;
  width: 18px;
  height: 1px;
  background: var(--line);
}

.audit-steps strong,
.catalog-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 850;
}

.audit-steps h3,
.catalog-grid h3 {
  margin: 42px 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

.audit-steps p,
.catalog-grid p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  align-items: center;
  gap: 58px;
  width: 100%;
  max-width: none;
  padding: 86px max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(17, 75, 145, 0.06), transparent 50%),
    linear-gradient(135deg, #e9f5ff, #f8fcff);
}

.split-copy {
  max-width: 560px;
}

.split-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.split-copy li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 650;
}

.split-copy li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.split-image {
  padding: 16px;
  border: 1px solid rgba(17, 75, 145, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(234, 245, 255, 0.96)),
    white;
  box-shadow: var(--shadow-strong);
}

.split-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  object-fit: cover;
}

.cross-section,
.reclutag-section {
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.96), rgba(9, 33, 59, 0.9)),
    var(--navy);
}

.cross-section .split-copy p,
.reclutag-section .split-copy p {
  color: #8fd5ff;
}

.cross-section .split-copy h2,
.cross-section .split-copy li,
.reclutag-section .split-copy h2,
.reclutag-section .split-copy li {
  color: white;
}

.cross-section .split-copy span,
.reclutag-section .split-copy span {
  color: rgba(234, 245, 255, 0.78);
}

.cross-section .split-copy li::before,
.reclutag-section .split-copy li::before {
  border-color: var(--gold);
}

.logo-panel img {
  object-fit: contain;
  background: #04101e;
}

.academy-section {
  padding-bottom: 96px;
}

.academy-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(17, 75, 145, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(234, 245, 255, 0.92)),
    white;
  box-shadow: var(--shadow);
}

.academy-video {
  min-width: 0;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.94), rgba(9, 33, 59, 0.88)),
    var(--navy);
}

.academy-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(234, 245, 255, 0.16);
  border-radius: 7px;
  background: #04101e;
  object-fit: cover;
}

.academy-feature-copy {
  display: grid;
  align-content: center;
  padding: 30px 30px 30px 0;
}

.academy-feature-copy p {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academy-feature-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.academy-feature-copy span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.academy-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.academy-preview article {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(17, 75, 145, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 245, 255, 0.76)),
    white;
  box-shadow: var(--shadow-soft);
}

.academy-preview strong {
  display: block;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: 1;
}

.academy-preview span {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 780;
  line-height: 1.24;
}

.library-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.library-actions span {
  max-width: 620px;
  color: var(--muted);
  font-weight: 680;
}

.academy-library {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.media-card {
  overflow: hidden;
  border: 1px solid rgba(17, 75, 145, 0.16);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.media-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #04101e;
  object-fit: cover;
}

.media-card div {
  padding: 22px;
}

.media-card p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 1.7vw, 1.75rem);
  line-height: 1.08;
}

.media-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.academy-resource-head {
  margin-top: 30px;
}

.academy-resource-head p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academy-resource-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.visual-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(17, 75, 145, 0.16);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.visual-card img {
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fcff;
  object-fit: contain;
}

.visual-card.wide {
  grid-column: span 2;
}

.visual-card.wide img {
  object-fit: cover;
}

.visual-card span {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
}

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

.resource-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(17, 75, 145, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 242, 255, 0.86));
  box-shadow: var(--shadow-soft);
}

.resource-card span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.7vw, 1.72rem);
  line-height: 1.08;
}

.resource-card small {
  color: var(--muted);
  font-size: 0.96rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.catalog-grid article {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.catalog-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.catalog-grid h3 {
  margin-top: 34px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.48fr);
  align-items: center;
  gap: 70px;
  min-height: 620px;
  padding: 150px max(18px, calc((100vw - var(--max)) / 2)) 96px;
  background:
    linear-gradient(90deg, rgba(4, 16, 30, 0.96) 0%, rgba(5, 19, 34, 0.86) 52%, rgba(6, 34, 64, 0.74) 100%),
    url("/assets/hero-command-center-premium.png") center / cover;
  color: white;
}

.subpage-hero-copy {
  max-width: 760px;
}

.subpage-hero-copy p {
  margin: 0 0 12px;
  color: #8fd5ff;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.subpage-hero-copy span {
  display: block;
  max-width: 620px;
  margin-top: 22px;
  color: rgba(234, 245, 255, 0.8);
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
}

.subpage-hero-media {
  padding: 16px;
  border: 1px solid rgba(215, 174, 86, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(14px);
}

.subpage-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  object-fit: cover;
}

.library-page {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 82px 0 96px;
}

.library-page .section-intro {
  margin-top: 0;
}

.resource-summary {
  margin-top: 36px;
}

.podcast-placeholder {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(17, 75, 145, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 242, 255, 0.86)),
    white;
  box-shadow: var(--shadow-soft);
}

.podcast-placeholder p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.podcast-placeholder h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
}

.podcast-placeholder span {
  display: block;
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
}

.apexis-hero {
  background:
    linear-gradient(90deg, rgba(4, 16, 30, 0.98) 0%, rgba(5, 19, 34, 0.9) 52%, rgba(4, 41, 65, 0.82) 100%),
    url("/assets/apexis-growth-lab.jpeg") center / cover;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.strategy-grid article,
.numbered-library article {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(17, 75, 145, 0.16);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.strategy-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 850;
}

.strategy-grid h3,
.numbered-library h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.4vw, 1.55rem);
  line-height: 1.08;
}

.strategy-grid p {
  margin: 0;
  color: var(--muted);
}

.numbered-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.numbered-library ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 750;
}

.implementation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(234, 245, 255, 0.62), rgba(255, 255, 255, 0));
}

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

.implementation-list span {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(17, 75, 145, 0.18);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 34px rgba(4, 22, 43, 0.055);
  color: var(--ink);
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.implementation-list span:hover {
  transform: translateX(4px);
  background: #dff0ff;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 52px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 86px max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.96), rgba(7, 34, 62, 0.9)),
    url("/assets/hero-command-center-premium.png") center / cover;
  color: white;
}

.contact-copy h2,
.contact-copy span {
  color: white;
}

.contact-copy p {
  color: #8fd5ff;
}

.contact-copy span {
  color: rgba(234, 245, 255, 0.82);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(234, 245, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(234, 245, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form label.wide,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(234, 245, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #8fd5ff;
  box-shadow: 0 0 0 3px rgba(143, 213, 255, 0.12);
  background: rgba(255, 255, 255, 0.11);
}

.contact-form option {
  color: var(--ink);
}

.form-note {
  margin: 0;
  color: rgba(234, 245, 255, 0.64);
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(18px, calc((100vw - var(--max)) / 2));
  background: #04101e;
  color: rgba(234, 245, 255, 0.72);
  font-size: 0.9rem;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand span {
  color: white;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    z-index: 39;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: rgba(6, 21, 38, 0.96);
    box-shadow: var(--shadow);
  }

  .mobile-nav.open {
    display: grid;
    gap: 4px;
  }

  .mobile-nav a {
    padding: 12px;
    border-radius: 7px;
    color: rgba(234, 245, 255, 0.86);
    font-weight: 700;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    outline: none;
  }

  .hero-inner,
  .audit-header,
  .split-section,
  .academy-feature,
  .subpage-hero,
  .implementation-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-system {
    display: none;
  }

  .program-cards,
  .audit-steps,
  .academy-preview,
  .academy-library,
  .visual-grid,
  .resource-list,
  .catalog-grid,
  .strategy-grid,
  .numbered-library {
    grid-template-columns: 1fr;
  }

  .visual-card.wide {
    grid-column: span 1;
  }

  .program-card {
    min-height: 0;
  }

  .program-card img {
    height: 198px;
    min-height: 0;
    object-fit: cover;
  }

  .program-card div {
    min-height: 260px;
  }

  .audit-steps article:not(:last-child)::after {
    display: none;
  }

  .academy-feature-copy {
    padding: 0 24px 26px;
  }

  .subpage-hero-media {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small {
    max-width: 165px;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 118px;
  }

  .subpage-hero {
    min-height: auto;
    padding: 118px 12px 64px;
    gap: 34px;
  }

  .subpage-hero-copy h1 {
    font-size: 2.64rem;
  }

  .hero-inner,
  .program-overview,
  .audit-section,
  .academy-section,
  .library-page,
  .implementation-section {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-copy h1 {
    font-size: 2.66rem;
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .program-overview {
    margin-top: -82px;
    padding-bottom: 58px;
  }

  .program-card {
    display: flex;
  }

  .program-card h2 {
    font-size: 1.5rem;
  }

  .program-card img {
    height: 168px;
    min-height: 0;
  }

  .program-card div {
    min-height: auto;
    padding: 20px;
  }

  .section-intro {
    margin-top: 42px;
  }

  .audit-section,
  .split-section,
  .academy-section,
  .implementation-section,
  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .academy-video {
    padding: 10px;
  }

  .academy-feature-copy {
    padding: 0 20px 22px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
