:root {
  --white: #ffffff;
  --navy: #050a14;
  --navy-light: #0d1a2d;
  --blue: #0056b3;
  --blue-bright: #0066d4;
  --blue-muted: rgba(0, 86, 179, 0.12);
  --blue-surface: #eef4fc;
  --blue-surface-muted: #e2ecf8;
  --blue-surface-deep: #d6e4f5;
  --text: #1a1a2e;
  --text-muted: #5a6270;
  --border: rgba(0, 86, 179, 0.2);
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(5, 10, 20, 0.08);
  --shadow-lg: 0 12px 48px rgba(5, 10, 20, 0.15);
  --radius: 4px;
  --transition: 0.25s ease;
  --site-header-height: 108px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}

/* Header */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--site-header-height);
  height: auto;
  padding: 12px 0;
  overflow: visible;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  overflow: visible;
  padding-top: env(safe-area-inset-top);
}

.site-header .logo-icon {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  overflow: visible;
}

.logo-icon {
  display: block;
  height: 64px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  overflow: visible;
  width: 100%;
}

.hero-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.hero-logo-icon {
  display: block;
  height: 52px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-logo-wordmark {
  display: block;
  height: 44px;
  width: auto;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.hero-logo-tagline {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  width: 100%;
  font-size: clamp(0.58rem, 1.5vw, 0.7rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-logo-tagline::before,
.hero-logo-tagline::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border-radius: var(--radius);
}

.footer-logo {
  display: block;
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.logo-e {
  color: var(--blue);
  position: relative;
}

.logo-e::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: translateY(-50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color var(--transition);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active {
  color: var(--blue);
}

.nav-has-dropdown > .nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: default;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 0;
  text-align: inherit;
  transition: color var(--transition);
}

.nav-has-dropdown > .nav-dropdown-trigger:hover,
.nav-has-dropdown > .nav-dropdown-trigger.active {
  color: var(--blue);
}

.nav-has-dropdown > .nav-dropdown-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  margin-top: 2px;
  transition: transform var(--transition);
}

.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown li {
  margin: 0;
  list-style: none;
}

.nav-dropdown-label {
  padding: 0.45rem 1.15rem 0.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.nav-dropdown-divider {
  height: 1px;
  margin: 0.35rem 0.75rem;
  background: var(--border);
  list-style: none;
}

@media (min-width: 901px) {
  .nav-has-dropdown {
    position: relative;
  }

  .nav-has-dropdown > .nav-dropdown-trigger {
    cursor: pointer;
  }

  .nav-has-dropdown:hover > .nav-dropdown-trigger::after,
  .nav-has-dropdown:focus-within > .nav-dropdown-trigger::after {
    transform: rotate(180deg);
  }

  .nav-has-dropdown .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 22rem;
    padding: 0.55rem 0 0.4rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 120;
  }

  .nav-has-dropdown .nav-dropdown::before {
    content: '';
    position: absolute;
    top: -0.6rem;
    left: 0;
    right: 0;
    height: 0.6rem;
  }

  .nav-has-dropdown:hover .nav-dropdown,
  .nav-has-dropdown:focus-within .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.35;
    color: var(--text);
    white-space: nowrap;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
  }

  .nav-dropdown a:hover {
    background: var(--blue-surface);
    color: var(--blue);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn-light:hover {
  background: transparent;
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--site-header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(128deg, var(--white) 54%, transparent 54%),
    var(--navy);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(0, 86, 179, 0.05) 40px,
      rgba(0, 86, 179, 0.05) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(0, 86, 179, 0.05) 40px,
      rgba(0, 86, 179, 0.05) 41px
    );
  opacity: 0.7;
  z-index: 0;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 4rem 6rem;
  max-width: 540px;
}

.hero-content.container {
  margin-left: max(3vw, calc((100vw - 1120px) / 2));
  margin-right: auto;
  width: min(1120px, 94vw);
}

.hero-text {
  max-width: 480px;
  padding-right: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: min(68vw, 1020px);
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-wirescan {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  display: block;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    var(--white) 0%,
    rgba(255, 255, 255, 0.85) 8%,
    rgba(5, 10, 20, 0.15) 22%,
    transparent 38%
  );
  z-index: 2;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(0, 102, 212, 0.08) 75%,
    rgba(0, 102, 212, 0.18) 100%
  );
  z-index: 2;
}

.hero-scan-beam {
  position: absolute;
  left: -5%;
  right: -5%;
  height: 35%;
  background: linear-gradient(
    to bottom,
    rgba(0, 102, 212, 0) 0%,
    rgba(0, 102, 212, 0.12) 35%,
    rgba(0, 102, 212, 0.45) 50%,
    rgba(0, 102, 212, 0.12) 65%,
    rgba(0, 102, 212, 0) 100%
  );
  animation: heroScanSweep 5s ease-in-out infinite;
  z-index: 3;
}

.hero-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 102, 212, 0.4) 15%,
    #66b3ff 35%,
    #ffffff 50%,
    #66b3ff 65%,
    rgba(0, 102, 212, 0.4) 85%,
    transparent 100%
  );
  box-shadow:
    0 0 24px rgba(0, 102, 212, 0.9),
    0 0 80px rgba(0, 102, 212, 0.45);
  animation: heroScanSweep 5s ease-in-out infinite;
  z-index: 4;
}

.hero-scan-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 102, 212, 0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      rgba(0, 102, 212, 0.04) 18px,
      rgba(0, 102, 212, 0.04) 19px
    );
  animation: heroScanPulse 3s ease-in-out infinite;
  z-index: 3;
}

@keyframes heroScanSweep {
  0%, 100% { top: 8%; opacity: 0.65; }
  50% { top: 78%; opacity: 1; }
}

@keyframes heroScanPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

/* Full-page scan background — revert by removing hero-fullscan from <body> on index.html */
.page-home.hero-fullscan .hero {
  background: var(--navy);
}

.page-home.hero-fullscan .hero::before,
.page-home.hero-fullscan .hero::after {
  display: none;
}

.page-home.hero-fullscan .hero-visual {
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home.hero-fullscan .hero-wirescan {
  object-position: center center;
  transform: scale(1.34);
  transform-origin: center center;
}

.page-home.hero-fullscan .hero-visual::before {
  background:
    linear-gradient(to right, var(--navy) 0%, rgba(5, 10, 20, 0.92) 5%, transparent 16%),
    linear-gradient(to left, var(--navy) 0%, rgba(5, 10, 20, 0.92) 5%, transparent 16%),
    linear-gradient(
      to right,
      rgba(5, 10, 20, 0.7) 0%,
      rgba(5, 10, 20, 0.45) 28%,
      rgba(5, 10, 20, 0.15) 52%,
      transparent 72%
    );
}

.page-home.hero-fullscan .hero-visual::after {
  background:
    linear-gradient(to top, var(--navy) 0%, rgba(5, 10, 20, 0.5) 4%, transparent 12%),
    linear-gradient(
      to bottom,
      transparent 38%,
      rgba(0, 102, 212, 0.05) 68%,
      rgba(0, 102, 212, 0.16) 100%
    );
}

.page-home.hero-fullscan .hero-text {
  background: rgba(5, 10, 20, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 86, 179, 0.3);
  border-radius: var(--radius);
  padding: var(--hero-panel-padding, 2rem);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.page-home.hero-fullscan .hero-logo {
  align-items: center;
  width: 100%;
}

.page-home.hero-fullscan .hero h1 {
  color: var(--white);
}

.page-home.hero-fullscan .hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  line-height: 1.75;
}

.page-home.hero-fullscan .hero-logo-tagline {
  color: rgba(255, 255, 255, 0.65);
  justify-content: center;
  text-align: center;
}

.page-home.hero-fullscan .hero-logo-row {
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.page-home.hero-fullscan .hero-logo-icon {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.page-home.hero-fullscan .hero-logo-wordmark {
  flex: none;
  width: auto;
  height: 48px;
  max-width: min(100%, 320px);
  object-fit: contain;
  object-position: left center;
}

.page-home.hero-fullscan .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.page-home.hero-fullscan .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.page-home.hero-fullscan .hero-tagline {
  z-index: 3;
}

.page-home.hero-fullscan {
  --hero-panel-gap: 2rem;
  --hero-panel-padding: 2.25rem;
  --hero-panel-width: min(920px, calc((100vw - 4rem - var(--hero-panel-gap)) / 2));
  --hero-panel-min-height: min(920px, calc(100vh - 110px));
}

@media (min-width: 1400px) {
  .page-home.hero-fullscan {
    --hero-panel-gap: 2.25rem;
    --hero-panel-padding: 2.75rem;
    --hero-panel-min-height: min(960px, calc(100vh - 90px));
  }

  .page-home.hero-fullscan .hero h1 {
    font-size: clamp(3rem, 2.8vw + 1.25rem, 4.75rem);
  }

  .page-home.hero-fullscan .hero-desc {
    font-size: 1.55rem;
  }

  .page-home.hero-fullscan .hero-logo-tagline {
    font-size: clamp(0.88rem, 0.45vw + 0.7rem, 1.05rem);
  }

  .page-home.hero-fullscan .hero-logo-icon,
  .page-home.hero-fullscan .hero-logo-wordmark {
    height: 72px;
  }

  .page-home.hero-fullscan .hero-actions .btn {
    padding: 1.15rem 2.35rem;
    font-size: 1.05rem;
  }
}

@media (min-width: 1800px) {
  .page-home.hero-fullscan {
    --hero-panel-width: min(980px, calc((100vw - 4rem - var(--hero-panel-gap)) / 2));
    --hero-panel-min-height: min(1000px, calc(100vh - 80px));
    --hero-panel-padding: 3rem;
  }

  .page-home.hero-fullscan .hero h1 {
    font-size: clamp(3.25rem, 2.5vw + 1.5rem, 5.25rem);
  }

  .page-home.hero-fullscan .hero-desc {
    font-size: 1.65rem;
  }
}

.page-home.hero-fullscan .hero-content {
  max-width: var(--hero-panel-width);
}

@media (min-width: 901px) {
  .page-home.hero-fullscan .hero {
    display: grid;
    grid-template-columns: 1fr var(--hero-panel-width) var(--hero-panel-width) 1fr;
    grid-template-rows: 1fr auto auto 1fr;
    align-items: stretch;
    column-gap: var(--hero-panel-gap);
  }

  .page-home.hero-fullscan .hero-visual {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
  }

  .page-home.hero-fullscan .hero-content.container {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    max-width: none;
    width: 100%;
    padding-block: 0;
    align-self: stretch;
    height: auto;
    display: flex;
    align-items: stretch;
  }

  .page-home.hero-fullscan .hero-text {
    min-height: var(--hero-panel-min-height);
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.1rem;
  }

  .page-home.hero-fullscan .hero-logo {
    margin-bottom: 0;
    gap: 1.35rem;
  }

  .page-home.hero-fullscan .hero h1 {
    font-size: clamp(2.75rem, 3vw + 1.15rem, 4.35rem);
    margin-bottom: 0;
    line-height: 1.08;
  }

  .page-home.hero-fullscan .hero-desc {
    font-size: 1.45rem;
    line-height: 1.65;
    margin-bottom: 0;
  }

  .page-home.hero-fullscan .hero-logo-row {
    padding: 16px 24px;
    gap: 0.85rem;
  }

  .page-home.hero-fullscan .hero-logo-icon {
    height: 66px;
  }

  .page-home.hero-fullscan .hero-logo-wordmark {
    height: 66px;
    max-width: min(100%, 440px);
  }

  .page-home.hero-fullscan .hero-logo-tagline {
    font-size: clamp(0.82rem, 0.6vw + 0.6rem, 0.98rem);
  }

  .page-home.hero-fullscan .hero-actions {
    gap: 1.25rem;
    margin-top: 0.35rem;
  }

  .page-home.hero-fullscan .hero-actions .btn {
    padding: 1.15rem 2.25rem;
    font-size: 1rem;
  }

  .page-home.hero-fullscan .hero-media-player {
    grid-column: 3;
    grid-row: 2;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-height: none;
    min-height: var(--hero-panel-min-height);
    height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .page-home.hero-fullscan .media-player-stage {
    flex: 1;
    min-height: min(520px, calc(100vh - 320px));
    aspect-ratio: unset;
  }

  .page-home.hero-fullscan .media-player-category {
    font-size: 0.82rem;
  }

  .page-home.hero-fullscan .media-player-counter {
    font-size: 0.82rem;
  }

  .page-home.hero-fullscan .media-player-caption {
    font-size: 1.2rem;
    line-height: 1.55;
    min-height: 2.6em;
    margin-top: 1rem;
  }

  .page-home.hero-fullscan .hero-tagline {
    grid-column: 2 / 4;
    grid-row: 3;
    justify-self: end;
    margin-right: 0;
    margin-top: 1.25rem;
    align-self: start;
  }
}

/* Hero media player — cycles site media; supports future 3D scans via manifest type: "model" */
.hero-media-player {
  position: absolute;
  z-index: 3;
  right: max(3vw, calc((100vw - 1120px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: var(--hero-panel-width, min(540px, calc(94vw - 2rem)));
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  background: rgba(5, 10, 20, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 86, 179, 0.3);
  border-radius: var(--radius);
  padding: var(--hero-panel-padding, 2rem);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.4s ease;
  box-sizing: border-box;
}

.page-home.hero-fullscan .hero-media-player {
  display: flex;
  flex-direction: column;
}

.hero-media-player.is-ready {
  opacity: 1;
}

.media-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.media-player-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
}

.media-player-counter {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.media-player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-player-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.media-player-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.media-player-slide img,
.media-player-slide video,
.media-player-slide model-viewer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-player-slide--contain img,
.media-player-slide--contain video {
  object-fit: contain;
}

.media-player-slide model-viewer {
  --progress-bar-color: var(--blue-bright);
  background: rgba(5, 10, 20, 0.6);
}

.media-player-slide model-viewer.is-loading {
  visibility: hidden;
}

.media-player-model-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  background: rgba(5, 10, 20, 0.85);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.media-player-model-placeholder svg {
  width: 36px;
  height: 36px;
  color: var(--blue-bright);
}

.media-player-caption {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  min-height: 2.4em;
}

.media-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.media-player-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.media-player-btn:hover {
  background: rgba(0, 86, 179, 0.35);
  border-color: rgba(0, 102, 212, 0.6);
}

.media-player-btn svg {
  width: 18px;
  height: 18px;
}

.media-player-play .icon-play {
  display: none;
}

.media-player-play.is-paused .icon-pause {
  display: none;
}

.media-player-play.is-paused .icon-play {
  display: block;
}

.media-player-progress {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
}

.media-player-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.media-player-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.media-player-dot.is-active {
  background: var(--blue-bright);
  transform: scale(1.25);
}

/* Default split layout — player sits in right hero panel */
.page-home:not(.hero-fullscan) .hero-media-player {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.page-home:not(.hero-fullscan) .media-player-category {
  color: var(--blue);
}

.page-home:not(.hero-fullscan) .media-player-counter {
  color: var(--text-muted);
}

.page-home:not(.hero-fullscan) .media-player-caption {
  color: var(--text-muted);
}

.page-home:not(.hero-fullscan) .media-player-btn {
  border-color: var(--border);
  background: var(--white);
  color: var(--navy);
}

.page-home:not(.hero-fullscan) .media-player-btn:hover {
  background: var(--blue-muted);
  border-color: var(--blue);
}

.page-home:not(.hero-fullscan) .media-player-dot {
  background: rgba(5, 10, 20, 0.15);
}

.page-home:not(.hero-fullscan) .media-player-dot.is-active {
  background: var(--blue);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.eyebrow .line {
  width: 32px;
  height: 2px;
  background: var(--blue);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-tagline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-left: auto;
  margin-right: min(14vw, 180px);
  width: fit-content;
  max-width: 100%;
}

.hero-tagline svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.tagline-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.4);
}

/* Inner page headers */
.page-hero {
  padding: calc(var(--site-header-height) + 4rem) 0 3.5rem;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(0, 86, 179, 0.07) 48px,
      rgba(0, 86, 179, 0.07) 49px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(0, 86, 179, 0.07) 48px,
      rgba(0, 86, 179, 0.07) 49px
    );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-main {
  padding-top: 0;
  background: var(--blue-surface);
  position: relative;
}

.page-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(0, 86, 179, 0.045) 48px,
      rgba(0, 86, 179, 0.045) 49px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(0, 86, 179, 0.045) 48px,
      rgba(0, 86, 179, 0.045) 49px
    );
  pointer-events: none;
}

.page-main > * {
  position: relative;
  z-index: 1;
}

.page-main > .services,
.page-main > .about,
.page-main > .work,
.page-main > .contact {
  padding-top: 4rem;
}

/* Sections */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services */
.services {
  padding: 6rem 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(0, 86, 179, 0.07) 48px,
      rgba(0, 86, 179, 0.07) 49px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(0, 86, 179, 0.07) 48px,
      rgba(0, 86, 179, 0.07) 49px
    );
  pointer-events: none;
}

.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 86, 179, 0.15), transparent);
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.services-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 920px;
  margin: 0 auto;
}

.service-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: start;
}

.service-item-featured {
  padding: 1.75rem;
  border: 1px solid rgba(0, 86, 179, 0.45);
  border-radius: var(--radius);
  background: rgba(0, 86, 179, 0.08);
}

.service-item-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.service-item-icon svg {
  width: 56px;
  height: 56px;
  color: var(--blue-bright);
}

.service-item-icon span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.service-item-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-item-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.service-item-content h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin: 1.25rem 0 0.75rem;
}

.service-details,
.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.service-details li,
.service-benefits li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
}

.service-details li::before,
.service-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: var(--blue-bright);
  border-radius: 1px;
}

.service-details strong {
  color: var(--white);
}

.service-item-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.service-item-content h3 a:hover {
  color: var(--blue-bright);
}

.service-learn-more {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-bright);
  text-decoration: none;
  transition: color var(--transition);
}

.service-learn-more:hover {
  color: var(--white);
}

/* Service detail pages */
.page-main > .services-overview,
.page-main > .service-detail {
  padding: 4rem 0 5rem;
  background: transparent;
}

.breadcrumb {
  margin-bottom: 1.25rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb li + li::before {
  content: '/';
  color: rgba(255, 255, 255, 0.35);
  margin-right: 0.15rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb li[aria-current="page"] {
  color: var(--blue-bright);
}

.service-detail-grid {
  max-width: 720px;
}

.service-detail-media {
  margin: 0 0 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-detail-media img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-block {
  margin-bottom: 2.25rem;
}

.service-detail-block h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.service-detail-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-detail-list li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
}

.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 1px;
}

.service-detail-highlight {
  padding: 1.5rem;
  background: var(--blue-surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-detail-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Services overview (landing) */
.services-overview {
  padding: 4rem 0 5rem;
  background: transparent;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.services-overview-intro h2,
.services-overview-block h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.services-overview-intro p,
.services-overview-block p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.services-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.services-deliverables li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

.services-deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 1px;
}

.services-overview-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--blue-surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.services-overview-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.services-index {
  padding: 0 0 4rem;
  background: transparent;
}

.services-index-title {
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.services-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.service-index-card {
  display: block;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-index-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.service-index-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.service-index-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.service-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.service-deliverable {
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.service-rpas-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(0, 86, 179, 0.1);
  border-radius: 2px;
}

/* Media */
.work {
  padding: 6rem 0;
  background: transparent;
}

.work-category {
  margin-bottom: 3.5rem;
}

.work-category:last-of-type {
  margin-bottom: 2rem;
}

.work-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.work-item {
  margin: 0;
}

.work-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy);
}

.work-media img,
.work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(0, 86, 179, 0.06),
      rgba(0, 86, 179, 0.06) 10px,
      rgba(0, 86, 179, 0.12) 10px,
      rgba(0, 86, 179, 0.12) 20px
    ),
    var(--navy-light);
}

.work-placeholder::before {
  content: attr(data-label);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
}

.work-placeholder span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.work-placeholder code {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}

.work-item figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.work-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.work-note code {
  font-size: 0.8rem;
  background: var(--blue-muted);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  color: var(--navy);
}

/* About */
.about {
  padding: 6rem 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(0, 86, 179, 0.06) 50px,
      rgba(0, 86, 179, 0.06) 51px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(0, 86, 179, 0.06) 50px,
      rgba(0, 86, 179, 0.06) 51px
    );
  pointer-events: none;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.about-points li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 1px;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.about .about-card {
  background: #ffffff;
  color: var(--text);
}

.about .about-card-top {
  background: #ffffff;
}

.about .about-card-body {
  background: #ffffff;
}

.about .about-card-footer {
  background: var(--blue-surface-muted);
}

.about-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 22rem;
  margin: 0 auto;
}

.about-card-top,
.about-card-body,
.about-card-footer {
  width: 100%;
  text-align: center;
}

.about-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
}

.about-card-logo-wrap {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  background: #ffffff;
  border: 1px solid rgba(0, 86, 179, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(5, 10, 20, 0.08);
}

.about-card-brand-icon {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  background: #ffffff;
  padding: 4px 6px;
  border-radius: 2px;
}

.about-card-brand-wordmark {
  display: block;
  height: 18px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  background: #ffffff;
  padding: 4px 6px;
  border-radius: 2px;
}

.about-card-profile {
  padding: 0 0.5rem;
  width: 100%;
}

.about-card-profile strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.about-card-profile span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.about-card-body {
  padding: 1rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-card-body > p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  width: 100%;
}

.about-card-section {
  width: 100%;
}

.about-card-section + .about-card-section {
  margin-top: 0.95rem;
}

.about-card-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.about-card-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
  width: 100%;
}

.about-card-services li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
  text-align: center;
}

.about-card-services li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 1px;
  flex-shrink: 0;
}

.about-card-area {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 auto;
  width: 100%;
}

.about-card-footer {
  padding: 0.9rem 1.25rem 1.05rem;
  background: var(--blue-surface-muted);
  border-top: 1px solid var(--border);
}

.about-card-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 auto;
  width: 100%;
}

.stat-row {
  display: flex;
  gap: 2rem;
}

.about-licensed {
  padding: 4rem 0 5rem;
  background: var(--blue-surface);
  border-top: 1px solid var(--border);
  scroll-margin-top: 6rem;
}

.about-licensed h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

.about-licensed p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 48rem;
}

.about-licensed p + p {
  margin-top: 1rem;
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-bright);
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* CTA Band */
.cta-band {
  padding: 4rem 0;
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
  max-width: 500px;
  margin-inline: auto;
}

/* Contact */
.contact {
  padding: 6rem 0;
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--blue-muted);
  border-radius: 50%;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-list strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
}

.contact-list span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.contact-list a {
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status:not(:empty) {
  display: block;
}

.form-status--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-status--error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  border-top: 3px solid var(--blue);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand .logo-text {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.footer-copy {
  font-size: 0.8rem;
}

.footer-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
}

@media (prefers-reduced-motion: reduce) {
  .page-home.hero-fullscan .hero-scan-beam,
  .page-home.hero-fullscan .hero-scan-line,
  .page-home.hero-fullscan .hero-scan-glow {
    animation: none;
    opacity: 0.3;
  }

  .media-player-slide {
    transition: none;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .page-hero {
    padding: calc(var(--site-header-height) + 2.5rem) 0 2.5rem;
  }

  .page-main > .services,
  .page-main > .about,
  .page-main > .work,
  .page-main > .contact {
    padding-top: 3rem;
  }

  .services,
  .work,
  .about,
  .contact {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .cta-band {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .hero-content {
    text-align: center;
    padding-block: 2rem 4rem;
    max-width: none;
  }

  .hero-text {
    max-width: none;
    padding-right: 0;
  }

  .hero-logo {
    align-items: center;
    text-align: center;
  }

  .hero-logo-row {
    justify-content: center;
    max-width: 100%;
  }

  .hero-logo-tagline {
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
    line-height: 1.45;
    font-size: clamp(0.5rem, 2.6vw, 0.65rem);
    letter-spacing: 0.05em;
    gap: 0.5rem;
  }

  .hero-logo-tagline::before,
  .hero-logo-tagline::after {
    width: 14px;
  }

  .hero-logo-icon {
    height: 44px;
  }

  .page-home.hero-fullscan .hero-logo-icon {
    height: 40px;
  }

  .hero-logo-wordmark {
    height: 36px;
    max-width: min(240px, 58vw);
  }

  .page-home.hero-fullscan .hero-logo-wordmark {
    height: 40px;
    max-width: min(220px, 52vw);
  }

  .logo-icon {
    height: 40px;
  }

  .logo-text-img {
    height: 28px;
    max-width: min(180px, 42vw);
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    height: 42vh;
    min-height: 280px;
    order: -1;
  }

  .hero-wirescan {
    object-position: center bottom;
  }

  .hero-visual::before {
    background: linear-gradient(
      180deg,
      var(--white) 0%,
      rgba(255, 255, 255, 0.6) 12%,
      transparent 30%
    );
  }

  .hero {
    flex-direction: column;
  }

  .hero-content.container {
    margin-left: auto;
    margin-right: auto;
    width: min(1120px, calc(100% - 2rem));
    order: 1;
  }

  .hero::before {
    background:
      linear-gradient(180deg, var(--white) 52%, var(--navy) 52%);
  }

  .hero::after {
    display: none;
  }

  .hero-tagline {
    margin: 0 auto;
    width: 100%;
    max-width: calc(100% - 2rem);
    justify-content: center;
    margin-right: auto;
    order: 2;
    flex-wrap: wrap;
    text-align: center;
  }

  .page-home.hero-fullscan .hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    order: unset;
  }

  .page-home.hero-fullscan {
    --hero-panel-width: 100%;
    --hero-panel-min-height: 0;
    --hero-panel-padding: 1.25rem;
    --hero-panel-gap: 0.85rem;
  }

  .page-home.hero-fullscan .hero {
    display: flex;
    flex-direction: column;
    gap: var(--hero-panel-gap);
    min-height: 100dvh;
    min-height: 100svh;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    overflow-x: clip;
  }

  .page-home.hero-fullscan .hero-scan-beam,
  .page-home.hero-fullscan .hero-scan-line {
    animation-duration: 7s;
    opacity: 0.45;
  }

  .page-home.hero-fullscan .hero-scan-glow {
    animation-duration: 5s;
    opacity: 0.35;
  }

  .page-home.hero-fullscan .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .page-home.hero-fullscan .hero-actions .btn {
    width: 100%;
  }

  .page-home.hero-fullscan .hero-content.container {
    order: 1;
    width: calc(100% - 2rem);
    padding-block: 0.5rem 0;
  }

  .page-home.hero-fullscan .hero-tagline {
    order: 3;
    width: calc(100% - 2rem);
    max-width: none;
    margin: 0 auto calc(0.5rem + env(safe-area-inset-bottom));
    padding: 0.85rem 1rem;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .page-home.hero-fullscan .hero-visual::before {
    background: linear-gradient(
      to bottom,
      rgba(5, 10, 20, 0.5) 0%,
      rgba(5, 10, 20, 0.82) 45%,
      rgba(5, 10, 20, 0.94) 100%
    );
  }

  .page-home.hero-fullscan .hero-wirescan {
    transform: scale(1.05);
    object-position: center 30%;
  }

  .page-home.hero-fullscan .hero-content {
    position: relative;
    z-index: 2;
    padding-block: 0;
    text-align: left;
  }

  .page-home.hero-fullscan .hero-text {
    padding: var(--hero-panel-padding);
    min-height: 0;
    height: auto;
    display: block;
    text-align: left;
  }

  .page-home.hero-fullscan .hero-logo {
    align-items: stretch;
    text-align: left;
  }

  .page-home.hero-fullscan .hero-logo-row {
    justify-content: flex-start;
    padding: 6px 10px;
  }

  .page-home.hero-fullscan .hero-logo-tagline {
    justify-content: flex-start;
    text-align: left;
  }

  .page-home.hero-fullscan .hero-media-player {
    order: 2;
    margin: 0 auto;
    min-height: 0;
    height: auto;
    overflow-y: visible;
    width: calc(100% - 2rem);
    max-width: none;
  }

  .page-home.hero-fullscan .media-player-stage {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: clamp(220px, 42vw, 360px);
  }

  .page-home.hero-fullscan .media-player-caption {
    min-height: 0;
  }

  .media-player-btn {
    width: 44px;
    height: 44px;
    -webkit-tap-highlight-color: transparent;
  }

  .media-player-progress {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 8px;
    padding: 0.2rem 0.1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  }

  .media-player-progress::-webkit-scrollbar {
    display: none;
  }

  .media-player-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
  }

  .hero-media-player {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% - 2rem);
    max-width: none;
    max-height: none;
    padding: var(--hero-panel-padding, 1.25rem);
    margin: 0 auto;
    order: 2;
    -webkit-tap-highlight-color: transparent;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stat-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .service-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  .service-item-featured {
    padding: 1.25rem;
  }

  .service-details li,
  .service-benefits li {
    text-align: left;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-media {
    aspect-ratio: auto;
  }

  .work-media img,
  .work-media video {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    max-height: 70vh;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--site-header-height) + env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 2rem calc(1.5rem + env(safe-area-inset-bottom));
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    max-height: calc(100dvh - var(--site-header-height) - env(safe-area-inset-top));
    overflow-y: auto;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-has-dropdown > .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .nav-has-dropdown.is-open > .nav-dropdown-trigger::after {
    transform: rotate(180deg);
  }

  .nav-links > li > a:not(.nav-dropdown-trigger) {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.9rem;
  }

  .nav-has-dropdown .nav-dropdown {
    display: none;
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .nav-has-dropdown.is-open .nav-dropdown {
    display: block;
    padding: 0.15rem 0 0.5rem 0.85rem;
    margin-bottom: 0.35rem;
    border-left: 2px solid rgba(0, 86, 179, 0.2);
  }

  .nav-has-dropdown:focus-within .nav-dropdown {
    display: block;
    padding: 0.15rem 0 0.5rem 0.85rem;
    margin-bottom: 0.35rem;
    border-left: 2px solid rgba(0, 86, 179, 0.2);
  }

  .nav-dropdown a {
    display: block;
    padding: 0.55rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    color: var(--text-muted);
    white-space: normal;
    text-decoration: none;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a.active {
    color: var(--blue);
    background: transparent;
  }

  .nav-dropdown-label {
    display: block;
    padding: 0.35rem 0 0.15rem;
    font-size: 0.58rem;
  }

  .nav-dropdown-divider {
    display: block;
    margin: 0.35rem 0;
  }

  .services-overview-grid,
  .service-deliverables-grid,
  .services-index-grid {
    grid-template-columns: 1fr;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.9rem;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .page-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-tagline {
    font-size: 0.62rem;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    letter-spacing: 0.1em;
    max-width: 100%;
    border-radius: var(--radius);
  }

  .page-home.hero-fullscan {
    --hero-panel-padding: 1rem;
  }

  .page-home.hero-fullscan .hero-text {
    padding: var(--hero-panel-padding);
  }

  .page-home.hero-fullscan .hero-logo-icon {
    height: 32px;
  }

  .page-home.hero-fullscan .hero-logo-wordmark {
    height: 32px;
    max-width: min(200px, 48vw);
  }

  .page-home.hero-fullscan .hero-wirescan {
    transform: none;
    object-position: center 25%;
  }

  .page-home.hero-fullscan .hero-content.container {
    width: calc(100% - 1.5rem);
  }

  .page-home.hero-fullscan .hero-media-player,
  .page-home.hero-fullscan .hero-tagline {
    width: calc(100% - 1.5rem);
  }

  .page-home.hero-fullscan .hero h1 {
    font-size: clamp(1.5rem, 7.5vw, 2rem);
    margin-bottom: 1rem;
  }

  .page-home.hero-fullscan .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .media-player-header {
    margin-bottom: 0.65rem;
  }

  .media-player-caption {
    font-size: 0.95rem;
    margin-top: 0.75rem;
  }

  .media-player-controls {
    margin-top: 0.75rem;
  }

  .media-player-progress {
    margin-top: 0.75rem;
  }

  .services-list {
    gap: 2rem;
  }

  .work-category {
    margin-bottom: 2.5rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .stat-row {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
