/* Premier DataCom — site styles */

:root {
  /* Surfaces — light palette */
  --bg-deep: #F4F6FA;
  --bg-base: #FFFFFF;
  --bg-elevated: #FAFBFD;
  --bg-card: #F7F9FC;
  --bg-overlay: rgba(255, 255, 255, 0.84);

  /* Lines + dividers */
  --line: rgba(10, 26, 51, 0.08);
  --line-strong: rgba(10, 26, 51, 0.18);

  /* Text — navy on light */
  --text-primary: #0A1A33;
  --text-secondary: #4A5A75;
  --text-muted: #8896A8;

  /* Accent — Premier DataCom electric blue */
  --accent: #1E8AE5;
  --accent-bright: #0E5BAE;
  --accent-dim: #0E5BAE;
  --accent-glow: rgba(30, 138, 229, 0.18);

  /* Status */
  --signal: #00E27A;

  /* Type */
  --font-display: "Inter", "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  /* Sizing */
  --container: 1280px;
  --container-wide: 1440px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--text-primary);
}

h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.18; }
h4 { font-size: 18px; line-height: 1.3; }

p { margin: 0; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 28px;
  margin: 0 auto;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  padding: 0 28px;
  margin: 0 auto;
}

/* -------- Eyebrow / mono labels -------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.muted { color: var(--text-muted); }
.eyebrow.muted::before { background: var(--text-muted); }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-utility {
  background: #0A1A33;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.header-utility .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.header-utility .util-left,
.header-utility .util-right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.header-utility .util-right a:hover { color: var(--accent-bright); }
.header-utility .util-right a { color: rgba(255,255,255,0.85); }
.header-utility .sig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
}
.header-utility .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(0, 226, 122, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 226, 122, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 226, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 226, 122, 0); }
}

.header-main {
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}
.logo .brand-svg {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo .brand-svg img { height: 100%; width: auto; display: block; }
.logo .sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-left: 14px;
  margin-left: 14px;
  border-left: 1px solid var(--line-strong);
  line-height: 1.2;
  white-space: nowrap;
}
.site-footer .logo .sub { color: var(--text-muted); }

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 4px;
  position: relative;
  transition: color 0.15s;
}
.nav a:hover, .nav a.active { color: var(--text-primary); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.header-phone svg { flex-shrink: 0; }
.header-phone:hover { color: var(--accent); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 6px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.btn-link .arrow {
  transition: transform 0.18s;
}
.btn-link:hover .arrow { transform: translateX(4px); }
.btn .arrow svg { width: 14px; height: 14px; }
.btn-link svg { width: 14px; height: 14px; }

/* -------- Hero -------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  padding-top: 64px;
  padding-bottom: 100px;
  min-height: calc(100vh - var(--header-h) - 34px);
  display: flex;
  align-items: stretch;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(30, 138, 229, 0.10), transparent 50%),
    radial-gradient(circle at 5% 85%, rgba(30, 138, 229, 0.06), transparent 55%);
}
.hero-bg .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 26, 51, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 26, 51, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 78%);
}
.hero-bg .video-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(10, 26, 51, 0.03) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--bg-deep), #ECEFF4 60%, var(--bg-deep));
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-copy h1 {
  margin: 18px 0 22px;
}
.hero-copy h1 .accent {
  color: var(--accent);
}
.hero-copy .lede {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 620px;
}
.hero-meta .item .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-meta .item .label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero right — schematic visual */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 6;
  background: linear-gradient(160deg, #E8EDF4, #DCE3EC);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.hero-visual .label-corner {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-visual .label-corner .dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}
.hero-visual .label-meta {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-visual .placeholder-image {
  position: absolute;
  inset: 0;
  background-image: url("../assets/photos/cabling-vertical.jpg");
  background-size: cover;
  background-position: center;
}
.hero-visual .placeholder-image::after {
  content: none;
}
.hero-visual .crosshair {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  z-index: 2;
}
.hero-visual .crosshair.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.hero-visual .crosshair.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.hero-visual .crosshair.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.hero-visual .crosshair.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.hero-visual .scan-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.08) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: scan 4.5s linear infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes scan {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}

/* -------- Sections -------- */
section {
  padding: 96px 0;
  position: relative;
}
section.compact { padding: 64px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .lede {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
}
.section-head h2 { margin-top: 12px; }
.section-head.center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* -------- Services grid -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg-base);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: background 0.2s;
  position: relative;
}
.service-card:hover {
  background: var(--bg-card);
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.service-card .more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.service-card .more .arrow {
  transition: transform 0.18s;
}
.service-card:hover .more .arrow { transform: translateX(4px); }

/* -------- Stats band -------- */
.stats-band {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(60px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}
.stat .num .suffix {
  color: var(--accent);
}
.stat .label {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.stat .sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* -------- Partners marquee -------- */
.partners {
  background: var(--bg-deep);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.partners-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  gap: 40px;
}
.partners-head h3 {
  font-size: 24px;
  max-width: 480px;
}
.partners-head p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
  text-align: right;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.partner {
  background: var(--bg-base);
  padding: 28px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  min-height: 92px;
  transition: all 0.2s;
  text-align: center;
}
.partner:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}
.partner .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
}

/* -------- About preview -------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-preview .image-block {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, rgba(10, 26, 51, 0.05) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #E8EDF4, #DCE3EC);
  border: 1px solid var(--line-strong);
  position: relative;
}
.about-preview .image-block::after {
  content: "[ TEAM PORTRAIT • CENTRAL TEXAS HEADQUARTERS ]";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-align: center;
  width: 86%;
}
.about-preview h2 { margin: 16px 0 24px; }
.about-preview .body p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 18px;
  max-width: 540px;
}
.about-preview .body p strong { color: var(--text-primary); font-weight: 500; }
.about-preview .values {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 540px;
}
.about-preview .value {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.about-preview .value .vlabel {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.about-preview .value .vtext {
  font-size: 14px;
  color: var(--text-secondary);
}

/* -------- Projects highlights -------- */
.projects-band {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
}
.project-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.project-card {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.2s;
}
.project-card.wide { aspect-ratio: 16 / 11; }
.project-card .bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(10, 26, 51, 0.05) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #E8EDF4, #DCE3EC);
  z-index: 0;
}
.project-card .bg::after {
  content: attr(data-caption);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-align: center;
  white-space: pre;
  opacity: 0.7;
}
.project-card .meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-card h4 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.project-card p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-secondary);
}

/* -------- CTA band -------- */
.cta-band {
  background: #0A1A33;
  color: #F0F5FB;
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(30, 138, 229, 0.22), transparent 50%);
}
.cta-band h2 { color: #F5F8FC; }
.cta-band .eyebrow { color: var(--accent-bright); }
.cta-band .eyebrow::before { background: var(--accent-bright); }
.cta-band p { color: rgba(255,255,255,0.75); }
.cta-band .info-row { border-top-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); }
.cta-band .info-row a { color: rgba(255,255,255,0.85); }
.cta-band .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.22); }
.cta-band .btn-ghost:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.cta-band .inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(34px, 4vw, 56px); margin: 18px 0 24px; }
.cta-band p { color: var(--text-secondary); font-size: 18px; max-width: 540px; }
.cta-band .actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
.cta-band .actions .btn { justify-content: center; padding: 18px 24px; font-size: 15px; }
.cta-band .info-row {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.cta-band .info-row a { color: var(--text-secondary); }
.cta-band .info-row a:hover { color: var(--accent); }

/* -------- Footer -------- */
.site-footer {
  background: #050D1C;
  color: #C7D0DE;
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}
.site-footer .footer-brand p { color: rgba(255,255,255,0.55); }
.site-footer .footer-col h5 { color: rgba(255,255,255,0.45); }
.site-footer .footer-col li a { color: rgba(255,255,255,0.7); }
.site-footer .footer-col li a:hover { color: var(--accent-bright); }
.site-footer .footer-col .address { color: rgba(255,255,255,0.7); }
.site-footer .footer-col .address a:hover { color: var(--accent-bright); }
.site-footer .footer-bottom { border-top-color: rgba(255,255,255,0.10); color: rgba(255,255,255,0.4); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}
.footer-brand .logo { margin-bottom: 24px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col li a:hover { color: var(--accent); }
.footer-col .address {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.footer-col .address a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-bottom .ids {
  display: flex;
  gap: 28px;
}

/* -------- Page hero (interior pages) -------- */
.page-hero {
  position: relative;
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(30, 138, 229, 0.10), transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero .crumbs span { color: var(--text-muted); }
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 24px; max-width: 900px; }
.page-hero .lede {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
}

/* -------- Service detail -------- */
.service-detail {
  padding: 96px 0;
}
.service-detail .layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.service-detail aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
}
.service-detail aside .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.service-detail aside .tag {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.service-detail aside .spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.service-detail aside .spec-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.service-detail aside .spec-list li .key {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}
.service-detail aside .spec-list li .val { color: var(--text-primary); text-align: right; }

.service-detail .body h2 { margin-bottom: 20px; font-size: 36px; }
.service-detail .body p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 18px;
  max-width: 720px;
}
.service-detail .feature-list {
  margin: 32px 0;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-detail .feature-list li {
  padding: 22px 24px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-detail .feature-list li .ft-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.service-detail .feature-list li .ft-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
}
.service-detail .feature-list li .ft-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.service-detail .image-block {
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(45deg, rgba(10, 26, 51, 0.05) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #E8EDF4, #DCE3EC);
  border: 1px solid var(--line-strong);
  position: relative;
  margin: 40px 0;
}
.service-detail .image-block::after {
  content: attr(data-caption);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-align: center;
}

/* Related services row */
.related-services {
  border-top: 1px solid var(--line);
  padding: 80px 0;
  background: var(--bg-base);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.related-grid a {
  padding: 24px 24px 28px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}
.related-grid a:hover { border-color: var(--accent); }
.related-grid .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.related-grid .ttl {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

/* -------- About page -------- */
.about-intro {
  padding: 96px 0;
}
.about-intro .grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-intro .grid p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 20px;
  max-width: 640px;
}
.about-intro .grid p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 60px;
  float: left;
  line-height: 0.9;
  padding: 6px 14px 0 0;
  color: var(--accent);
  font-weight: 500;
}

.timeline {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}
.timeline .items {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.timeline .tnode {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.timeline .tnode:last-child { border-right: none; }
.timeline .tnode::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline .year {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.timeline .desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.leadership {
  padding: 96px 0;
}
.leader-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.leader {
  background: var(--bg-base);
  border: 1px solid var(--line);
}
.leader .portrait {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, rgba(10, 26, 51, 0.05) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #E8EDF4, #DCE3EC);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.leader .portrait::after {
  content: attr(data-caption);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-align: center;
}
.leader .info { padding: 24px 26px 28px; }
.leader .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.leader .title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.leader .bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -------- Projects page -------- */
.projects-list {
  padding: 96px 0;
}
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-bar button {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-secondary);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-bar button:hover { color: var(--accent); border-color: var(--accent); }
.filter-bar button.active {
  background: var(--accent);
  color: #03131A;
  border-color: var(--accent);
}

.project-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.project-list-card {
  border: 1px solid var(--line);
  background: var(--bg-base);
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.project-list-card:hover { border-color: var(--accent); }
.project-list-card .visual {
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(45deg, rgba(10, 26, 51, 0.05) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #E8EDF4, #DCE3EC);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.project-list-card .visual::after {
  content: attr(data-caption);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-align: center;
}
.project-list-card .info { padding: 28px; }
.project-list-card .ptag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.project-list-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.project-list-card .descr {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.project-list-card .specs {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.project-list-card .specs li .k {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.project-list-card .specs li .v { color: var(--text-primary); font-size: 13px; }

/* -------- Contact page -------- */
.contact-page {
  padding: 96px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
}
.contact-form {
  background: var(--bg-base);
  border: 1px solid var(--line);
  padding: 48px;
}
.contact-form h2 { font-size: 32px; margin-bottom: 8px; }
.contact-form .sub { color: var(--text-muted); margin-bottom: 36px; font-size: 14px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field {
  display: flex;
  flex-direction: column;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}
.field textarea { min-height: 100px; resize: vertical; }
.field select option { background: var(--bg-base); color: var(--text-primary); }
.contact-form .submit-row {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-form .req {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-side .info-block {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.contact-side .info-block:first-child { border-top: none; padding-top: 0; }
.contact-side .info-block .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-side .info-block .val {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.contact-side .info-block .val a:hover { color: var(--accent); }
.contact-side .info-block .sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.map-block {
  margin-top: 24px;
  aspect-ratio: 16 / 10;
  background: var(--bg-base);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.map-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(140, 180, 230, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140, 180, 230, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-block .pin {
  position: absolute;
  top: 56%;
  left: 42%;
}
.map-block .pin::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--accent-glow), 0 0 0 12px rgba(0,212,255,0.06);
}
.map-block .pin .pin-label {
  position: absolute;
  top: -8px;
  left: 22px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.map-block .label-corner {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .stat:last-child { border-bottom: none; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid .project-card.wide { grid-column: 1 / -1; }
  .cta-band .inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-detail .layout { grid-template-columns: 1fr; gap: 48px; }
  .service-detail aside { position: static; }
  .about-intro .grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline .items { grid-template-columns: repeat(2, 1fr); }
  .leader-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-list-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .header-utility { display: none; }
  .nav { display: none; }
  .header-phone { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr !important; }
  .timeline .items { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .about-preview .values { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
  .partners-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .partners-head p { text-align: left; }
}

/* ============================================================
   BROCHURE-DRIVEN COMPONENTS
   ============================================================ */

/* Real-photo media block (replaces striped placeholders) */
.media {
  position: relative;
  overflow: hidden;
  background: #DCE3EC;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-strong);
}
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 16 / 9; }
.media.square { aspect-ratio: 1 / 1; }
.media .media-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5, 13, 28, 0.7);
  padding: 6px 10px;
  backdrop-filter: blur(4px);
}
.media .media-corner {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  display: flex; align-items: center; gap: 7px;
}
.media .media-corner .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 10px var(--accent-bright);
}

/* Replace about-preview image-block with real photo */
.about-preview .image-block,
.service-detail .image-block,
.leader .portrait,
.project-list-card .visual,
.project-card .bg {
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
}
.about-preview .image-block::after,
.service-detail .image-block::after,
.leader .portrait::after,
.project-list-card .visual::after,
.project-card .bg::after { content: none; }

/* Zero-handoff narrative band */
.handoff {
  background: #050D1C;
  color: #F0F5FB;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.handoff::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 30%, rgba(30,138,229,0.20), transparent 55%);
}
.handoff .inner { position: relative; z-index: 1; }
.handoff .eyebrow { color: var(--accent-bright); }
.handoff .eyebrow::before { background: var(--accent-bright); }
.handoff h2 { color: #fff; max-width: 880px; margin: 16px 0 28px; }
.handoff .lede {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
  line-height: 1.6;
}
.handoff .one-team {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.handoff .one-team .ot {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}
.handoff .one-team .ot .accent { color: var(--accent-bright); }
.handoff .one-team .ot-sub {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* By the numbers — 5-up */
.numbers {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.numbers-grid .n {
  padding: 8px 28px;
  border-right: 1px solid var(--line);
}
.numbers-grid .n:last-child { border-right: none; }
.numbers-grid .n .big {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}
.numbers-grid .n .big .u { color: var(--accent); }
.numbers-grid .n .cap {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Pull quote */
.pull-quote {
  padding: 100px 0;
  background: var(--bg-deep);
}
.pull-quote .q {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text-primary);
  max-width: 1000px;
  text-wrap: balance;
}
.pull-quote .q .accent { color: var(--accent); }
.pull-quote .attr {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Case study cards (home featured) */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case {
  border: 1px solid var(--line);
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.case:hover { border-color: var(--accent); }
.case .ph {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.case .ph .role {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,13,28,0.72);
  padding: 6px 10px;
}
.case .body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.case .client {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.case h3 { font-size: 23px; margin-bottom: 8px; letter-spacing: -0.02em; }
.case .proj-sub {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.005em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.case p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.case .facts {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.case .facts .f .k {
  display: block; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.case .facts .f .v { color: var(--text-primary); font-size: 12px; }

/* Certifications strip */
.certs {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.certs .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.certs .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.certs .badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
.certs .badge {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

/* Reliability 3-up */
.reliability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.reliability-grid .rc {
  background: var(--bg-base);
  padding: 40px 34px;
}
.reliability-grid .rc .rlabel {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.reliability-grid .rc h3 { font-size: 22px; margin-bottom: 14px; letter-spacing: -0.02em; }
.reliability-grid .rc p { font-size: 14px; color: var(--text-secondary); line-height: 1.62; }

/* Logo wall (categorized) */
.logo-wall { display: flex; flex-direction: column; gap: 40px; }
.logo-group .gh {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.logo-group .gh::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.logo-row {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.logo-row.cols-6 { grid-template-columns: repeat(6, 1fr); }
.logo-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
.logo-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.logo-cell {
  background: #fff;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
}
.logo-cell img {
  max-height: 34px;
  max-width: 118px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter 0.2s, opacity 0.2s;
}
.logo-cell:hover img { filter: grayscale(0%); opacity: 1; }
/* Square-ish marks need more height to match wordmark optical size */
.logo-cell.lg img { max-height: 58px; max-width: 132px; }

/* Craftsmanship gallery */
.craft {
  background: #050D1C;
  color: #F0F5FB;
  padding: 110px 0;
}
.craft .eyebrow { color: var(--accent-bright); }
.craft .eyebrow::before { background: var(--accent-bright); }
.craft h2 { color: #fff; }
.craft .craft-head { max-width: 720px; margin-bottom: 48px; }
.craft .craft-head h2 { margin: 16px 0 18px; }
.craft .craft-head p { color: rgba(255,255,255,0.66); font-size: 17px; line-height: 1.6; }
.craft-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
}
.craft-gallery .g {
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  min-height: 300px;
}
.craft-gallery .g.lead { grid-row: span 2; min-height: 0; }
.craft-gallery .g .gtag {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,13,28,0.66);
  padding: 5px 9px;
  backdrop-filter: blur(4px);
}

/* Service detail hero with photo */
.service-detail aside .service-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-strong);
  margin-bottom: 28px;
}

/* Capability list (A./B./C. from brochure) */
.cap-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.cap-list li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.cap-list li .ci {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 24px;
}
.cap-list li .ct {
  font-size: 15px;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid .n { border-bottom: 1px solid var(--line); padding: 24px; }
  .numbers-grid .n:nth-child(2) { border-right: none; }
  .case-grid { grid-template-columns: 1fr; }
  .reliability-grid { grid-template-columns: 1fr; }
  .handoff .one-team { grid-template-columns: 1fr; gap: 28px; }
  .logo-row.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .logo-row.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .craft-gallery { grid-template-columns: 1fr 1fr; }
  .craft-gallery .g.lead { grid-row: auto; grid-column: span 2; min-height: 280px; }
}
@media (max-width: 720px) {
  .numbers-grid { grid-template-columns: 1fr; }
  .numbers-grid .n { border-right: none; }
  .certs .row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .certs .badges { justify-content: flex-start; }
  .logo-row.cols-6, .logo-row.cols-5, .logo-row.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .craft-gallery { grid-template-columns: 1fr; }
  .craft-gallery .g.lead { grid-column: auto; }
  .case .facts { flex-wrap: wrap; gap: 16px; }
}

/* Case studies (projects page) */
.case-studies { padding: 96px 0; }
.cs {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.cs:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cs.rev .cs-media { order: 2; }
.cs-media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-strong);
  position: relative;
}
.cs-media .cs-role {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,13,28,0.74);
  padding: 7px 12px;
}
.cs-body .cs-client {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cs-body h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.cs-body .cs-proj-sub {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.cs-meta {
  list-style: none;
  margin: 0 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.cs-meta li .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.cs-meta li .v {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-primary);
}
.cs-section { margin-bottom: 24px; }
.cs-section .csl {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.cs-section p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

@media (max-width: 1024px) {
  .cs { grid-template-columns: 1fr; gap: 32px; }
  .cs.rev .cs-media { order: 0; }
  .cs-media { position: static; }
}

/* ============================================================
   HERO — DEEP BLUE (homepage first section)
   ============================================================ */
.hero {
  background: #050D1C;
  color: #F0F5FB;
}
.hero .eyebrow { color: var(--accent-bright); }
.hero .eyebrow::before { background: var(--accent-bright); }
.hero h1 { color: #FFFFFF; }
.hero h1 .accent { color: var(--accent-bright); }
.hero .lede { color: rgba(255,255,255,0.74); }
.hero .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.28); }
.hero .btn-ghost:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.hero .hero-meta { border-top-color: rgba(255,255,255,0.14); }
.hero .hero-meta .item .num { color: #FFFFFF; }
.hero .hero-meta .item .label { color: rgba(255,255,255,0.55); }
.hero .hero-bg::before {
  background:
    radial-gradient(circle at 82% 28%, rgba(30,138,229,0.30), transparent 55%),
    radial-gradient(circle at 4% 92%, rgba(30,138,229,0.14), transparent 55%);
}
.hero .hero-bg .grid-lines {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
}
.hero .hero-bg .video-placeholder { background: transparent; }

/* Single-column hero (photo removed) */
.hero .hero-inner { grid-template-columns: 1fr; }
.hero .hero-copy { max-width: 880px; }
.hero .hero-meta { max-width: 620px; }

/* Homepage hero clears the fixed overlay header */
body[data-screen-label="Home"] .hero {
  padding-top: 150px;
  min-height: 100vh;
}

/* ============================================================
   OVERLAY HEADER (transparent over hero → solid on scroll)
   ============================================================ */
.logo .brand-svg { position: relative; }
.logo .brand-svg img.light { display: none; }

.site-header.overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
}
/* At top: transparent, white logo + nav */
.site-header.overlay:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header.overlay:not(.scrolled) .header-utility {
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.75);
}
.site-header.overlay:not(.scrolled) .header-utility a { color: rgba(255,255,255,0.85); }
.site-header.overlay:not(.scrolled) .header-utility a:hover { color: #fff; }
.site-header.overlay:not(.scrolled) .header-utility .sig { color: rgba(255,255,255,0.85); }
.site-header.overlay:not(.scrolled) .nav a { color: rgba(255,255,255,0.82); }
.site-header.overlay:not(.scrolled) .nav a:hover,
.site-header.overlay:not(.scrolled) .nav a.active { color: #fff; }
.site-header.overlay:not(.scrolled) .header-phone { color: rgba(255,255,255,0.82); }
.site-header.overlay:not(.scrolled) .header-phone:hover { color: #fff; }
.site-header.overlay:not(.scrolled) .logo .sub {
  color: rgba(255,255,255,0.62);
  border-left-color: rgba(255,255,255,0.28);
}
.site-header.overlay:not(.scrolled) .logo .brand-svg img.dark { display: none; }
.site-header.overlay:not(.scrolled) .logo .brand-svg img.light { display: block; }
/* Scrolled state animates the background in */
.site-header.overlay {
  transition: background 0.25s ease, border-color 0.25s ease;
}
/* Scrolled: explicit solid-white state — ID specificity so it always wins */
#siteHeader.overlay.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
#siteHeader.overlay.scrolled .header-utility {
  background: #0A1A33;
  border-bottom-color: var(--line);
  color: var(--text-muted);
}
#siteHeader.overlay.scrolled .header-utility a { color: rgba(255,255,255,0.8); }
#siteHeader.overlay.scrolled .header-utility .sig { color: rgba(255,255,255,0.8); }
#siteHeader.overlay.scrolled .nav a,
#siteHeader.overlay.scrolled .header-phone { color: var(--text-secondary); }
#siteHeader.overlay.scrolled .nav a:hover,
#siteHeader.overlay.scrolled .nav a.active { color: var(--text-primary); }
#siteHeader.overlay.scrolled .logo .sub { color: var(--text-muted); border-left-color: var(--line-strong); }
#siteHeader.overlay.scrolled .logo .brand-svg img.dark { display: block; }
#siteHeader.overlay.scrolled .logo .brand-svg img.light { display: none; }
.hero .hero-visual {
  border-color: rgba(255,255,255,0.16);
  background: linear-gradient(160deg, #0F2545, #050D1C);
}
.hero .hero-visual .label-corner { color: var(--accent-bright); }
.hero .hero-visual .label-corner .dot { background: var(--accent-bright); box-shadow: 0 0 12px var(--accent-bright); }
.hero .hero-visual .label-meta { color: rgba(255,255,255,0.6); }
.hero .hero-visual .crosshair { border-color: var(--accent-bright); }

/* Keep logo tagline from crowding the nav on mid-size screens */
@media (max-width: 1180px) {
  .logo .sub { display: none; }
}

/* ============================================================
   PHOTOGRAPHY PLACEHOLDER (vertical-specific, on-brand)
   ============================================================ */
.service-photo.ph,
.media.ph {
  position: relative;
  background: linear-gradient(160deg, #0F2545, #050D1C);
  background-image: linear-gradient(160deg, #0F2545, #050D1C);
}
.service-photo.ph::before,
.media.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(120,170,230,0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120,170,230,0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 42%, black 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, black 30%, transparent 82%);
}
.service-photo.ph::after,
.media.ph::after { content: none; }
.ph-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2.1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 222, 248, 0.92);
  text-shadow: 0 1px 16px rgba(5,13,28,0.85);
  white-space: nowrap;
}
.ph-label .pl-sub { color: rgba(160, 190, 225, 0.6); font-size: 10px; letter-spacing: 0.24em; }
.media.ph .media-corner { z-index: 2; }
.service-photo.ph .ph-cross,
.media.ph .ph-cross {
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid rgba(120,170,230,0.4);
  z-index: 1;
}
.service-photo.ph .ph-cross.tl, .media.ph .ph-cross.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.service-photo.ph .ph-cross.br, .media.ph .ph-cross.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
