:root {
  --bg: #f1eee9;
  --panel: #ffffff;
  --panel-strong: #f8f5f0;
  --text: #080808;
  --muted: #67605a;
  --muted-strong: #292623;
  --red: #ff2a2a;
  --red-dark: #d80808;
  --red-bright: #fc1b1b;
  --orange: #ff5a00;
  --border: rgba(8, 8, 8, 0.1);
  --border-strong: rgba(8, 8, 8, 0.18);
  --grid-line: rgba(8, 8, 8, 0.055);
  --page-radial: rgba(255, 42, 42, 0.15);
  --header-bg: rgba(8, 8, 8, 0.94);
  --header-border: rgba(255, 255, 255, 0.08);
  --nav-text: #ffffff;
  --nav-control: rgba(255, 255, 255, 0.06);
  --nav-hover: rgba(255, 255, 255, 0.06);
  --soft-surface: rgba(255, 255, 255, 0.66);
  --section-surface: rgba(255, 255, 255, 0.55);
  --image-panel: #0a0a0a;
  --input-bg: #ffffff;
  --dark-glass: rgba(3, 3, 3, 0.74);
  --dark-glass-strong: rgba(3, 3, 3, 0.86);
  --shadow: 0 22px 70px rgba(8, 8, 8, 0.12);
  --max: 1180px;
}

.dark-section {
  --bg: #030303;
  --panel: #090909;
  --panel-strong: #101010;
  --text: #ffffff;
  --muted: #888888;
  --muted-strong: #b7b7b7;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --grid-line: rgba(255, 255, 255, 0.035);
  --page-radial: rgba(255, 42, 42, 0.16);
  --header-bg: rgba(3, 3, 3, 0.78);
  --header-border: rgba(255, 255, 255, 0.08);
  --nav-text: #ffffff;
  --nav-control: rgba(255, 255, 255, 0.06);
  --nav-hover: rgba(255, 255, 255, 0.06);
  --soft-surface: rgba(255, 255, 255, 0.035);
  --section-surface: rgba(255, 255, 255, 0.025);
  --image-panel: #090909;
  --input-bg: #080808;
  --dark-glass: rgba(3, 3, 3, 0.74);
  --dark-glass-strong: rgba(3, 3, 3, 0.86);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);

  background: var(--bg);
  color: var(--text);
}

/* Full-bleed bands: dark sections span the viewport, content stays aligned
   to the container edges instead of rendering as a narrow centered box. */
.section-pad.dark-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 104px max(20px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #050505;
}

.section-pad.dark-section .section-header h2 {
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

/* Color scheme handled via CSS variables */

html {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  transition: background-color 180ms ease, color 180ms ease;
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4, p, li, a, summary, blockquote {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background: var(--bg);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-140%);
}

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

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

.section-pad {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--header-border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
}

.brand-mark {
  position: relative;
  display: grid;
  gap: 0;
  min-width: 152px;
  flex-shrink: 0;
  color: var(--nav-text);
  font-size: 20px;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
}

.brand-mark span {
  display: block;
}

.brand-mark i {
  position: absolute;
  top: 3px;
  left: 104px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--red);
}

.nav-actions,
.nav-links,
.nav-links-primary,
.nav-shell {
  display: flex;
  align-items: center;
}

.nav-shell {
  position: relative;
}

.nav-actions {
  gap: 12px;
}

.nav-links {
  gap: 8px;
}

.nav-links-primary {
  gap: 2px;
}

.nav-link,
.nav-link-button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--nav-text);
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link:hover,
.nav-link.is-active,
.nav-link-button:hover,
.nav-link-button.is-active,
.nav-dropdown.is-open .nav-link-button {
  color: var(--nav-text);
  background: var(--nav-hover);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 102px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-link-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown.is-open .nav-link-caret {
  transform: rotate(225deg) translateY(-1px);
}

.nav-mega-panel {
  position: fixed;
  top: 88px;
  left: 50%;
  z-index: 30;
  width: min(760px, calc(100vw - 48px));
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-mega-panel::before {
  position: absolute;
  top: -42px;
  right: -24px;
  width: 140px;
  height: 140px;
  content: "";
  background: radial-gradient(circle, rgba(255, 42, 42, 0.18), transparent 66%);
  pointer-events: none;
}

.nav-dropdown:focus-within .nav-mega-panel,
.nav-dropdown.is-open .nav-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-mega-desktop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.nav-mega-columns {
  display: contents;
}

.nav-mega-section > p {
  display: block;
  margin: 0 0 12px;
  color: #ff5a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-section-list {
  display: grid;
  gap: 4px;
}

.nav-mega-link {
  position: relative;
  display: block;
  padding: 8px 8px 8px 18px;
  border-radius: 12px;
  background: transparent;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-mega-link::before {
  position: absolute;
  top: 15px;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 90, 0, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.08);
}

.nav-mega-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.nav-mega-link strong {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 180ms ease;
}

.nav-mega-link span {
  display: none;
}

.nav-mega-link:hover strong {
  color: #ffffff;
}

.nav-mega-mobile {
  display: none;
}

.nav-mobile-accordion {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-mobile-accordion summary {
  position: relative;
  padding: 16px 52px 16px 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.nav-mobile-accordion summary::-webkit-details-marker {
  display: none;
}

.nav-mobile-accordion summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-mobile-accordion[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.nav-mobile-links {
  display: grid;
  gap: 2px;
  padding: 0 12px 12px;
}

#dot-ai,
#services,
#industries,
#process,
#contact,
#insights {
  scroll-margin-top: 112px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(620px, calc(100svh - 76px), 760px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background: #050505;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.94) 0%, rgba(3, 3, 3, 0.78) 34%, rgba(3, 3, 3, 0.18) 68%, rgba(3, 3, 3, 0.72) 100%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.26) 0%, rgba(3, 3, 3, 0.12) 50%, rgba(3, 3, 3, 0.84) 100%);
}

.hero::after {
  display: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(1.05) contrast(1.04);
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 40px;
}

.hero-copy {
  grid-column: 1 / span 6;
  max-width: 520px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.022em;
}

.hero h1 span,
.page-hero h1 span {
  display: block;
  color: var(--red-bright);
}

.hero-copy > p:not(.eyebrow),
.page-hero-copy > p {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: 20px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 150px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--text);
}

.hero .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

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

.hero-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 596px;
  margin-top: 32px;
}

.hero-capabilities span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.dot-ai-orb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(90deg, #050505 0%, #0d0d0d 50%, #050505 100%);
  padding: 16px 0;
  position: relative;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.statement {
  padding-top: 90px;
  padding-bottom: 90px;
}

.statement p {
  max-width: 1060px;
  margin: 0;
  font-size: 42px;
  line-height: 1.13;
  font-weight: 850;
}

.statement p::before {
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 28px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.dot-ai {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
}

.dot-ai-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--image-panel);
  box-shadow: var(--shadow);
}

.dot-ai-orb {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: none;
}

.dot-ai-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.02) 0%, rgba(3, 3, 3, 0.16) 100%);
  pointer-events: none;
}

.dot-ai-copy {
  padding: 46px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--soft-surface);
  box-shadow: var(--shadow);
}

.dot-ai-copy h2,
.section-header h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dot-ai-copy p:not(.eyebrow),
.section-header span,
.contact-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-header p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-header p::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}

.section-header span {
  display: block;
  margin-top: 18px;
}

.service-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #030303;
}

.service-section .section-header h2 {
  color: #ffffff;
}

.service-section .section-header span {
  color: #c9c9c9;
}

.service-board {
  display: grid;
  gap: 18px;
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 42, 42, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.service-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.service-index {
  color: #ff2a2a;
  font-size: 13px;
  font-weight: 900;
}

.service-feature-copy h3 {
  max-width: 760px;
  margin: 22px 0;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 900;
}

.service-feature-copy > p:not(.service-kicker) {
  max-width: 720px;
  color: #c7c7c7;
}

.service-kicker,
.project-card span,
.insight-card span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-link {
  width: max-content;
  margin-top: 24px;
  color: #ffffff;
  font-weight: 900;
  border-bottom: 2px solid var(--red-bright);
}

.service-feature-focus {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.service-feature-focus img {
  position: absolute;
  top: -12%;
  right: -38%;
  width: 120%;
  max-width: none;
  opacity: 0.18;
}

.service-feature-focus p {
  position: relative;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.service-feature-focus ul,
.service-row ul,
.system-card ul,
.location-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-feature-focus li,
.service-row li,
.system-card li,
.location-list li {
  color: #c7c7c7;
  font-size: 14px;
}

.service-feature-focus li + li,
.service-row li + li,
.system-card li + li,
.location-list li + li {
  margin-top: 10px;
}

.system-card li,
.location-list li {
  color: var(--muted-strong);
}

.service-rows {
  display: grid;
  gap: 10px;
}

.service-row {
  display: grid;
  grid-template-columns: 64px minmax(260px, 1.15fr) minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 156px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.service-row:hover {
  border-color: rgba(255, 42, 42, 0.38);
  background: rgba(255, 42, 42, 0.08);
}

.service-row h3 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.14;
}

.service-row-copy {
  min-width: 0;
}

.industry-grid,
.systems-grid,
.project-grid,
.insight-grid,
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.industry-card,
.system-card,
.project-card,
.insight-card,
.detail-item,
.process-step {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--soft-surface);
}

.industry-card,
.system-card,
.detail-item,
.process-step {
  padding: 22px;
}

.detail-item {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.industry-card span,
.detail-item span,
.process-step span {
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 900;
}

.industry-card h3,
.system-card h3,
.project-card h3,
.insight-card h3,
.detail-item h3,
.process-step h3 {
  margin: 12px 0;
  font-size: 21px;
  line-height: 1.22;
}

.industry-card p,
.project-card p,
.insight-card p,
.detail-item p {
  color: var(--muted-strong);
}

.detail-item p {
  margin: 0;
  line-height: 1.45;
}

.systems-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--section-surface);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.project-card,
.insight-card {
  overflow: hidden;
  padding: 18px;
}

.insight-card img {
  width: calc(100% + 36px);
  max-width: none;
  height: 220px;
  margin: -18px -18px 18px;
  object-fit: cover;
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: 248px;
  margin: -18px -18px 20px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 42, 42, 0.16), transparent 44%),
    linear-gradient(135deg, #0b0b0b, #18110f);
}

.project-visual::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.project-system {
  position: relative;
  z-index: 1;
  width: 70%;
  max-width: 300px;
  height: 170px;
  object-fit: contain;
  filter: contrast(1.05);
}

.project-system[src$=".jpeg"],
.project-system[src$=".jpg"] {
  width: 78%;
  height: 160px;
  border-radius: 4px;
  object-fit: cover;
}

.project-system[src*="generated-"] {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.project-logo {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 92px;
  max-height: 44px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(12px);
}

.insight-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: end;
}

.insight-card-featured img {
  grid-row: span 4;
  width: calc(100% + 18px);
  height: 100%;
  min-height: 360px;
  margin: -18px 0 -18px -18px;
}

.updates-section {
  padding-top: 54px;
}

.update-strip {
  display: grid;
  gap: 14px;
}

.update-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--soft-surface);
}

.update-card img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: 4px;
}

.update-card span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.update-card h3 {
  margin: 8px 0;
  font-size: 24px;
  line-height: 1.12;
}

.update-card p {
  margin: 0;
  color: var(--muted-strong);
}

.section-action {
  margin-top: 28px;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--soft-surface);
}

.faq-item summary {
  cursor: pointer;
  padding: 22px;
  font-size: 18px;
  font-weight: 850;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted-strong);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-email-note {
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 26px;
}

.location-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-city {
  font-weight: 700;
  color: var(--text);
}

.location-address {
  color: var(--muted);
}

.contact-links a {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  background: var(--soft-surface);
}

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

.contact-form h3 {
  margin: 0 0 6px;
  font-size: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--input-bg);
}

.page-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 480px;
}

.page-hero-art {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
}

.page-hero-art img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

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

.site-footer {
  width: 100%;
  margin: 0;
  padding: 64px 0 34px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030303;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: #9c9c9c;
  font-size: 14px;
}

.footer-grid a {
  display: block;
  margin-top: 10px;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin-top: 42px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .dot-ai,
  .contact-section,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .hero-copy {
    grid-column: 1 / span 8;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 58px;
  }

  .industry-grid,
  .systems-grid,
  .project-grid,
  .insight-grid,
  .detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-feature,
  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row {
    align-items: start;
  }

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

  .insight-card-featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .insight-card-featured img {
    grid-row: auto;
    width: calc(100% + 36px);
    height: 280px;
    min-height: 0;
    margin: -18px -18px 18px;
  }

  .update-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

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

@media (max-width: 760px) {
  .section-pad,
  .nav-shell {
    width: min(100% - 40px, var(--max));
  }

  .section-pad {
    padding: 70px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    max-height: calc(100vh - 96px);
    max-height: calc(100svh - 96px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--header-bg);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links-primary {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .nav-link-button {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--nav-control);
  }

  .nav-mega-panel {
    position: static;
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    border-radius: 22px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown:focus-within .nav-mega-panel,
  .nav-dropdown.is-open .nav-mega-panel {
    display: block;
    transform: none;
  }

  .nav-mega-panel::before {
    display: none;
  }

  .nav-mega-desktop {
    display: none;
  }

  .nav-mega-mobile {
    display: grid;
    gap: 8px;
  }

  .nav-mega-mobile .nav-mega-link {
    padding: 12px 12px 12px 22px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 44px;
  }

  .hero {
    min-height: 640px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.92), rgba(3, 3, 3, 0.68)),
      linear-gradient(180deg, rgba(3, 3, 3, 0.16), rgba(3, 3, 3, 0.86));
  }

  .hero-bg {
    object-position: 68% center;
  }

  .hero-inner {
    width: min(100% - 40px, var(--max));
    display: block;
    padding-top: 54px;
    padding-bottom: 46px;
  }

  .hero-dashboard-wrap {
    display: none;
  }

  .page-hero.section-pad {
    min-height: unset;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-copy > p:not(.eyebrow),
  .page-hero-copy > p {
    font-size: 17px;
  }

  .hero-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 360px;
    gap: 8px;
  }

  .marquee-content {
    gap: 0;
  }

  .marquee-group {
    gap: 48px;
    padding-right: 48px;
  }

  .marquee-content img {
    height: 22px;
  }

  .dot-ai-media {
    min-height: 340px;
  }

  .statement p,
  .dot-ai-copy h2,
  .section-header h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .dot-ai-copy {
    padding: 24px;
  }

  .industry-grid,
  .systems-grid,
  .project-grid,
  .insight-grid,
  .detail-list,
  .project-grid-wide {
    grid-template-columns: 1fr;
  }

  .project-visual {
    height: 220px;
  }

  .update-card {
    grid-template-columns: 1fr;
  }

  .update-card img {
    height: 220px;
  }

  .service-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .service-feature {
    min-height: auto;
  }

  .service-feature-copy {
    padding: 24px;
  }

  .service-feature-copy h3 {
    font-size: 30px;
  }

  .service-feature-focus {
    min-height: 260px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .service-row {
    gap: 14px;
    padding: 20px;
  }

  .service-row h3 {
    font-size: 22px;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }
}

/* ==========================================================================
   PROSPELLO V2 REDESIGN ADDITIONS
   ========================================================================== */

/* Hero Trust Strip */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0;
  padding: 12px 18px;
  background: rgba(8, 8, 8, 0.03);
  border-left: 3px solid var(--red);
  width: fit-content;
}

.trust-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.hero .trust-strip {
  background: rgba(255, 255, 255, 0.05);
}

.hero .trust-label {
  color: rgba(255, 255, 255, 0.72);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust-logos img {
  height: 20px;
  width: auto;
  opacity: 0.85;
  filter: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
}

.trust-logos img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Marquee Logos */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Premium gradient fades on the sides of the showreel */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #050505 0%, transparent 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #050505 0%, transparent 100%);
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 0;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
  flex-shrink: 0;
  min-width: max-content;
}

.marquee-content img {
  height: 32px;
  width: auto;
  opacity: 0.85;
  filter: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
}

.marquee-content img:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Three-Card Gateway Section */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.gateway-card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
  padding: 40px 36px;
  transition: border-color 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
}

.gateway-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.gateway-card:hover::before {
  transform: scaleX(1);
}

.gateway-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gateway-card-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
}

.gateway-card h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
  line-height: 1.15;
}

.gateway-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
  flex-grow: 1;
}

.gateway-card-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red-bright);
  transition: color 180ms ease;
}

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

/* Systems List - Non-Card Split Layout */
.systems-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 0;
}

.system-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}

.system-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.system-info h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.system-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.system-items-list li {
  font-size: 15px;
  color: var(--muted-strong);
  position: relative;
  padding-left: 20px;
  line-height: 1.4;
}

.system-items-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: var(--red);
  border-radius: 50%;
}

.system-visual {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--panel-strong);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.system-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 240ms ease, opacity 240ms ease;
}

.system-row:hover .system-visual img {
  transform: scale(1.02);
  opacity: 1;
}

/* Systems as cards (3 shown + View all) */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
  align-items: stretch;
}

.system-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.system-card-visual {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.system-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 240ms ease, opacity 240ms ease;
}

.system-card:hover .system-card-visual img {
  transform: scale(1.03);
  opacity: 1;
}

.system-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.system-card .system-items-list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.system-card-hidden {
  display: none;
}

.systems-grid.is-expanded .system-card-hidden {
  display: flex;
}

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

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

/* Linear Process Row with Horizontal Connectors */
.process-line-horizontal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding: 40px 0 24px;
  position: relative;
}

.process-step-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step-item::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
  border: 2px solid var(--bg);
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.process-step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  right: calc(-50% - 32px);
  height: 1px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 1;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.process-step-item:hover {
  transform: translateY(-4px);
}

.process-step-item:hover::before {
  background-color: var(--red-bright);
  border-color: var(--red-bright);
  transform: translate(-50%, -50%) scale(1.3);
}

.process-step-item:hover:not(:last-child)::after {
  background-color: var(--red-bright);
  opacity: 0.6;
}

.process-step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--red-bright);
  font-family: monospace;
  letter-spacing: 0.05em;
  background: none;
  padding: 0;
  border-radius: 0;
  transition: color 0.3s ease;
}

.process-step-item:hover .process-step-num {
  color: var(--text);
}

.process-step-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  color: var(--text);
}

.process-step-arrow {
  display: none;
}

/* Testimonials List - Bordered Editorial Rows */
.testimonials-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.testimonial-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
}

.testimonial-row blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

.testimonial-row blockquote::before {
  content: "\201C";
  display: block;
  margin-bottom: 8px;
  font-size: 44px;
  line-height: 0.4;
  color: var(--red);
}

.testimonial-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex-grow: 1;
  justify-content: space-between;
}

.testimonial-avatar {
  display: none;
}

.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
  filter: saturate(1.02);
}

.testimonial-meta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-meta strong {
  color: var(--text);
  font-weight: 700;
}

.testimonial-meta span {
  color: var(--muted);
}

.testimonial-row.is-placeholder blockquote {
  color: var(--muted);
  font-style: italic;
}

.testimonial-row.is-placeholder .testimonial-meta strong,
.testimonial-row.is-placeholder .testimonial-meta span {
  color: var(--muted);
}

/* Updates Editorial Row Layout */
.updates-editorial-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 0;
}

.update-editorial-row {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
  transition: border-color 180ms ease;
}

.update-editorial-row:hover {
  border-color: var(--red);
}

.update-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  width: fit-content;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

.update-left h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.update-left p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.update-right {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
}

.update-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Careers Section Styling */
.careers-content {
  margin-top: 36px;
  max-width: 800px;
}

.careers-content p {
  font-size: 16px;
  color: var(--muted-strong);
  margin-bottom: 24px;
}

.careers-todo-box {
  border: 1px dashed var(--red);
  background: rgba(255, 42, 42, 0.04);
  padding: 24px;
  border-radius: 4px;
  color: var(--red-dark);
  font-size: 15px;
}

/* Clickable Project Card styles */
a.project-card {
  color: inherit;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease, box-shadow 240ms ease;
}

a.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.project-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-content span {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.project-card-content h3 {
  margin: 0 0 12px 0;
  font-size: 21px;
}

.project-card-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.project-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--red-bright);
}

.project-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.project-card-content .project-card-meta span {
  margin-bottom: 0;
}

.project-card-content .project-result-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  background: var(--soft-surface);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.project-result {
  color: var(--red);
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-strong);
  background: var(--soft-surface);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 4px;
}

.project-logo-wrap {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 80px;
  height: 80px;
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  box-sizing: border-box;
}

.project-logo-wrap img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* Products, Services, Industries Page Rows */
.products-list-section,
.services-list-section,
.industries-list-section {
  padding-top: 0;
}

.products-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 32px;
}

/* Services & Industries: multi-card grid (2-3 per row) */
.services-list-container,
.industries-list-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
  align-items: stretch;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: 0 4px 12px rgba(8, 8, 8, 0.02);
}

.service-list-row,
.industry-list-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: 0 4px 12px rgba(8, 8, 8, 0.02);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-list-row:hover,
.industry-list-row:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 10px 28px rgba(8, 8, 8, 0.08);
}

.product-visual,
.service-list-visual,
.industry-list-visual {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}

.product-visual img,
.service-list-visual img,
.industry-list-visual img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.product-copy,
.service-list-copy,
.industry-list-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-copy h2,
.service-list-copy h2,
.industry-list-copy h2 {
  font-size: 32px;
  font-weight: 850;
  margin: 0;
  line-height: 1.15;
}

/* Card variant: smaller headings, copy fills so CTA aligns to bottom */
.service-list-copy h2,
.industry-list-copy h2 {
  font-size: 22px;
}

.service-list-copy,
.industry-list-copy {
  flex: 1;
}

.service-list-copy .button {
  margin-top: auto;
  align-self: flex-start;
}

.product-details-list {
  padding-left: 20px;
  margin: 16px 0 0 0;
}

.product-details-list li {
  margin-bottom: 8px;
  color: var(--muted-strong);
}

.product-details-list .detail-lead {
  font-weight: 800;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.service-list-meta,
.industry-list-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-num,
.industry-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--red);
  font-family: monospace;
}

.products-todo-box {
  border: 1px dashed var(--border);
  padding: 32px;
  border-radius: 4px;
  text-align: center;
  color: var(--muted);
  background: var(--panel-strong);
}

/* Project Detail Layout */
.project-details-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.project-details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 100px;
}

.project-sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.project-logo-bg {
  background: #0d0d0d;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-sizing: border-box;
  padding: 16px;
}

.project-sidebar-logo {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.project-details-main {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.project-detail-block {
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
}

.project-detail-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.project-detail-block h2 {
  font-size: 28px;
  font-weight: 850;
  margin: 0 0 20px 0;
}

.project-detail-block p {
  color: var(--muted-strong);
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
}

.project-todo-block {
  border: 1px dashed var(--border);
  padding: 24px;
  border-radius: 4px;
  background: var(--panel-strong);
  color: var(--muted);
}

.project-detail-cta {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  padding: 48px;
  border-radius: 4px;
  margin-top: 24px;
}

.project-detail-cta h2 {
  font-size: 28px;
  font-weight: 850;
  margin: 0 0 12px 0;
}

.project-detail-cta p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN ADDITIONS
   ========================================================================== */
@media (max-width: 1024px) {
  .gateway-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-list {
    grid-template-columns: 1fr 1fr;
  }
  .product-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  .services-list-container,
  .industries-list-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-details-sidebar {
    position: relative;
    top: 0;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .gateway-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-list {
    grid-template-columns: 1fr;
  }
  .section-pad.dark-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .system-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .system-items-list {
    grid-template-columns: 1fr;
  }
  .process-line-horizontal {
    flex-direction: column;
    gap: 32px;
    padding: 0 0 0 24px;
    margin-left: 16px;
  }
  .process-step-arrow {
    display: none;
  }
  .testimonial-row {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .update-editorial-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .update-right {
    order: -1;
  }
  .services-list-container,
  .industries-list-container {
    grid-template-columns: 1fr;
  }
}

/* Careers Listings */
.careers-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.careers-intro {
  max-width: 640px;
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted-strong);
}

.careers-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

/* Dedicated Careers page */
.careers-page-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.career-listing {
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.career-listing:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 10px 28px rgba(8, 8, 8, 0.06);
}

.career-listing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.career-listing-title h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.career-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-strong);
  background: var(--soft-surface);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 4px;
}

.career-apply {
  flex-shrink: 0;
}

.career-listing-desc {
  margin: 18px 0 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.career-listing-points {
  margin: 14px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.career-listing-points li {
  color: var(--muted);
  line-height: 1.5;
}

.careers-page-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.careers-page-note a {
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 600px) {
  .career-listing-head {
    flex-direction: column;
    gap: 16px;
  }
  .career-apply {
    align-self: flex-start;
  }
}

.careers-openings[hidden] {
  display: none;
}

.careers-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
}

.careers-empty p {
  margin: 0;
  font-size: 16px;
  color: var(--muted-strong);
}

.career-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
  transition: border-color 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
}

.career-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.career-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.career-item:hover::before {
  transform: scaleX(1);
}

.career-item-content {
  flex-grow: 1;
}

.career-item-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.career-item-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.career-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.career-item p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.6;
}

.career-item-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--red-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 180ms ease;
}

.career-item:hover .career-item-link {
  transform: translateX(4px);
}

/* ==========================================================================
   MOBILE OVERFLOW & ALIGNMENT HARDENING (site-wide)
   ========================================================================== */

/* Grid/flex children default to min-width:auto, which refuses to shrink and
   causes horizontal overflow when content (long words, images, wide tables)
   can't fit. Allow these text/media containers to shrink. */
.gateway-card-inner,
.system-info,
.system-visual,
.update-left,
.update-right,
.product-copy,
.product-visual,
.service-list-copy,
.service-list-visual,
.industry-list-copy,
.industry-list-visual,
.project-details-main,
.project-details-sidebar,
.testimonial-main,
.careers-content,
.hero-copy,
.page-hero-copy {
  min-width: 0;
}

/* Media never forces a row wider than its column */
.system-visual img,
.product-visual img,
.service-list-visual img,
.industry-list-visual img,
.update-right img,
.page-hero-art img,
.project-visual img {
  max-width: 100%;
  height: auto;
}

/* Contact form fields must not exceed their column */
.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form label {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 760px) {
  /* Trust strip: wrap instead of overflowing on narrow screens */
  .trust-strip {
    flex-wrap: wrap;
    gap: 12px 16px;
    width: 100%;
    padding: 14px 16px;
  }
  .trust-logos {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  /* Reduce oversized section paddings so content isn't cramped */
  .section-pad {
    padding: 64px 0;
  }
  .section-pad.dark-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-hero.section-pad {
    min-height: unset;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  /* Process arrows already rotate; keep steps full width and centered */
  .process-step-item {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .process-step-header {
    align-items: flex-start;
  }

  .process-step-item::before {
    top: 8px;
    left: -24px;
    transform: translate(-50%, -50%);
  }

  .process-step-item:hover::before {
    transform: translate(-50%, -50%) scale(1.3);
  }

  .process-step-item:not(:last-child)::after {
    top: 8px;
    bottom: -40px;
    left: -24px;
    right: auto;
    width: 1px;
    height: auto;
    transform: translate(-50%, 0);
  }

  /* Project detail sidebar stacks cleanly */
  .project-details-sidebar {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  /* Tighten gutters slightly on very small phones, keep dark/light aligned */
  .section-pad,
  .nav-shell,
  .hero-inner {
    width: min(100% - 32px, var(--max));
  }
  .footer-grid,
  .footer-bottom {
    width: min(100% - 32px, var(--max));
  }
  .nav-links {
    right: 16px;
    left: 16px;
  }
  .section-pad.dark-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .gateway-card,
  .testimonial-row,
  .career-item,
  .careers-empty,
  .product-row,
  .service-list-row,
  .industry-list-row {
    padding: 22px;
  }
  .career-badge {
    font-size: 11px;
  }
}




/* Hero Dashboard Wrap Layout */
.hero-dashboard-wrap {
  grid-column: 7 / span 6;
  width: 100%;
  align-self: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (max-width: 1020px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-copy {
    max-width: 720px;
    width: 100%;
    grid-column: 1 / span 12;
  }

  .hero-copy .eyebrow::after {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--red);
  }

  .hero-dashboard-wrap {
    display: none;
  }

  .trust-strip {
    justify-content: center;
  }

  .button-row {
    justify-content: center;
  }

  .careers-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Operations Dashboard Component Styles Scoped */
.ops-dashboard-container, .ops-metrics-band {
  --bg-primary: #0A0A0C;
  --bg-sidebar: #0C0C10;
  --bg-card: #101014;
  --border-card: rgba(255, 255, 255, 0.07);
  --color-accent: #fc1b1b;
  --color-accent-glow: rgba(252, 27, 27, 0.15);
  --text-primary: #F4F5F7;
  --text-secondary: #A2A6AD;
  --text-muted: #6B6F76;
  --text-dark: #4A4D54;
  --bg-bar-inactive: #2A2A30;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ops-dashboard-container {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  display: flex;
  min-height: 400px;
  width: 100%;
  max-width: 580px; /* Reduced to align with 6/6 split */
  margin: 0 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  box-sizing: border-box;
}

.ops-dashboard-container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Background Glow Effect */
.ops-dashboard-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 60px;
  right: 0;
  height: 180px;
  background: radial-gradient(circle at 50% 0%, var(--color-accent-glow) 0%, rgba(235, 40, 43, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* Sidebar / Left Rail */
.ops-sidebar {
  width: 54px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  z-index: 2;
}

.ops-logo {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  margin-bottom: 30px;
}

.ops-nav-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: center;
}

.ops-nav-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  opacity: 0.3;
  transition: var(--transition-smooth);
}

.ops-nav-group:hover, .ops-nav-group.active {
  opacity: 1;
}

.ops-nav-bar {
  width: 12px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 1.5px;
}

/* Main Dashboard Panel */
.ops-main {
  flex: 1;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  overflow: hidden;
}

/* Top Header Bar */
.ops-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ops-header-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.ops-status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #15151A;
  border: 1px solid var(--border-card);
  position: relative;
}

.ops-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 6px var(--color-accent);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(235, 40, 43, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(235, 40, 43, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(235, 40, 43, 0);
  }
}

/* KPI Tiles Grid */
.ops-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ops-kpi-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: var(--transition-smooth);
}

.ops-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.ops-kpi-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ops-kpi-value.accent {
  color: var(--color-accent);
  text-shadow: 0 0 10px rgba(235, 40, 43, 0.1);
}

.ops-kpi-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Content Visualization Section */
.ops-viz-section {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 12px;
  flex: 1;
}

.ops-viz-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ops-viz-card-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

/* Volume Line Chart Area */
.ops-chart-container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ops-chart-svg {
  width: 100%;
  height: 100%;
  min-height: 110px;
  display: block;
}

.ops-chart-path-bg {
  fill: url(#chart-gradient);
}

.ops-chart-line {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-line 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.ops-chart-point {
  fill: var(--color-accent);
  stroke: var(--bg-card);
  stroke-width: 1.5;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ops-chart-point:hover {
  r: 5.5;
  stroke-width: 2;
}

.ops-chart-gridline {
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 1;
}

.ops-chart-ticks-x {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px 0 8px;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Tooltip style */
.ops-chart-tooltip {
  position: absolute;
  background-color: #15151A;
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%) scale(0.9);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.ops-chart-tooltip::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background-color: #15151A;
  border-right: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.ops-chart-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -120%) scale(1);
}

/* Right Column Panel containing Bar Chart and SLA Met */
.ops-right-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Bar Chart */
.ops-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 48px;
  margin-top: 4px;
  padding: 0 2px;
}

.ops-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
  position: relative;
}

.ops-bar {
  width: 65%;
  max-width: 16px;
  background-color: var(--bg-bar-inactive);
  border-radius: 2px;
  height: 0;
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
}

.ops-bar-wrapper:hover .ops-bar {
  background-color: rgba(255, 255, 255, 0.2);
}

.ops-bar.highlight {
  background-color: var(--color-accent);
  box-shadow: 0 0 8px rgba(235, 40, 43, 0.3);
}

/* SLA Circular Gauge */
.ops-gauge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 4px 0;
}

.ops-gauge-svg {
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
}

.ops-gauge-bg {
  fill: none;
  stroke: var(--bg-bar-inactive);
  stroke-width: 7px;
}

.ops-gauge-fill {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 7px;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ops-gauge-text {
  position: absolute;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .ops-dashboard-container {
    flex-direction: column;
    min-height: auto;
    border-radius: 12px;
    margin: 0 auto;
  }
  
  .ops-dashboard-container::before {
    left: 0;
  }

  .ops-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 18px;
    border-right: none;
    border-bottom: 1px solid var(--border-card);
  }

  .ops-logo {
    margin-bottom: 0;
  }

  .ops-nav-items {
    flex-direction: row;
    width: auto;
    gap: 16px;
  }

  .ops-nav-group {
    flex-direction: row;
  }

  .ops-nav-bar {
    width: 3px;
    height: 12px;
  }

  .ops-main {
    padding: 16px;
  }

  .ops-kpi-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ops-viz-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ops-right-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .ops-right-panel {
    grid-template-columns: 1fr;
  }
}

/* Bottom Key Metrics Band */
.ops-metrics-band {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 580px; /* Reduced to align with 6/6 split */
  margin: 18px 0 0 auto;
  box-sizing: border-box;
}

.ops-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.ops-metric-value {
  font-family: var(--font-family);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ops-metric-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.54);
  margin-top: 4px;
  text-align: center;
}

@media (max-width: 1020px) {
  .ops-dashboard-container {
    margin: 0 auto;
  }
  .ops-metrics-band {
    margin: 18px auto 0 auto;
  }
}

@media (max-width: 768px) {
  .ops-metrics-band {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    padding-left: 8px;
    padding-right: 8px;
    margin: 16px auto 0 auto;
  }
  
  .ops-metric-item {
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .ops-metric-value {
    font-size: clamp(1.0rem, 3.8vw, 1.35rem) !important;
  }

  .ops-metric-label {
    font-size: 8px !important;
    margin-top: 3px !important;
    text-align: center !important;
  }
}

/* Redesigned Service Highlights */
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px 0;
}

.service-highlight-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-strong);
  background: var(--soft-surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.service-highlight-tag:hover {
  background: var(--bg);
  border-color: var(--border-strong);
}

/* Redesigned Service Capability Cards (Corporate Style) */
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.detail-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
  padding: 36px 32px;
  min-height: 220px;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.detail-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.detail-item:hover::before {
  transform: scaleX(1);
}

.detail-item span {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-bright);
  margin-bottom: 20px;
  display: inline-block;
  letter-spacing: 0.05em;
}

.detail-item h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px 0;
  line-height: 1.25;
  color: var(--text);
}

.detail-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1020px) {
  .detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .detail-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .detail-item {
    padding: 28px 24px;
    min-height: auto;
  }
}

@media (min-width: 761px) {
  .system-card h3 {
    min-height: 52px;
  }
  .service-list-copy h2,
  .industry-list-copy h2 {
    min-height: 54px;
  }
}
