:root {
  --white: #ffffff;
  --navy: #050a14;
  --navy-light: #0d1a2d;
  --blue: #0056b3;
  --blue-bright: #0066d4;
  --blue-muted: rgba(0, 86, 179, 0.12);
  --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;
}

*,
*::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: 80px;
  height: auto;
  padding: 10px 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: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  overflow: visible;
}

.logo-icon {
  display: block;
  height: 46px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text-img {
  display: block;
  height: 32px;
  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: 1;
  min-width: 0;
  max-width: none;
  object-fit: contain;
}

.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;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active {
  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-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: 80px;
  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: 2rem;
  width: 100%;
  max-width: none;
  padding-right: 2rem;
}

.page-home.hero-fullscan .hero-logo {
  align-items: stretch;
  width: 100%;
}

.page-home.hero-fullscan .hero h1 {
  color: var(--white);
}

.page-home.hero-fullscan .hero-desc {
  color: rgba(255, 255, 255, 0.8);
}

.page-home.hero-fullscan .hero-logo-tagline {
  color: rgba(255, 255, 255, 0.65);
}

.page-home.hero-fullscan .hero-logo-row {
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  gap: 0.5rem;
  box-sizing: border-box;
}

.page-home.hero-fullscan .hero-logo-icon {
  height: 48px;
  width: fit-content;
}

.page-home.hero-fullscan .hero-logo-wordmark {
  flex: 1;
  width: auto;
  height: 48px;
  max-width: none;
  object-fit: contain;
}

.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;
}

.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(80px + 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;
}

.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: 1.25rem;
}

.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);
}

/* Media */
.work {
  padding: 6rem 0;
  background: var(--white);
}

.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: #f4f7fb;
}

.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: #f4f7fb;
  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;
}

.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;
}

.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);
}

/* Mobile */
@media (max-width: 900px) {
  .page-hero {
    padding: calc(80px + 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-visual::before {
    background:
      linear-gradient(to right, var(--navy) 0%, rgba(5, 10, 20, 0.9) 6%, transparent 18%),
      linear-gradient(to left, var(--navy) 0%, rgba(5, 10, 20, 0.9) 6%, transparent 18%),
      linear-gradient(
        to bottom,
        rgba(5, 10, 20, 0.45) 0%,
        rgba(5, 10, 20, 0.78) 40%,
        rgba(5, 10, 20, 0.5) 100%
      );
  }

  .page-home.hero-fullscan .hero-wirescan {
    transform: scale(1.2);
    object-position: center 35%;
  }

  .page-home.hero-fullscan .hero-content {
    position: relative;
    z-index: 2;
    padding-block: 1.5rem 5rem;
  }

  .page-home.hero-fullscan .hero-text {
    padding: 1.5rem;
  }

  .page-home.hero-fullscan .hero-logo-row {
    padding: 6px 10px;
  }

  .page-home.hero-fullscan .hero-logo {
    align-items: center;
  }

  .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(80px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--white);
    flex-direction: column;
    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 - 80px - env(safe-area-inset-top));
    overflow-y: auto;
  }

  .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-text {
    padding: 1.15rem;
  }

  .page-home.hero-fullscan .hero-logo-icon {
    height: 34px;
  }

  .page-home.hero-fullscan .hero-logo-wordmark {
    height: 34px;
  }

  .page-home.hero-fullscan .hero-wirescan {
    transform: scale(1.08);
  }

  .page-home.hero-fullscan .hero-content {
    padding-block: 1rem 4.5rem;
  }

  .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;
  }
}
