:root {
  --orange: #ff8000;
  --orange-dark: #e67300;
  --blue-deep: #0b1f3a;
  --blue-electric: #1677ff;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dbe3ef;
  --gray-600: #5a6578;
  --gray-800: #2a3344;
  --shadow-sm: 0 4px 20px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 12px 40px rgba(11, 31, 58, 0.1);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;
  --topbar-h: 36px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --site-gutter: clamp(1.25rem, 2.5vw, 3.5rem);
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body.tv-executive {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

body.tv-executive::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../img/bg-network-faded.png") center bottom / cover no-repeat;
  pointer-events: none;
}

body.tv-executive::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.93) 0%,
    rgba(247, 249, 252, 0.88) 45%,
    rgba(255, 255, 255, 0.95) 100%
  );
  pointer-events: none;
}

body.tv-stee-section::before,
body.tv-stee-section::after {
  display: none;
}

/* PWA install prompt */
.tv-pwa-install {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: min(22rem, calc(100vw - 2rem));
  animation: tv-pwa-slide 0.45s ease;
}

@keyframes tv-pwa-slide {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.tv-pwa-install-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #0b1f3a, #122a4a);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.35);
  border: 1px solid rgba(255, 128, 0, 0.35);
}

.tv-pwa-install-icon {
  border-radius: 12px;
  grid-row: span 2;
}

.tv-pwa-install-copy p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.tv-pwa-install-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tv-pwa-install .btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.tv-pwa-install .btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

body.tv-executive #main {
  flex: 1;
  width: 100%;
}

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

a {
  color: var(--blue-electric);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--site-gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-deep);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Executive chrome */
.top-bar {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.35rem 0;
}

.top-bar-tagline {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.72rem;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.top-bar-contact a:hover {
  color: var(--orange);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 22, 40, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
  .site-header {
    z-index: 260;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.brand-sub {
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  flex: 1;
  min-width: 0;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--orange);
  text-decoration: none;
}

.site-nav a.is-active {
  color: var(--orange);
  box-shadow: inset 0 -2px 0 var(--orange);
}

.nav-donate {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 14px rgba(255, 128, 0, 0.35);
  position: relative;
  z-index: 2;
  text-decoration: none !important;
}

.nav-donate:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: none !important;
}

.nav-cta:hover {
  background: var(--orange-dark);
}

.nav-cta:hover {
  background: var(--orange-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  padding: 0.35rem 0.65rem 0.35rem 0.75rem;
}

.nav-toggle-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(8, 22, 40, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

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

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue-deep);
  border-color: rgba(11, 31, 58, 0.2);
}

.btn-outline:hover {
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  border-color: var(--white);
  color: var(--white);
}

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

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

.btn-block {
  width: 100%;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 3.25rem 0 2.75rem;
  background: var(--blue-deep);
  color: var(--white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 128, 0, 0.12), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(22, 119, 255, 0.18), transparent 45%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.page-hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
}

.page-hero-lead {
  margin: 0;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 40rem;
}

.content-title {
  font-size: 1.45rem;
  color: var(--blue-deep);
  margin: 0 0 1rem;
  font-weight: 800;
}

.page-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.text-link {
  font-weight: 600;
  color: var(--blue-electric);
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--orange);
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  max-width: none;
  margin-bottom: 2rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.prose-centered {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.info-panel {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.info-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
}

.info-panel-name {
  margin: 0;
  font-weight: 700;
  color: var(--blue-deep);
}

.info-panel-role {
  margin: 0.15rem 0 0.5rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-aside-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.hero-executive {
  background: var(--blue-deep);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}

.hero-executive .hero-bg {
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(22, 119, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 100%, rgba(255, 128, 0, 0.14), transparent 50%),
    linear-gradient(180deg, #081628 0%, var(--blue-deep) 100%);
}

.hero-executive .hero-lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero.hero-executive h1 {
  color: #fff8ec;
  text-shadow: 0 2px 28px rgba(255, 140, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.55);
}

.hero-meta {
  margin: 0 0 1.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.executive-stat-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.executive-stat {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.executive-stat .stat-value {
  color: var(--orange);
}

.executive-stat .stat-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

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

.pathway-card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}

.pathway-card:hover {
  border-color: rgba(255, 128, 0, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.pathway-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.pathway-card h3 {
  margin: 0.35rem 0 0.5rem;
  color: var(--blue-deep);
}

.pathway-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.pathway-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-electric);
}

.philosophy-band {
  background: var(--gray-100);
  border-block: 1px solid var(--gray-200);
  padding: 2.5rem 0;
}

.philosophy-band blockquote {
  margin: 0;
  text-align: center;
}

.philosophy-band blockquote p {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--blue-deep);
}

.philosophy-band footer {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.philosophy-band a {
  font-weight: 600;
}

.process-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.process-timeline-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.process-timeline-item h3 {
  margin: 0 0 0.35rem;
  color: var(--blue-deep);
}

.process-timeline-item p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.industry-card-executive {
  position: relative;
  padding-top: 2.25rem;
}

.industry-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
}

.industry-grid-large .industry-card {
  min-height: 140px;
}

.why-card-executive {
  border-left: 3px solid var(--orange);
}

.stack-card-executive {
  border-top: 3px solid var(--blue-electric);
}

.stack-grid-wide {
  grid-template-columns: repeat(4, 1fr);
}

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

.lang-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.lang-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--blue-deep);
}

.lang-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .stack-grid-wide,
  .lang-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stack-grid-wide,
  .lang-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing-notice {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-notice h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--blue-deep);
}

.pricing-notice p {
  margin: 0 0 0.5rem;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.pricing-notice-sub {
  margin-top: 0.75rem !important;
  font-size: 0.88rem !important;
}

.pricing-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.pricing-cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.pricing-cat-card:hover,
.pricing-cat-card.is-active {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.pricing-cat-card.is-active {
  background: linear-gradient(180deg, rgba(255, 128, 0, 0.08), var(--white));
}

.pricing-cat-icon {
  font-size: 1.35rem;
  display: block;
}

.pricing-cat-title {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue-deep);
  margin-top: 0.35rem;
}

.pricing-cat-from {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 0.25rem;
}

.pricing-cat-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
  line-height: 1.35;
}

.pricing-package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pricing-package-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-package-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.pricing-package-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange);
  margin: 0 0 0.35rem;
}

.pricing-package-delivery {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin: 0 0 0.75rem;
}

.pricing-package-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  flex: 1;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.pricing-package-card li {
  margin-bottom: 0.35rem;
}

.pricing-specialized-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pricing-custom-cta {
  margin-top: 2.5rem;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.pricing-custom-cta h3 {
  color: var(--blue-deep);
}

.input-readonly {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-100);
  font-family: inherit;
}

@media (max-width: 1100px) {
  .pricing-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-specialized-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-cat-grid,
  .pricing-package-grid,
  .pricing-specialized-grid {
    grid-template-columns: 1fr;
  }
}

/* Donate page */
.donate-metrics {
  background: linear-gradient(90deg, var(--blue-deep) 0%, #0d2847 50%, var(--blue-deep) 100%);
  border-bottom: 3px solid var(--orange);
  padding: 1.25rem 0;
}

.donate-metrics-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.donate-metric {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.donate-metric-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.donate-metric strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}

.donate-metric span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.82;
  margin-top: 0.15rem;
}

.donate-page {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 35%);
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.donate-shell {
  max-width: none;
}

.donate-success-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.14), rgba(34, 139, 34, 0.06));
  border: 1px solid rgba(34, 139, 34, 0.28);
  box-shadow: var(--shadow-md);
}

.donate-success-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #228b22;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.donate-success-banner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--blue-deep);
}

.donate-success-banner p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.donate-intro-card {
  margin-bottom: 1.75rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-sm);
  color: var(--gray-600);
  font-size: 0.92rem;
}

.donate-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.donate-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.donate-panel-primary {
  padding: 0;
}

.donate-panel-header {
  padding: 1.5rem 1.75rem 1rem;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.04), rgba(22, 119, 255, 0.06));
  border-bottom: 1px solid var(--gray-200);
}

.donate-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.donate-badge-mpesa {
  background: linear-gradient(135deg, #43b02a, #2d8a1f);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(67, 176, 42, 0.35);
}

.donate-panel-title {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  color: var(--blue-deep);
}

.donate-panel-lead,
.donate-side-lead {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.55;
}

.donate-panel-primary .donate-form,
.donate-panel-primary .donate-steps,
.donate-panel-primary > .donate-panel-lead,
.donate-panel-primary .donate-table-wrap {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

.donate-panel-primary .donate-form {
  padding-bottom: 1.75rem;
}

.donate-panel-primary > .donate-panel-lead {
  margin-top: 1.25rem;
}

.donate-steps {
  list-style: none;
  margin: 1.25rem 1.75rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.donate-steps li {
  font-size: 0.78rem;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  line-height: 1.35;
}

.donate-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.donate-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donate-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.donate-panel-side {
  padding: 1.35rem 1.5rem;
}

.donate-side-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.donate-impact-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.donate-impact-grid li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.donate-impact-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.donate-impact-grid strong {
  display: block;
  font-size: 0.88rem;
  color: var(--blue-deep);
}

.donate-impact-grid span {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-top: 0.15rem;
}

.donate-panel-contact {
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--blue-deep), #0a1929);
  color: rgba(255, 255, 255, 0.9);
  border: none;
}

.donate-contact-text {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}

.donate-panel-contact .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.65rem;
}

.donate-phone-link {
  display: block;
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}

.donate-phone-link:hover {
  color: #ffb366;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.donate-amount-btn {
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: 12px;
  padding: 0.65rem 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: var(--blue-deep);
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.donate-amount-kes {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-bottom: 0.15rem;
}

.donate-amount-btn.is-selected,
.donate-amount-btn:hover {
  border-color: var(--orange);
  background: rgba(255, 128, 0, 0.1);
  transform: translateY(-1px);
}

.donate-submit {
  padding: 1rem 1.5rem;
  font-size: 1.02rem;
  box-shadow: 0 8px 24px rgba(255, 128, 0, 0.35);
}

.donate-form-compact .field {
  margin-bottom: 0.75rem;
}

.donate-table-wrap {
  margin: 1rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.donate-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--white);
}

.donate-info-table th,
.donate-info-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.donate-info-table tbody tr:last-child th,
.donate-info-table tbody tr:last-child td {
  border-bottom: none;
}

.donate-info-table tbody tr:nth-child(even) {
  background: rgba(11, 31, 58, 0.02);
}

.donate-info-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--gray-600);
  width: 42%;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.donate-value {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.donate-value-muted {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.donate-panel-wide {
  padding: 1.35rem 1.5rem 1.5rem;
}

.donate-table-wrap-wide {
  margin-top: 0.75rem;
}

.donate-info-table-wide thead th {
  background: var(--blue-deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border: none;
}

.donate-info-table-wide tbody th[scope="row"] {
  background: rgba(255, 128, 0, 0.08);
  color: var(--blue-deep);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  width: 18%;
}

.donate-info-table-wide td {
  color: var(--gray-600);
}

.donate-status {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.donate-status.is-success {
  background: rgba(34, 139, 34, 0.12);
  color: #1a5c1a;
  border: 1px solid rgba(34, 139, 34, 0.2);
}

.donate-status.is-error {
  background: rgba(200, 50, 50, 0.1);
  color: #8b1a1a;
  border: 1px solid rgba(200, 50, 50, 0.15);
}

.donate-alert {
  margin-bottom: 1.25rem;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.alert-success {
  background: rgba(34, 139, 34, 0.12);
  border: 1px solid rgba(34, 139, 34, 0.25);
  color: #1a5c1a;
}

.alert-error {
  background: rgba(200, 50, 50, 0.08);
  border: 1px solid rgba(200, 50, 50, 0.2);
  color: #8b1a1a;
}

.field-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--blue-deep);
}

.muted {
  font-weight: 400;
  color: var(--gray-600);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .donate-metrics-inner {
    grid-template-columns: 1fr;
  }

  .donate-main-grid {
    grid-template-columns: 1fr;
  }

  .donate-steps {
    grid-template-columns: 1fr;
  }

  .donate-amounts {
    grid-template-columns: repeat(2, 1fr);
  }

  .donate-info-table-wide thead {
    display: none;
  }

  .donate-info-table-wide tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
  }

  .donate-info-table-wide tbody th,
  .donate-info-table-wide tbody td {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }

  .donate-info-table-wide tbody td:last-child {
    border-bottom: none;
    font-weight: 600;
    color: var(--orange);
  }
}

.client-placeholder-executive span {
  min-width: 180px;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(22, 119, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(255, 128, 0, 0.1), transparent 50%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero:not(.hero-executive) h1 {
  color: var(--blue-deep);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 36rem;
  margin: 0 0 1.25rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.hero-pills span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--blue-deep);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.engineering-panel {
  background: var(--blue-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--white);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.panel-header .dot:first-child {
  background: #ff5f57;
}

.panel-header .dot:nth-child(2) {
  background: #febc2e;
}

.panel-header .dot:nth-child(3) {
  background: #28c840;
}

.panel-title {
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.75;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-body {
  padding: 1.25rem;
}

.panel-node {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.panel-node small {
  display: block;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 0.25rem;
  font-size: 0.72rem;
}

.node-core {
  margin-bottom: 0.75rem;
  border-color: rgba(255, 128, 0, 0.45);
  background: rgba(255, 128, 0, 0.12);
}

.panel-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.panel-flow {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.panel-flow span {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--blue-electric));
  opacity: 0.85;
}

.panel-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  opacity: 0.9;
}

/* Stats */
.stats-bar {
  background: var(--blue-deep);
  color: var(--white);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin: 0;
  color: var(--orange);
}

.stat-label {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  opacity: 0.85;
}

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

.section-alt {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section-header.align-left {
  text-align: left;
  margin-left: 0;
  max-width: none;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  color: var(--blue-deep);
  margin: 0 0 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.section-lead {
  color: var(--gray-600);
  margin: 0;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s;
}

.cap-card:hover {
  border-color: rgba(255, 128, 0, 0.45);
  transform: translateY(-3px);
}

.cap-card h3 {
  margin: 0 0 0.5rem;
  color: var(--blue-deep);
  font-size: 1.05rem;
}

.cap-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-600);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), #ffb347);
  margin-bottom: 1rem;
  position: relative;
}

.service-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  background: var(--white);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.service-icon[data-icon="code"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B1F3A'%3E%3Cpath d='M8.5 7.5 4 12l4.5 4.5L7 18l-6-6 6-6 1.5 1.5zm7 0L20 12l-4.5 4.5L17 18l6-6-6-6-1.5 1.5z'/%3E%3C/svg%3E");
}

.service-icon[data-icon="wallet"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B1F3A'%3E%3Cpath d='M3 6h17v12H3V6zm2 2v8h13V8H5zm11 3h3v2h-3v-2z'/%3E%3C/svg%3E");
}

.service-icon[data-icon="cloud"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B1F3A'%3E%3Cpath d='M6 19h11a4 4 0 0 0 .3-8 5.5 5.5 0 0 0-10.6-1.7A3.5 3.5 0 0 0 6 19z'/%3E%3C/svg%3E");
}

.service-icon[data-icon="network"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B1F3A'%3E%3Cpath d='M4 10h4v4H4v-4zm8 0h4v4h-4v-4zm8 0h4v4h-4v-4zM2 8h20v8H2V8z'/%3E%3C/svg%3E");
}

.service-icon[data-icon="shield"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B1F3A'%3E%3Cpath d='M12 2 4 5v6c0 5 3.5 9.5 8 11 4.5-1.5 8-6 8-11V5l-8-3z'/%3E%3C/svg%3E");
}

.service-icon[data-icon="layers"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B1F3A'%3E%3Cpath d='m12 2 10 5-10 5L2 7l10-5zm0 8 10 5-10 5-10-5 10-5z'/%3E%3C/svg%3E");
}

.service-card h3 {
  margin: 0 0 0.5rem;
  color: var(--blue-deep);
}

.service-card > p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

.service-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-card li {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.55rem;
  background: var(--gray-100);
  border-radius: 999px;
  color: var(--blue-deep);
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--project-accent, var(--orange));
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin: 0 0 0.35rem;
}

.project-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.project-card p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
}

.project-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(22, 119, 255, 0.08);
  color: var(--blue-electric);
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
}

.industry-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--blue-deep);
}

.industry-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  border: 1px solid var(--gray-200);
}

.why-card h3 {
  margin: 0 0 0.5rem;
  color: var(--blue-deep);
  font-size: 1rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Stack */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stack-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
}

.stack-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--orange);
}

.stack-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-card li {
  font-size: 0.85rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}

.stack-card li:last-child {
  border-bottom: 0;
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.process-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.process-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--blue-deep);
}

.process-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.prose p {
  color: var(--gray-600);
}

.philosophy {
  margin: 2rem 0 0;
  padding: 1.5rem;
  border-left: 4px solid var(--orange);
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.philosophy p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0 0 0.75rem;
}

.philosophy footer {
  font-size: 0.92rem;
  color: var(--gray-600);
}

.brand-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.brand-card-kicker {
  font-weight: 800;
  color: var(--blue-deep);
  margin: 0 0 0.25rem;
}

.brand-card-sub {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin: 0 0 1rem;
}

.brand-card img {
  border-radius: var(--radius);
}

/* Leadership */
.leadership {
  background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.leadership-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.leader-photo-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
  max-height: 560px;
}

.leader-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0.5rem 0 0;
}

.leader-role {
  color: var(--orange);
  font-weight: 600;
  margin: 0 0 1rem;
}

.leader-quote {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--blue-deep);
  border-left: 3px solid var(--blue-electric);
  padding-left: 1rem;
  margin: 0 0 1rem;
}

.leader-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.leader-meta h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin: 0 0 0.35rem;
}

.expertise-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.expertise-list li {
  padding: 0.2rem 0;
}

/* Clients */
.client-placeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.client-placeholder span {
  padding: 1.25rem 2rem;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-600);
  font-size: 0.9rem;
  min-width: 160px;
  text-align: center;
}

.clients-page {
  padding-top: 0;
}

.clients-intro {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.clients-intro-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.clients-intro-title {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-deep);
}

.clients-lead {
  margin: 0;
  color: var(--gray-600);
}

.clients-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 1rem;
}

.client-card {
  margin: 0;
}

.client-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  padding: 1.25rem 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.06);
  color: inherit;
}

.client-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4rem;
}

.client-card-logo img {
  max-width: 120px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-card-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-deep), #163556);
  color: #fff8ec;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.client-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
  color: var(--blue-deep);
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .client-card-body {
    padding: 1rem 0.65rem;
  }
}

/* CTA band */
.cta-band {
  background: var(--blue-deep);
  color: var(--white);
  padding: 3rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-inner h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-inner p {
  margin: 0;
  opacity: 0.85;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-details li {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-details strong {
  display: block;
  color: var(--blue-deep);
  margin-bottom: 0.25rem;
}

.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-form .field {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--blue-deep);
}

.contact-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}

.contact-form input:not([type="checkbox"]):not([type="radio"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(22, 119, 255, 0.35);
  border-color: var(--blue-electric);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form-alert.success {
  background: #e8f7ee;
  color: #1a6b3a;
  border: 1px solid #b8e6c8;
}

.form-alert.error {
  background: #fdeeee;
  color: #8b1e1e;
  border: 1px solid #f5c2c2;
}

/* Footer */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo {
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 0.35rem;
}

.footer-statement {
  font-weight: 600;
  margin: 0;
}

.footer-sub {
  font-size: 0.82rem;
  opacity: 0.75;
  margin: 0.35rem 0 0;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.footer-dropdown {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.footer-dropdown summary.footer-heading {
  list-style: none;
}

.footer-dropdown summary.footer-heading::-webkit-details-marker {
  display: none;
}

.footer-dropdown-panel {
  padding-bottom: 0.25rem;
}

.footer-location {
  opacity: 0.85;
  font-size: 0.88rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.4rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

.footer-slogan {
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

/* Desktop — use full viewport width */
@media (min-width: 1200px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    gap: 0.35rem 0.85rem;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .hero-executive {
    padding: 5rem 0 4.5rem;
  }

  .hero-grid {
    gap: 3rem;
    align-items: center;
  }

  .section {
    padding-block: 4rem;
  }

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

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

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

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

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  }

  .donate-main-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
  }
}

@media (min-width: 769px) {
  .mobile-nav-backdrop {
    display: none;
  }

  .footer-dropdown summary.footer-heading {
    pointer-events: none;
    cursor: default;
    padding: 0;
    min-height: 0;
  }

  .footer-dropdown summary.footer-heading::after {
    display: none;
  }

  .footer-dropdown .footer-heading {
    margin-bottom: 0.75rem;
  }

  .footer-dropdown-panel {
    padding-bottom: 0;
  }

  .site-nav {
    position: static;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: visible !important;
    box-shadow: none;
    border-bottom: none;
  }

  .site-nav-scroll {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem 0.65rem;
    padding: 0;
    overflow: visible;
  }
}

@media (min-width: 1600px) {
  .site-nav a {
    font-size: 0.84rem;
    padding: 0.35rem 0.25rem;
  }

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

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .leadership-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cap-grid,
  .why-grid,
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 1100px) {
  .site-nav a {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  :root {
    --site-gutter: 1rem;
    --header-h: 64px;
  }

  .container {
    padding-left: max(var(--site-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--site-gutter), env(safe-area-inset-right, 0px));
  }

  .top-bar {
    font-size: 0.72rem;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.25rem;
    padding-block: 0.45rem;
  }

  .top-bar-tagline {
    display: none;
  }

  .top-bar-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .site-header:has(.site-nav.is-open) {
    border-bottom-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .brand-sub {
    font-size: 0.55rem;
  }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    z-index: 262;
    position: relative;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 255;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      max-height 0.35s ease,
      opacity 0.22s ease,
      visibility 0.35s;
    background: rgba(8, 22, 40, 0.99);
    border-bottom: 1px solid rgba(255, 128, 0, 0.3);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  }

  .site-nav.is-open {
    max-height: min(78vh, 640px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav-scroll {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0.85rem;
  }

  .site-nav a {
    width: 100%;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--white);
    padding: 0.8rem 0.5rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    white-space: normal;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  .site-nav a:active {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav a.nav-donate,
  .site-nav a.nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
    border-bottom: none;
    border-radius: 10px;
    min-height: 48px;
  }

  .site-nav a.is-active {
    color: var(--orange);
    background: rgba(255, 128, 0, 0.1);
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }

  .page-hero-inner {
    max-width: none;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.15;
  }

  .page-hero-lead {
    font-size: 0.95rem;
  }

  .hero-executive {
    padding: 2.75rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero.hero-executive h1 {
    font-size: clamp(1.65rem, 7.5vw, 2.25rem);
    line-height: 1.12;
    color: #fff8ec;
  }

  .hero-lead,
  .hero-executive .hero-lead {
    font-size: 0.98rem;
    max-width: none;
  }

  .hero-meta {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.95rem;
  }

  .executive-stat-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    padding: 0.85rem;
  }

  .executive-stat {
    padding: 0.85rem 0.5rem;
  }

  .executive-stat .stat-value {
    font-size: 1.35rem;
  }

  .section {
    padding-block: 2.75rem;
  }

  .section-header {
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .section-lead {
    font-size: 0.92rem;
  }

  .content-title {
    font-size: 1.35rem;
  }

  .pathway-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .pathway-card {
    padding: 1.25rem 1.35rem;
  }

  .cap-card,
  .project-card,
  .service-card,
  .why-card {
    padding: 1.25rem;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .cap-grid,
  .why-grid,
  .stack-grid,
  .stack-grid-wide,
  .lang-grid,
  .process-list,
  .project-grid,
  .industry-grid,
  .stats-grid,
  .pricing-cat-grid,
  .pricing-package-grid,
  .pricing-specialized-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .pricing-cat-card {
    padding: 1rem 1.1rem;
  }

  .pricing-package-card {
    padding: 1.25rem;
  }

  .field-row,
  .leader-meta {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }

  .contact-form input:not([type="checkbox"]):not([type="radio"]),
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .cta-band {
    padding: 2.25rem 0;
    text-align: center;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .site-footer {
    padding-top: 2rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: left;
  }

  .footer-brand {
    padding-bottom: 1.25rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-logo {
    margin-inline: 0;
  }

  .footer-dropdown {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-dropdown summary.footer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 0.85rem 0.35rem;
    min-height: 48px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border-left: 3px solid var(--orange);
    padding-left: 0.75rem;
  }

  .footer-dropdown summary.footer-heading::after {
    content: "";
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.25rem;
    border-right: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }

  .footer-dropdown[open] summary.footer-heading::after {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
  }

  .footer-dropdown summary.footer-heading:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
    border-radius: 6px;
  }

  .footer-dropdown-panel {
    padding: 0 0 0.5rem;
    border-bottom: 1px solid rgba(255, 128, 0, 0.22);
    background: rgba(0, 0, 0, 0.12);
  }

  .footer-links,
  .footer-contact {
    font-size: 0.98rem;
    margin: 0;
  }

  .footer-links li,
  .footer-contact li {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-links a,
  .footer-contact a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.8rem 0.75rem;
    line-height: 1.35;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    border-radius: 0;
  }

  .footer-links a:active,
  .footer-contact a:active {
    background: rgba(255, 255, 255, 0.06);
  }

  .footer-contact a[href^="mailto:"] {
    word-break: break-word;
  }

  .footer-location {
    padding: 0.65rem 0.35rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-bottom {
    padding: 1.25rem 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .donate-metrics-inner {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .donate-metric {
    padding: 0.85rem 1rem;
  }

  .donate-page {
    padding-top: 1.75rem;
  }

  .donate-success-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .donate-main-grid {
    grid-template-columns: 1fr;
  }

  .donate-steps {
    grid-template-columns: 1fr;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .donate-amounts {
    grid-template-columns: repeat(2, 1fr);
  }

  .donate-panel-primary .donate-form,
  .donate-panel-primary .donate-steps,
  .donate-panel-primary > .donate-panel-lead,
  .donate-panel-primary .donate-table-wrap {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .donate-panel-header {
    padding: 1.25rem 1rem 1rem;
  }

  .donate-info-table {
    font-size: 0.82rem;
  }

  .donate-info-table th,
  .donate-info-table td {
    padding: 0.75rem 0.85rem;
  }

  .table-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--site-gutter));
    padding-inline: var(--site-gutter);
  }

  .data-table {
    font-size: 0.82rem;
    min-width: 520px;
  }

  body.nav-open .tv-chat-launcher,
  body.nav-open .tv-chat-panel {
    z-index: 100;
  }

  .tv-chat-launcher {
    right: max(1rem, env(safe-area-inset-right, 1rem));
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
    padding: 0.85rem 1.1rem;
    min-height: 48px;
    font-size: 0.88rem;
  }

  .tv-chat-panel {
    right: max(0.75rem, env(safe-area-inset-right, 0.75rem));
    left: max(0.75rem, env(safe-area-inset-left, 0.75rem));
    width: auto;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    max-height: min(70vh, 520px);
  }

  .tv-chat-close-text {
    display: inline;
  }

  .tv-chat-close-btn span[aria-hidden="true"] {
    font-size: 1.35rem;
    line-height: 1;
  }

  .btn {
    min-height: 44px;
  }

  .process-timeline-item {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.85rem;
  }
}

@media (max-width: 380px) {
  .donate-amounts {
    grid-template-columns: 1fr;
  }

  .executive-stat-panel {
    grid-template-columns: 1fr;
  }

  .brand-text {
    max-width: 9.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .cap-card:hover {
    transform: none;
  }
}

/* Portal, quotes, chat */
.checkbox-row label {
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.quote-request-aside {
  min-width: 0;
}

.quote-package-panel {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

.quote-package-panel .content-title {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.35rem;
}

.quote-package-price {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--orange);
}

.quote-package-meta {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.quote-scope-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}

.quote-scope-table thead th {
  background: var(--blue-deep);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 0.85rem;
  text-align: left;
}

.quote-scope-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--blue-deep);
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  width: 78%;
}

.quote-scope-table tbody td {
  text-align: center;
  padding: 0.72rem 0.65rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.quote-scope-table tbody tr:nth-child(even) th,
.quote-scope-table tbody tr:nth-child(even) td {
  background: rgba(11, 31, 58, 0.02);
}

.quote-scope-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: rgba(255, 128, 0, 0.14);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.95rem;
}

.quote-form-executive {
  border-color: rgba(11, 31, 58, 0.1);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
}

.quote-options-fieldset {
  border: 0;
  margin: 0.25rem 0 1.15rem;
  padding: 0;
}

.quote-options-fieldset legend {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.65rem;
  padding: 0;
}

.quote-options-grid {
  display: grid;
  gap: 0.65rem;
}

.quote-option {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quote-option-input {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin: 0.15rem 0 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.quote-option-title {
  display: block;
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 0.92rem;
  line-height: 1.35;
}

.quote-option-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.quote-option:has(.quote-option-input:checked) {
  border-color: rgba(255, 128, 0, 0.55);
  background: rgba(255, 128, 0, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 128, 0, 0.18);
}

.quote-option:has(.quote-option-input:focus-visible) {
  outline: 2px solid rgba(22, 119, 255, 0.45);
  outline-offset: 2px;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--gray-200);
  padding: 0.65rem 0.5rem;
  text-align: left;
}

.data-table th {
  color: var(--blue-deep);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticket-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticket-list li a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--gray-800);
}

.status-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  background: var(--gray-100);
}

.status-answered {
  background: rgba(22, 119, 255, 0.12);
  color: var(--blue-electric);
}

.status-open {
  background: rgba(255, 128, 0, 0.15);
  color: var(--orange-dark);
}

.status-closed {
  background: var(--gray-200);
  color: var(--gray-600);
}

.chat-thread {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.chat-bubble {
  max-width: 92%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.chat-bubble header {
  font-size: 0.72rem;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}

.chat-bubble.user {
  justify-self: end;
  background: rgba(22, 119, 255, 0.1);
  border: 1px solid rgba(22, 119, 255, 0.2);
}

.chat-bubble.staff,
.chat-bubble.bot {
  justify-self: start;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.tv-chat-root[hidden] {
  display: none !important;
}

.tv-chat-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1rem;
  min-height: 48px;
  min-width: 48px;
  border: 0;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.tv-chat-launcher.is-active {
  background: var(--blue-deep);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.35);
}

.tv-chat-launcher.is-active .tv-chat-launcher-label::before {
  content: "✕ ";
  font-weight: 800;
}

.tv-chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 4.5rem;
  width: min(360px, calc(100vw - 2rem));
  z-index: 201;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}

.tv-chat-panel[hidden] {
  display: none !important;
}

.tv-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--blue-deep);
  color: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tv-chat-header-text {
  min-width: 0;
}

.tv-chat-header-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 0.15rem;
}

.tv-chat-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: var(--white);
  font-size: 1.1rem;
  font-family: inherit;
  cursor: pointer;
}

.tv-chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.tv-chat-close-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tv-chat-footer-actions {
  padding: 0.35rem 0.75rem 0.65rem;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}

.tv-chat-dismiss-btn {
  background: none;
  border: 0;
  color: var(--gray-600);
  font-size: 0.78rem;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
}

.tv-chat-messages {
  padding: 0.75rem;
  overflow-y: auto;
  flex: 1;
}

.tv-chat-form {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem;
  border-top: 1px solid var(--gray-200);
}

.tv-chat-form input {
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
}

.gov-feature-list {
  padding-left: 1.1rem;
  color: var(--gray-600);
}

.stee-card {
  background: linear-gradient(160deg, #001a38, #002e5d);
  color: var(--white);
  border: 0;
}

.stee-card .brand-card-kicker,
.stee-card .brand-card-sub {
  color: var(--white);
}

.stee-promise {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #33ccff;
}

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

/* Expansion: business needs, estimator, portal, content */
.need-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.need-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

button.need-card {
  appearance: none;
}

.need-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.need-card-accent {
  border-color: rgba(255, 128, 0, 0.45);
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.08), var(--white));
}

.need-problem {
  font-weight: 700;
  color: var(--blue-deep);
}

.need-arrow {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* Talk to an engineer — contact modal */
body.engineer-modal-open {
  overflow: hidden;
}

.tv-engineer-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.tv-engineer-modal.is-open {
  display: flex;
}

.tv-engineer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.62);
  backdrop-filter: blur(4px);
}

.tv-engineer-modal-dialog {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(11, 31, 58, 0.28);
  text-align: center;
}

.tv-engineer-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--blue-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.tv-engineer-modal-close:hover {
  background: var(--gray-200);
}

.tv-engineer-modal-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.tv-engineer-modal-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--blue-deep);
}

.tv-engineer-modal-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.tv-engineer-modal-phone {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tv-engineer-modal-phone a {
  color: var(--blue-deep);
  text-decoration: none;
}

.tv-engineer-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tv-engineer-modal-btn {
  width: 100%;
  justify-content: center;
}

.tv-engineer-modal-btn-wa {
  border-color: rgba(37, 211, 102, 0.55);
  color: #128c7e;
}

.tv-engineer-modal-btn-wa:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: #25d366;
  color: #0d6e5f;
}

.cta-actions .btn[data-talk-engineer] {
  font: inherit;
}

/* Project estimator — executive layout */
.estimator-page {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.estimator-shell {
  max-width: 1080px;
}

.estimator-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.estimator-intro-lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--gray-600);
}

.estimator-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.estimator-trust-strip li {
  position: relative;
}

.estimator-trust-strip li:not(:last-child)::after {
  content: "·";
  margin-left: 1.25rem;
  color: var(--orange);
  font-weight: 800;
}

.estimator-layout {
  display: grid;
  grid-template-columns: 1fr min(340px, 100%);
  gap: 1.5rem;
  align-items: stretch;
}

.estimator-panel {
  border-radius: 16px;
  overflow: hidden;
}

.estimator-panel-form {
  padding: 1.75rem 1.75rem 2rem;
  background: var(--white);
}

.estimator-panel-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.estimator-step-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.estimator-panel-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
}

.estimator-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

.estimator-field-full {
  grid-column: 1 / -1;
}

.estimator-form .field {
  margin-bottom: 1.1rem;
}

.estimator-form select {
  border-radius: 10px;
  border-color: rgba(11, 31, 58, 0.12);
  background-color: #fafbfc;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.estimator-form select:hover {
  border-color: rgba(255, 128, 0, 0.35);
}

.estimator-form select:focus {
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.18);
}

.estimator-panel-result {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  background: linear-gradient(165deg, #0b1f3a 0%, #0f2847 48%, #081628 100%);
  color: var(--white);
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.22);
}

.estimator-result-inner {
  padding: 2rem 1.75rem 1.75rem;
}

.estimator-result-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.estimator-range {
  margin: 0.65rem 0 0;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff8ec;
  text-shadow: 0 2px 24px rgba(255, 128, 0, 0.25);
  transition: opacity 0.2s ease;
}

.estimator-panel-result.is-updating .estimator-range {
  opacity: 0.65;
}

.estimator-mid {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.estimator-result-divider {
  height: 3px;
  width: 48px;
  margin: 1.25rem 0 1rem;
  background: var(--orange);
  border-radius: 2px;
}

.estimator-note {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.estimator-result-list {
  margin: 0 0 1.35rem;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.estimator-cta {
  margin-bottom: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 128, 0, 0.35);
}

.estimator-secondary-link {
  display: block;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.estimator-secondary-link:hover {
  color: var(--orange);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.case-card {
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.case-screenshot-placeholder {
  margin: 1.5rem 0;
  padding: 2rem;
  text-align: center;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-md);
  color: var(--gray-600);
  font-size: 0.9rem;
}

.case-screenshots {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.case-screenshot {
  margin: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-50);
}

.case-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.case-screenshot figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  border-top: 1px solid var(--gray-200);
}

/* Featured case study — corporate platform */
.case-featured-visual {
  margin-top: -1.5rem;
  padding: 0 0 1.5rem;
  position: relative;
  z-index: 2;
}

.case-featured-hero-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.18);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.case-featured-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.case-featured-metrics {
  padding-top: 2.5rem;
}

.case-featured-metrics-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.case-featured-metric {
  padding: 1rem 1.1rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(11, 31, 58, 0.05);
}

.case-featured-metric-value {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.case-featured-metric-label {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.35;
}

.case-featured-flow-header {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.case-featured-flow-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: case-flow;
}

.case-featured-flow-card {
  counter-increment: case-flow;
  margin: 0;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.case-featured-flow-card::before {
  content: counter(case-flow, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 128, 0, 0.15);
  line-height: 1;
}

.case-featured-flow-step {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.case-featured-flow-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.case-featured-flow-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.case-featured-detail-grid {
  display: grid;
  grid-template-columns: 1fr min(280px, 32%);
  gap: 2rem;
  align-items: start;
}

.case-featured-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.case-featured-checklist {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.case-featured-checklist li {
  margin-bottom: 0.45rem;
}

.case-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-featured-stack-panel {
  padding: 1.35rem 1.25rem;
  background: linear-gradient(160deg, var(--blue-deep), #163556);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.2);
}

.case-featured-stack-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.case-featured-stack-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.case-featured-stack-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-featured-stack-list li:last-child {
  border-bottom: none;
}

.case-featured-stack-note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.case-featured-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.case-featured-shot {
  margin: 0;
}

.case-featured-shot-wide {
  grid-column: 1 / -1;
}

.case-featured-shot-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.case-featured-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.case-featured-shot figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.45;
  padding: 0 0.15rem;
}

@media (max-width: 900px) {
  .case-featured-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-featured-flow-grid {
    grid-template-columns: 1fr;
  }

  .case-featured-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .case-featured-gallery-grid {
    grid-template-columns: 1fr;
  }

  .case-featured-shot-wide {
    grid-column: auto;
  }
}

.article-body h2 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.portal-invoices-panel {
  margin-bottom: 2rem;
}

.status-invoice-paid {
  background: #16a34a;
  color: #fff;
}

.status-invoice-awaiting_payment {
  background: #ea580c;
  color: #fff;
}

.status-invoice-scheduled {
  background: #64748b;
  color: #fff;
}

.article-list .article-row {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.career-row,
.ecosystem-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.career-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sla-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.sla-card {
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.sla-card-featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.sla-price {
  font-weight: 700;
  color: var(--blue-deep);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.testimonial-card {
  margin: 0;
  padding: 1.25rem;
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.platform-tile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
}

.platform-tile span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.portal-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.portal-nav-tile {
  padding: 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  background: var(--white);
}

.portal-nav-tile span {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.project-tracker {
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  background: var(--gray-50);
}

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

.milestone {
  font-size: 0.92rem;
}

.milestone-done {
  color: var(--gray-700);
}

.milestone-active {
  font-weight: 700;
  color: var(--blue-deep);
}

.milestone-pending {
  color: var(--gray-500);
}

.status-overall {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.35rem;
}

.status-dot.status-operational,
.status-pill.status-operational {
  background: #16a34a;
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
  margin: 0.5rem 0;
  font-size: 0.78rem;
}

.footer-legal a {
  color: var(--gray-500);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--orange);
}

@media (max-width: 768px) {
  .estimator-trust-strip li:not(:last-child)::after {
    display: none;
  }

  .estimator-trust-strip {
    flex-direction: column;
    gap: 0.35rem;
  }

  .estimator-layout {
    grid-template-columns: 1fr;
  }

  .estimator-panel-result {
    position: static;
    order: -1;
  }

  .estimator-fields {
    grid-template-columns: 1fr;
  }

  .estimator-panel-form {
    padding: 1.35rem 1.15rem 1.5rem;
  }
}
