/* DPI Solutions Global marketing styles */

:root {
  --ink: #071e33;
  --navy: #0b395f;
  --steel: #6a8296;
  --mist: #a8b8c4;
  --foam: #e8eef2;
  --paper: #f5f8fa;
  --white: #ffffff;
  --accent: #1a9b8e;
  --accent-deep: #0f6e64;
  --grad-mark: linear-gradient(135deg, #6a8296 0%, #0b395f 100%);
  --grad-hero: linear-gradient(160deg, #071e33 0%, #0b395f 45%, #124a73 70%, #0f6e64 120%);
  --shadow-soft: 0 24px 60px rgba(7, 30, 51, 0.12);
  --radius: 4px;
  --radius-lg: 12px;
  --max: 1180px;
  --header-h: 80px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* --- Header --- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 30, 51, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(7, 30, 51, 0.25);
}

.site-header--light.is-scrolled {
  background: rgba(245, 248, 250, 0.92);
  box-shadow: 0 8px 32px rgba(7, 30, 51, 0.08);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--mist);
  letter-spacing: 0.04em;
}

.site-header--light .brand__name {
  color: var(--navy);
}

.site-header--light .brand__tag {
  color: var(--steel);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
}

.site-header--light .nav__link {
  color: var(--steel);
}

.site-header--light .nav__link:hover,
.site-header--light .nav__link.is-active {
  color: var(--navy);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

.site-header--light .nav-toggle {
  border-color: rgba(11, 57, 95, 0.2);
}

.site-header--light .nav-toggle span {
  background: var(--navy);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 57, 95, 0.25);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: rgba(11, 57, 95, 0.04);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  color: var(--white);
  overflow: hidden;
  background: var(--grad-hero);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(26, 155, 142, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(106, 130, 150, 0.3), transparent 50%),
    url("../assets/marketing-hero.jpg") center / cover no-repeat;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 820px;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero__brand span {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--mist);
  margin-top: 0.35rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  max-width: 16ch;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(232, 238, 242, 0.9);
  max-width: 42ch;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero .btn-row {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: var(--grad-hero);
  color: var(--white);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(26, 155, 142, 0.25), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  opacity: 0.9;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 18ch;
}

.page-hero__lead {
  font-size: 1.15rem;
  color: rgba(232, 238, 242, 0.88);
  max-width: 54ch;
  margin-top: 1rem;
}

.page-hero__link {
  color: #5ed4c6;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-hero__link:hover {
  color: var(--white);
}

/* --- Sections --- */
.section {
  padding: 5.5rem 0;
}

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

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

.section--foam {
  background: var(--foam);
}

.section__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section--navy .section__label,
.section--ink .section__label {
  color: #5ed4c6;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  max-width: 18ch;
  margin-bottom: 1rem;
}

.section__intro {
  max-width: 58ch;
  color: var(--steel);
  font-size: 1.1rem;
}

.section--navy .section__intro,
.section--ink .section__intro {
  color: rgba(232, 238, 242, 0.78);
}

.section-head {
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section__title,
.section-head--center .section__intro {
  margin-inline: auto;
}

/* --- Positioning --- */
.positioning {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 800px) {
  .positioning {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
  }
}

.positioning__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.95rem;
  color: var(--mist);
}

/* --- Footprint / regions --- */
.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 700px) {
  .region-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .region-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.region {
  padding: 2rem 1.75rem;
  border-top: 1px solid rgba(11, 57, 95, 0.1);
  border-left: 1px solid rgba(11, 57, 95, 0.1);
  transition: background 0.25s;
}

.region:hover {
  background: rgba(26, 155, 142, 0.06);
}

.region__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.region__text {
  color: var(--steel);
  font-size: 0.98rem;
  margin: 0;
}

.region--hub {
  grid-column: 1 / -1;
  background: var(--navy);
  color: var(--white);
  border: none;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 800px) {
  .region--hub {
    grid-template-columns: 1fr 2fr;
    align-items: center;
    padding: 2.5rem;
  }
}

.region--hub .region__name {
  color: var(--white);
  font-size: 1.5rem;
}

.region--hub .region__text {
  color: rgba(232, 238, 242, 0.85);
  margin: 0;
}

.region--hub:hover {
  background: var(--ink);
}

/* --- Process steps --- */
.steps {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(26, 155, 142, 0.35);
  line-height: 1;
  margin-bottom: 1rem;
}

.section--navy .step__num {
  color: rgba(94, 212, 198, 0.35);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.step p {
  color: var(--steel);
  margin: 0;
}

.section--navy .step p {
  color: rgba(232, 238, 242, 0.75);
}

/* --- Track / capability rows --- */
.track-list {
  display: grid;
  gap: 1.25rem;
}

.track {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: var(--white);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 700px) {
  .track {
    grid-template-columns: 2.2fr 1fr;
    align-items: start;
  }
}

.track__meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.track h3 {
  font-size: 1.35rem;
}

.track p {
  color: var(--steel);
  margin: 0;
}

.track__deliverable {
  padding: 1.25rem;
  background: var(--foam);
  border-radius: var(--radius);
}

.track__deliverable strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.4rem;
}

.capability-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.capability h3 {
  font-size: 1.2rem;
  color: var(--white);
}

.capability p {
  color: rgba(232, 238, 242, 0.75);
  margin: 0;
}

/* --- Stack diagram --- */
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 780px;
  margin-inline: auto;
}

.stack__layer {
  position: relative;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.25s, background 0.25s;
}

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

.stack__layer:hover {
  border-color: rgba(94, 212, 198, 0.45);
  background: rgba(26, 155, 142, 0.1);
}

.stack__layer--bridge {
  padding: 0.65rem 1.75rem;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5ed4c6;
}

.stack__layer--bridge::before {
  content: "↓";
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1rem;
  opacity: 0.7;
}

.stack__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  color: var(--white);
}

.stack__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.stack__items li {
  color: rgba(232, 238, 242, 0.78);
  font-size: 0.98rem;
  padding-left: 1rem;
  position: relative;
}

.stack__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.stack-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--mist);
}

.stack-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.stack-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* Flow diagram (insights) */
.flow {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
  }
}

.flow__node {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.flow__node h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.flow__node p {
  color: var(--steel);
  font-size: 0.95rem;
  margin: 0;
}

.flow__node--center {
  background: var(--navy);
  color: var(--white);
}

.flow__node--center p {
  color: rgba(232, 238, 242, 0.8);
}

.flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 899px) {
  .flow__arrow {
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }
}

/* --- Split content --- */
.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.prose h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--steel);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

.phase-list {
  display: grid;
  gap: 1.5rem;
}

.phase {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(11, 57, 95, 0.1);
}

.phase:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.phase__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.phase h3 {
  font-size: 1.2rem;
}

.phase p {
  color: var(--steel);
  margin: 0;
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.value-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--steel);
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 1px;
}

.value-list strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.procure-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .procure-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.procure h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.procure p {
  color: rgba(232, 238, 242, 0.75);
  margin: 0;
  font-size: 0.98rem;
}

/* --- Form --- */
.form-wrap {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .form-wrap {
    grid-template-columns: 1fr 1.2fr;
  }
}

.form-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(11, 57, 95, 0.18);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 155, 142, 0.15);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-notice {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--steel);
}

.form-success,
.form-error {
  display: none;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.form-success {
  background: rgba(26, 155, 142, 0.1);
  border-left: 3px solid var(--accent);
}

.form-error {
  background: rgba(180, 70, 50, 0.08);
  border-left: 3px solid #b44632;
}

.form-success.is-visible,
.form-error.is-visible {
  display: block;
}

.thank-you {
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
}

.thank-you__panel {
  width: 100%;
}

.thank-you__actions {
  margin-top: 1.75rem;
}

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

/* --- CTA band --- */
.cta-band {
  padding: 4.5rem 0;
  background: var(--grad-hero);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(232, 238, 242, 0.85);
  max-width: 48ch;
  margin: 0 auto 1.75rem;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: rgba(232, 238, 242, 0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .brand__name {
  color: var(--white);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 36ch;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Mobile nav --- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    box-shadow: 0 16px 40px rgba(7, 30, 51, 0.35);
  }

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

  .nav__link {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
  }

  .nav__cta {
    margin-top: 1rem;
    justify-content: center;
  }

  .site-header--light .nav {
    background: var(--white);
  }

  .site-header--light .nav__link {
    color: var(--navy);
    border-bottom-color: rgba(11, 57, 95, 0.08);
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4rem 0;
  }

  .form-card {
    padding: 1.5rem;
  }
}

/* Visual illustration system */
.viz {
  position: relative;
  width: 100%;
}

.viz-orbit {
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(26, 155, 142, 0.2), transparent 45%),
    radial-gradient(circle at 30% 30%, rgba(106, 130, 150, 0.25), transparent 40%),
    conic-gradient(from 210deg, rgba(11, 57, 95, 0.08), rgba(26, 155, 142, 0.2), rgba(11, 57, 95, 0.08));
  border: 1px solid rgba(11, 57, 95, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.viz-orbit__ring {
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(11, 57, 95, 0.2);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.viz-orbit__core {
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-mark);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.08em;
  text-align: center;
  box-shadow: 0 16px 40px rgba(11, 57, 95, 0.35);
  z-index: 1;
}

.viz-orbit__node {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
  padding: 0.35rem;
  line-height: 1.2;
}

.viz-orbit__node svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  margin-bottom: 0.2rem;
}

.viz-orbit__node--1 { top: 8%; left: 50%; transform: translateX(-50%); }
.viz-orbit__node--2 { top: 50%; right: 4%; transform: translateY(-50%); }
.viz-orbit__node--3 { bottom: 8%; left: 50%; transform: translateX(-50%); }
.viz-orbit__node--4 { top: 50%; left: 4%; transform: translateY(-50%); }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 800px) {
  .domain-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.domain {
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease);
}

.domain:hover {
  transform: translateY(-4px);
}

.domain__glyph {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: rgba(26, 155, 142, 0.1);
  display: grid;
  place-items: center;
}

.domain__glyph svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.domain h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.domain p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--steel);
}

.icon-tile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .icon-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .icon-tile-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.icon-tile {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.section--navy .icon-tile,
.section--ink .icon-tile {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-tile__glyph {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(26, 155, 142, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.section--navy .icon-tile__glyph,
.section--ink .icon-tile__glyph {
  background: rgba(94, 212, 198, 0.15);
}

.icon-tile__glyph svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section--navy .icon-tile__glyph svg,
.section--ink .icon-tile__glyph svg {
  stroke: #5ed4c6;
}

.icon-tile h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.icon-tile p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
}

.section--navy .icon-tile p,
.section--ink .icon-tile p {
  color: rgba(232, 238, 242, 0.75);
}

.step--visual {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step__glyph {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--foam);
  display: grid;
  place-items: center;
  position: relative;
}

.section--navy .step__glyph {
  background: rgba(255, 255, 255, 0.08);
}

.step__glyph svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section--navy .step__glyph svg {
  stroke: #5ed4c6;
}

.bridge-viz {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .bridge-viz {
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
  }
}

.bridge-panel {
  min-height: 220px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bridge-panel--engine {
  background: var(--navy);
  color: var(--white);
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.bridge-panel--engine::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(circle, rgba(26, 155, 142, 0.35), transparent 60%);
}

.bridge-panel h3 {
  position: relative;
  font-size: 1.2rem;
}

.bridge-panel p {
  position: relative;
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
}

.bridge-panel--engine p {
  color: rgba(232, 238, 242, 0.8);
}

.bridge-panel__bars {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.bridge-panel__bars span {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), rgba(26, 155, 142, 0.2));
}

.bridge-panel__bars span:nth-child(2) { width: 78%; }
.bridge-panel__bars span:nth-child(3) { width: 58%; }

.bridge-panel__nodes {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.bridge-panel__nodes i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--foam);
  display: inline-block;
}

.bridge-panel--engine .bridge-panel__nodes i {
  background: rgba(255, 255, 255, 0.12);
}

.paradox-viz {
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 800px) {
  .paradox-viz {
    grid-template-columns: 1fr auto 1fr;
  }
}

.paradox-block {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.paradox-block svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
}

.paradox-block h3 {
  margin: 0;
  font-size: 1.15rem;
}

.paradox-block p {
  margin: 0;
  color: var(--steel);
  font-size: 0.92rem;
  max-width: 22ch;
}

.paradox-gap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.paradox-gap__line {
  width: 2px;
  height: 48px;
  background: linear-gradient(var(--accent), transparent);
}

@media (min-width: 800px) {
  .paradox-gap__line {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }
}

.timeline-viz {
  display: grid;
  gap: 0;
  position: relative;
}

@media (min-width: 800px) {
  .timeline-viz {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-viz::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #5ed4c6, var(--navy));
  }
}

.timeline-step {
  padding: 0 1rem 1.5rem;
  text-align: center;
}

.timeline-step__dot {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.timeline-step h3 {
  font-size: 1.15rem;
}

.timeline-step p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
}

.track-visual {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .track-visual {
    grid-template-columns: repeat(3, 1fr);
  }
}

.track-card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.track-card__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(26, 155, 142, 0.18);
  margin-bottom: 0.5rem;
}

.track-card__art {
  margin: 0.5rem 0 1.25rem;
  height: 88px;
}

.track-card__art svg {
  width: 100%;
  height: 100%;
}

.track-card h3 {
  font-size: 1.25rem;
}

.track-card p {
  color: var(--steel);
  font-size: 0.95rem;
  flex: 1;
}

.track-card__out {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 57, 95, 0.1);
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
}

.hero--compact {
  min-height: auto;
  padding: calc(var(--header-h) + 4.5rem) 0 4rem;
  align-items: center;
}

.hero--compact .hero__content {
  max-width: 720px;
}

.page-hero--split .container {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero--split .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.page-hero__viz {
  min-height: 220px;
}

.contact-aside {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--foam);
  border-radius: var(--radius);
}

.contact-chip svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
}

.contact-chip span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.section__title {
  max-width: 16ch;
}

.section-head--center .section__title {
  max-width: 18ch;
}

.lean p,
.lean .section__intro,
.lean .hero__lead,
.lean .page-hero__lead {
  max-width: 40ch;
}

.section__intro.plain,
.hero__lead {
  max-width: 52ch;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(94, 212, 198, 0.45);
  border-radius: var(--radius);
  color: #5ed4c6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero--story {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero__layout {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .hero--story .hero__content {
    width: auto;
    max-width: none;
    margin: 0;
  }

  .hero--story h1 {
    max-width: 14ch;
  }
}

.hero-journey {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(7, 30, 51, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

@media (min-width: 600px) {
  .hero-journey {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
  }
}

.hero-journey__step {
  padding: 1.15rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  color: var(--white);
}

.hero-journey__step.is-accent {
  background: rgba(26, 155, 142, 0.22);
  border: 1px solid rgba(94, 212, 198, 0.35);
}

.hero-journey__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.35rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.hero-journey__icon svg {
  width: 22px;
  height: 22px;
  stroke: #5ed4c6;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-journey__step strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hero-journey__step span:last-child {
  font-size: 0.85rem;
  color: var(--mist);
}

.hero-journey__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  color: #5ed4c6;
  font-size: 1.35rem;
  font-weight: 700;
}

@media (min-width: 600px) {
  .hero-journey__arrow {
    display: flex;
  }
}

.plain-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .plain-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.plain-card {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.plain-card--accent {
  border: 1px solid rgba(26, 155, 142, 0.35);
  background: linear-gradient(180deg, rgba(26, 155, 142, 0.08), var(--white) 45%);
}

.plain-card__viz {
  margin-bottom: 1.25rem;
}

.plain-card__viz svg {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.plain-card h3 {
  font-size: 1.3rem;
}

.plain-card p {
  margin: 0;
  color: var(--steel);
}

.role-flow {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .role-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

.role-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.role-step__num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(26, 155, 142, 0.2);
}

.role-step__art {
  margin-bottom: 1rem;
}

.role-step__art svg {
  width: 100%;
  height: auto;
}

.role-step h3 {
  font-size: 1.25rem;
}

.role-step p {
  margin: 0;
  color: var(--steel);
  font-size: 0.98rem;
}

.outcome-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .outcome-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.outcome {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.outcome__glyph {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(94, 212, 198, 0.15);
  display: grid;
  place-items: center;
}

.outcome__glyph svg {
  width: 24px;
  height: 24px;
  stroke: #5ed4c6;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outcome h3 {
  font-size: 1.2rem;
}

.outcome p {
  margin: 0;
  color: rgba(232, 238, 242, 0.75);
  font-size: 0.98rem;
}

/* --- Breadcrumbs --- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: rgba(232, 238, 242, 0.7);
}

.crumbs a {
  color: #5ed4c6;
  text-decoration: none;
  font-weight: 600;
}

.crumbs a:hover {
  text-decoration: underline;
}

/* --- FAQ --- */
.faq-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.section:not(.section--navy) .faq-list {
  border-top-color: rgba(11, 57, 95, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0;
}

.section:not(.section--navy) .faq-item {
  border-bottom-color: rgba(11, 57, 95, 0.12);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.section:not(.section--navy) .faq-item summary {
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.35rem;
  color: #5ed4c6;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0 0 1.25rem;
  color: rgba(232, 238, 242, 0.78);
  max-width: 62ch;
}

.section:not(.section--navy) .faq-item p {
  color: var(--steel);
}

.faq-item a {
  color: #5ed4c6;
  font-weight: 600;
}

.section:not(.section--navy) .faq-item a {
  color: var(--accent-deep);
}

/* --- SEO link rows --- */
.seo-links {
  margin: 2.5rem 0 0;
  text-align: center;
  color: var(--steel);
  font-size: 0.98rem;
}

.seo-links a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.seo-links a:hover {
  text-decoration: underline;
}

.region a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.region a:hover {
  text-decoration: underline;
}

.region--hub a {
  color: #5ed4c6;
}

/* --- Footer four columns --- */
.footer-grid--four {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .footer-grid--four {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* --- Engineering identifier strip --- */
.eng-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.eng-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border: 1px solid rgba(11, 57, 95, 0.12);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.eng-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
}

.section--navy .eng-chip,
.section--ink .eng-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--foam);
}

/* --- Isolation / value moat visual --- */
.moat-viz {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .moat-viz {
    grid-template-columns: 1fr auto 1.2fr auto 1fr;
    align-items: center;
  }
}

.moat-panel {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(11, 57, 95, 0.1);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.moat-panel--core {
  background: var(--ink);
  border-color: transparent;
  color: var(--white);
}

.moat-panel--core h3,
.moat-panel--engine h3 {
  color: var(--white);
}

.moat-panel--engine {
  background: linear-gradient(160deg, #0b395f 0%, #0f6e64 100%);
  border: none;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.moat-panel__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--steel);
}

.moat-panel--core .moat-panel__label,
.moat-panel--engine .moat-panel__label {
  color: #5ed4c6;
}

.moat-panel h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--navy);
}

.moat-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--steel);
}

.moat-panel--core ul,
.moat-panel--engine ul {
  color: rgba(232, 238, 242, 0.8);
}

.moat-arrow {
  display: none;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 900px) {
  .moat-arrow {
    display: block;
  }
}

/* --- Footprint cards (compact) --- */
.footprint-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .footprint-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .footprint-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footprint-card--wide {
    grid-column: span 3;
  }
}

.footprint-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--white);
  border-left: 3px solid var(--accent);
  min-height: 140px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.footprint-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.footprint-card--wide {
  background: var(--navy);
  border-left-color: #5ed4c6;
  color: var(--white);
}

.footprint-card__code {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footprint-card--wide .footprint-card__code {
  color: #5ed4c6;
}

.footprint-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.footprint-card--wide h3 {
  color: var(--white);
}

.footprint-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--steel);
  line-height: 1.5;
}

.footprint-card--wide p {
  color: rgba(232, 238, 242, 0.8);
  max-width: 70ch;
}

.footprint-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
}

.footprint-card--wide a {
  color: #5ed4c6;
}

.footprint-card a:hover {
  text-decoration: underline;
}

/* --- Track meta badges --- */
.track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0.5rem;
}

.track-meta span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  background: rgba(26, 155, 142, 0.12);
  color: var(--accent-deep);
}

/* --- Topology connector labels --- */
.stack__layer--bridge {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* --- Crawlable ASCII topology (SEO + evaluators) --- */
.topo-code {
  margin: 2rem auto 0;
  max-width: 720px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(94, 212, 198, 0.25);
  padding: 1.25rem 1rem;
}

.topo-code pre {
  margin: 0;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #5ed4c6;
  white-space: pre;
}

@media (min-width: 700px) {
  .topo-code pre {
    font-size: 0.78rem;
  }
}
