/* ==========================================================================
   ONICC — Ohms Network Infrastructure & Communications Ltd.
   Blue & White Enterprise Design System (Zero Gradients, i3c.co.ug Structure)
   ========================================================================== */

:root {
  --blue-primary: #0057ff;
  --blue-hover: #0041c4;
  --blue-deep: #0a2463;
  --blue-navy: #0f2d7a;
  --blue-tint: #f2f6ff;
  --blue-tint-2: #e6eeff;
  --blue-border: #d4e1ff;
  --blue-border-dark: rgba(255, 255, 255, 0.16);

  --white: #ffffff;
  --text-dark: #0a2463;
  --text-body: #2c436e;
  --text-muted: #5a7199;
  --text-on-blue: #ffffff;
  --text-on-blue-muted: #c7d7ff;

  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.025em;
}

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

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

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

/* ---------- Header (Clean White + Blue) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--blue-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-top {
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
}

.brand-word {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  color: #dc2626;
  line-height: 0.92;
}

.brand-signal {
  width: 16px;
  height: 16px;
  color: var(--blue-primary);
  margin-top: -2px;
  flex-shrink: 0;
}

.brand-sub {
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-deep);
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1.15;
}

.site-footer .brand-word {
  color: #ef4444;
}

.site-footer .brand-signal {
  color: #7dd3fc;
}

.site-footer .brand-sub {
  color: rgba(255, 255, 255, 0.85);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-cta {
  border-radius: 999px;
  padding: 10px 20px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue-primary);
  background: var(--blue-tint);
}

.nav-drop {
  position: relative;
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -160px;
  width: 620px;
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 20px;
  display: none;
  box-shadow: 0 18px 48px rgba(10, 36, 99, 0.12);
}

.nav-drop-panel--sm {
  left: 0;
  width: 300px;
  padding: 16px;
}

.nav-drop:hover .nav-drop-panel,
.nav-drop.is-open .nav-drop-panel {
  display: block;
}

.nav-drop-label {
  color: var(--text-muted);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.nav-drop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.nav-drop-grid--1col {
  grid-template-columns: 1fr;
}

.nav-drop-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--blue-border);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.nav-drop-grid a:hover {
  background: var(--blue-tint);
  border-color: var(--blue-primary);
}

.nav-drop-grid a .mono {
  color: var(--blue-primary);
}

.nav-drop-arrow {
  margin-left: auto;
  color: var(--text-muted);
}

.nav-drop-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--blue-primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: var(--blue-tint);
  border: 1px solid var(--blue-border);
  color: var(--blue-deep);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* ---------- Solid Flat Buttons (No Gradients) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary:hover {
  background: var(--blue-hover);
}

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

.btn-outline:hover {
  background: var(--blue-tint);
}

.btn-white {
  background: var(--white);
  color: var(--blue-deep);
}

.btn-white:hover {
  background: var(--blue-tint-2);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Hero (Tactile Blueprint & Grain White Split) ---------- */
.hero {
  position: relative;
  background-color: var(--white);
  background-image:
    radial-gradient(rgba(0, 87, 255, 0.14) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-size: 24px 24px, 200px 200px;
  padding: 54px 0 60px;
  border-bottom: 1px solid var(--blue-border);
  overflow: hidden;
}

.hero-fibre-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.fibre-jacket {
  fill: none;
  stroke: rgba(10, 36, 99, 0.24);
  stroke-width: 6.5;
  stroke-linecap: round;
}

.fibre-sheen {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 3.2;
  stroke-linecap: round;
}

.fibre-core {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: 0.45;
}

.fibre-core--1 { stroke: #0057ff; }
.fibre-core--2 { stroke: #0ea5e9; }
.fibre-core--3 { stroke: #f59e0b; }
.fibre-core--4 { stroke: #38bdf8; }

.fibre-pulse {
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 120 1650;
  stroke-dashoffset: 120;
  animation: fibreFlow 3.8s linear infinite;
}

.fibre-pulse--1 {
  stroke: #93c5fd;
  animation-duration: 3.2s;
}

.fibre-pulse--2 {
  stroke: #e0f2fe;
  animation-duration: 4.0s;
  animation-delay: -1.1s;
}

.fibre-pulse--3 {
  stroke: #fde68a;
  animation-duration: 3.6s;
  animation-delay: -2.2s;
}

.fibre-pulse--4 {
  stroke: #ffffff;
  animation-duration: 4.4s;
  animation-delay: -0.6s;
}

@keyframes fibreFlow {
  0% { stroke-dashoffset: 140; }
  100% { stroke-dashoffset: -1650; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin: 0 0 18px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.3rem, 4.1vw, 3.45rem);
  line-height: 1.07;
  color: var(--blue-deep);
  margin-bottom: 18px;
  min-height: 3.25em;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 530px;
  margin: 0 0 28px;
}

.hero-lead--typed {
  display: block;
  min-height: 3.2em;
}

/* Hero Finale State & Signal-Ring Effect */
.hero-finale-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  overflow: hidden;
  z-index: 1;
}

.hero.is-finale .hero-finale-fx {
  opacity: 1;
}

.finale-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0, 87, 255, 0.16);
  transform: translate(-50%, -50%) scale(0.75);
  animation: finalePulse 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.finale-ring--1 { width: 280px; height: 280px; }
.finale-ring--2 { width: 460px; height: 460px; animation-delay: 1.2s; }
.finale-ring--3 { width: 660px; height: 660px; animation-delay: 2.4s; }

@keyframes finalePulse {
  0% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.8); }
  70% { opacity: 0.15; transform: translate(-50%, -50%) scale(1.08); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue-border);
  background: var(--white);
  color: var(--blue-primary);
  font-size: 0.72rem;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.hero-replay[hidden] {
  display: none;
}

.hero-replay:hover {
  background: var(--blue-tint);
  border-color: var(--blue-primary);
}

.hero.is-finale .hero-inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero.is-finale .hero-copy {
  max-width: 780px;
}

.hero.is-finale .hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.hero.is-finale .hero-actions,
.hero.is-finale .hero-meta {
  justify-content: center;
}

.hero.is-finale .hero-showcase {
  display: none;
}

.typed-cursor {
  display: inline-block;
  margin-left: 2px;
  color: #60a5fa;
  font-weight: 400;
  animation: cursorBlink 0.9s steps(1) infinite;
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 20px;
  margin: 0;
  border-top: 1px solid var(--blue-border);
}

.hero-meta dt {
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-meta dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--blue-deep);
}

/* Right-hand Hero Showcase Frame */
.hero-showcase {
  border: 1px solid var(--blue-border);
  background: var(--blue-tint);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 410px;
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--blue-border);
}

.showcase-tab {
  background: var(--white);
  border: none;
  border-right: 1px solid var(--blue-border);
  color: var(--text-muted);
  padding: 12px 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.showcase-tab:last-child {
  border-right: none;
}

.showcase-tab:hover {
  color: var(--blue-primary);
  background: var(--blue-tint);
}

.showcase-tab.is-active {
  color: var(--white);
  background: var(--blue-primary);
}

.showcase-stage {
  position: relative;
  flex: 1;
  min-height: 290px;
  overflow: hidden;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--white);
  border-top: 1px solid var(--blue-border);
}

.showcase-caption-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.showcase-caption-sub {
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- 4-Column Trust Strip (i3c.co.ug style) ---------- */
.trust-strip {
  background: var(--blue-tint);
  border-bottom: 1px solid var(--blue-border);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--blue-primary);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-item h3 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.trust-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Partner Logo Marquee (White + Blue) ---------- */
.partners-strip {
  background: var(--white);
  border-bottom: 1px solid var(--blue-border);
  padding: 26px 0;
  overflow: hidden;
}

.partners-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: partnerSlide 34s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

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

.partner-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 34px;
  border-right: 1px solid var(--blue-border);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.partner-logo-item:hover {
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
  padding: 76px 0;
}

.section--tint {
  background: var(--blue-tint);
  border-top: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
}

.section--blue {
  background-color: var(--blue-deep);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.075'/%3E%3C/svg%3E");
  background-size: 26px 26px, 200px 200px;
  color: var(--text-on-blue);
}

.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-primary);
  margin: 0 0 8px;
  font-weight: 500;
}

.section--blue .section-kicker {
  color: var(--blue-tint-2);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.12;
}

.section-sub {
  max-width: 560px;
  color: var(--text-muted);
  margin: 10px 0 0;
}

.section--blue .section-sub {
  color: var(--text-on-blue-muted);
}

/* ---------- i3c.co.ug Style Service Cards (8 Divisions) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.service-card:hover {
  border-color: var(--blue-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 87, 255, 0.08);
}

.service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--blue-tint);
  border: 1px solid var(--blue-border);
  color: var(--blue-primary);
  display: grid;
  place-items: center;
}

.service-card:hover .service-icon {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}

.service-code {
  color: var(--blue-primary);
  font-weight: 600;
}

.service-card__title {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.89rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
  flex: 1;
}

.service-bullets li {
  font-size: 0.82rem;
  color: var(--text-body);
  padding-left: 14px;
  position: relative;
}

.service-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue-primary);
  font-weight: 700;
}

.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Compact Interactive 8-Division Explorer ---------- */
.explorer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

.explorer-grid > * {
  min-width: 0;
}

.explorer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.explorer-list {
  display: grid;
  gap: 8px;
}

.explorer-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.explorer-tab:hover {
  background: var(--blue-tint);
  border-color: var(--blue-primary);
}

.explorer-tab.is-active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

.explorer-tab__code {
  color: var(--blue-primary);
  font-weight: 600;
}

.explorer-tab.is-active .explorer-tab__code,
.explorer-tab.is-active .explorer-tab__arrow {
  color: var(--white);
}

.explorer-tab__name {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--blue-deep);
  flex: 1;
}

.explorer-tab.is-active .explorer-tab__name {
  color: var(--white);
}

.explorer-tab__arrow {
  color: var(--text-muted);
}

.explorer-stage {
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  background: var(--blue-tint);
  overflow: hidden;
  display: flex;
}

.explorer-panel {
  display: none;
  flex-direction: column;
  width: 100%;
}

.explorer-panel.is-active {
  display: flex;
}

.explorer-panel__media {
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--blue-border);
}

.explorer-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explorer-panel__body {
  padding: 24px;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.explorer-panel__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.explorer-panel__title {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.explorer-panel__desc {
  font-size: 0.94rem;
  color: var(--text-body);
  margin: 0 0 16px;
}

/* ---------- Workflow & Differentiators (Deep Blue Band) ---------- */
.blue-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blue-card {
  background: rgba(15, 45, 122, 0.72);
  border: 1px solid var(--blue-border-dark);
  border-radius: 6px;
  padding: 28px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.blue-card:hover {
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-2px);
}

.blue-card__tag {
  color: var(--blue-tint-2);
  display: block;
  margin-bottom: 10px;
}

.blue-card__title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.blue-card__desc {
  font-size: 0.92rem;
  color: var(--text-on-blue-muted);
  margin: 0;
}

/* ---------- Interactive Survey / Build / Maintain Switcher ---------- */
.lifecycle-box {
  background: var(--blue-navy);
  border: 1px solid var(--blue-border-dark);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 28px;
}

.lifecycle-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--blue-border-dark);
}

.lifecycle-tab {
  background: transparent;
  border: none;
  border-right: 1px solid var(--blue-border-dark);
  color: var(--text-on-blue-muted);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.16s ease, color 0.16s ease;
}

.lifecycle-tab:last-child {
  border-right: none;
}

.lifecycle-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.lifecycle-tab.is-active {
  background: var(--blue-primary);
  color: var(--white);
}

.lifecycle-tab__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.85;
  margin-bottom: 4px;
}

.lifecycle-tab__title {
  font-size: 1.12rem;
  font-weight: 600;
}

.lifecycle-panel {
  display: none;
  padding: 28px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.lifecycle-panel.is-active {
  display: grid;
}

.lifecycle-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.lifecycle-deliverables li {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--blue-border-dark);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--white);
}

/* ---------- Uganda Case Study Interactive Console ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.coverage-tab {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.coverage-tab:hover {
  border-color: var(--blue-primary);
}

.coverage-tab.is-active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

.coverage-tab__id {
  color: var(--blue-primary);
  font-weight: 600;
  font-size: 0.7rem;
}

.coverage-tab.is-active .coverage-tab__id {
  color: var(--blue-tint-2);
}

.coverage-tab__title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.3;
}

.coverage-tab.is-active .coverage-tab__title {
  color: var(--white);
}

.case-console {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  overflow: hidden;
}

.case-console__panel {
  display: none;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.case-console__panel.is-active {
  display: grid;
}

.case-console__media {
  min-height: 320px;
  overflow: hidden;
  border-right: 1px solid var(--blue-border);
}

.case-console__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-console__body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Case Studies or Projects ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--blue-border);
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-card__meta {
  display: flex;
  justify-content: space-between;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.case-card__title {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.case-card__summary {
  font-size: 0.93rem;
  color: var(--text-body);
  margin: 0 0 18px;
  flex: 1;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--blue-tint);
  border: 1px solid var(--blue-border);
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 18px;
}

.case-metric__val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.case-metric__label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Situation Room / Field Briefings ---------- */
.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.situation-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.situation-card__media {
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  background: var(--blue-tint);
}

.situation-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.situation-card__body {
  padding: 16px 18px;
}

.situation-card__tag {
  font-size: 0.68rem;
  color: var(--blue-primary);
  display: block;
  margin-bottom: 4px;
}

.situation-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0 0 4px;
}

.situation-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* ---------- Inner Pages ---------- */
.page-hero {
  background-color: var(--blue-deep);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 26px 26px, 200px 200px;
  color: var(--white);
  padding: 58px 0 48px;
}

.page-hero h1 {
  color: var(--white);
}

.breadcrumb {
  color: var(--text-on-blue-muted);
  margin-bottom: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.spec-box {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--blue-border);
  font-size: 0.92rem;
}

.spec-row:last-of-type {
  border-bottom: none;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.94rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-primary);
  font-weight: 700;
}

/* ---------- Specification Matrix (Authentic Engineering Blueprint) ---------- */
.spec-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.spec-matrix__col {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}

.spec-matrix__col:not(:first-child) {
  border-left: 1px solid var(--blue-border);
}

.spec-matrix__meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-primary);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.spec-matrix__title {
  font-size: 1.15rem;
  color: var(--blue-deep);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.32;
}

.spec-matrix__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 16px;
}

.spec-matrix__bullets {
  list-style: none;
  padding: 14px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--blue-border);
  display: grid;
  gap: 8px;
}

.spec-matrix__bullets li {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-body);
  padding-left: 16px;
  position: relative;
}

.spec-matrix__bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue-primary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .spec-matrix {
    grid-template-columns: 1fr;
  }
  .spec-matrix__col:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--blue-border);
  }
}

.case-media-box {
  margin: 20px 0 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--blue-border);
  position: relative;
  background: var(--blue-deep);
}

.case-media-box img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.case-media-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 36, 99, 0.9);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

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

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

.hardware-card {
  background: #f8fafc;
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.18s ease;
}

.hardware-card:hover {
  border-color: var(--blue-primary);
}

.hardware-card strong {
  color: var(--blue-deep);
  font-size: 0.95rem;
}

.hardware-card span {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}

/* ---------- Horizontal Case Study Dossier Rows ---------- */
.dossier-list {
  display: grid;
  gap: 20px;
}

.dossier-row {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dossier-row:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 10px 26px rgba(0, 87, 255, 0.08);
}

.dossier-row__media {
  min-height: 230px;
  overflow: hidden;
  border-right: 1px solid var(--blue-border);
}

.dossier-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dossier-row__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dossier-row__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jump-pill {
  padding: 6px 12px;
  border: 1px solid var(--blue-border-dark);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.16s ease, border-color 0.16s ease;
}

.jump-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--blue-border);
  border-radius: 4px;
  background: var(--blue-tint);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--blue-deep);
}

.form-input:focus {
  outline: none;
  border-color: var(--blue-primary);
  background: var(--white);
}

.alert-success {
  border: 1px solid var(--blue-primary);
  background: var(--blue-tint);
  color: var(--blue-deep);
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 500;
}

.scope-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.scope-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue-border);
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.scope-pill:hover,
.scope-pill.is-active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

.sla-steps {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.sla-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.sla-step__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
}

/* ---------- Footer (Deep Textured ONICC Blue + Outlined Watermark) ---------- */
.site-footer {
  background-color: var(--blue-deep);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.065'/%3E%3C/svg%3E");
  background-size: 26px 26px, 200px 200px;
  color: var(--text-on-blue-muted);
  padding: 72px 0 28px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-tagline {
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.footer-mail {
  display: inline-block;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  margin-bottom: 18px;
}

.footer-mail:hover {
  border-bottom-color: var(--white);
}

.footer-submeta {
  font-size: 0.68rem;
  color: rgba(199, 215, 255, 0.65);
  margin: 0;
}

/* ---------- Footer Socials & Connect ---------- */
.footer-socials {
  margin: 18px 0 22px;
}

.footer-socials-title {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(199, 215, 255, 0.72);
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
}

.social-icon-btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.social-icon-btn:hover svg {
  transform: scale(1.1);
}

.social-icon-btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25D366;
  color: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
}

.social-icon-btn--linkedin:hover {
  background: rgba(10, 102, 194, 0.22);
  border-color: #0A66C2;
  color: #38bdf8;
  box-shadow: 0 4px 16px rgba(10, 102, 194, 0.3);
}

.social-icon-btn--x:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.social-icon-btn--email:hover {
  background: rgba(0, 87, 255, 0.25);
  border-color: #3b82f6;
  color: #60a5fa;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.social-icon-btn--facebook:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: #1877F2;
  color: #60a5fa;
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.28);
}

.social-icon-btn--youtube:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff3333;
  color: #ff4d4d;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.28);
}

.footer-contact-link--wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4ade80 !important;
  font-weight: 500;
}

.footer-contact-link--wa:hover {
  color: #86efac !important;
  text-decoration: underline;
}

.wa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  display: inline-block;
}

.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(199, 215, 255, 0.65);
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-watermark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(5.5rem, 18vw, 15.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  color: rgba(255, 255, 255, 0.03);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
  user-select: none;
  margin: 18px 0 10px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--blue-border-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero {
    padding: 40px 0 46px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-actions {
    margin-bottom: 24px;
  }
  .services-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .explorer-grid,
  .case-console__panel,
  .dossier-row,
  .detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .hero {
    position: relative;
    padding: 64px 0 60px;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--blue-deep);
    border-bottom: none;
  }
  .hero-inner {
    position: static;
    gap: 0;
  }
  .hero-copy {
    position: relative;
    z-index: 2;
  }
  .hero-showcase {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: none;
    border-radius: 0;
    min-height: 100%;
    pointer-events: none;
  }
  .showcase-tabs,
  .showcase-footer,
  .hero-meta {
    display: none;
  }
  .showcase-stage {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
  }
  .showcase-stage::after {
    display: none;
  }
  .eyebrow {
    font-size: 0.68rem;
    color: var(--blue-tint-2);
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem);
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 14px;
    min-height: 3.4em;
    text-shadow: 0 2px 14px rgba(10, 36, 99, 0.92), 0 1px 3px rgba(10, 36, 99, 0.96);
  }
  .hero-lead--typed {
    display: block;
    min-height: 52px;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 26px;
    text-shadow: 0 2px 12px rgba(10, 36, 99, 0.95), 0 1px 3px rgba(10, 36, 99, 0.96);
  }
  .hero.is-finale .hero-showcase {
    display: block;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .hero.is-finale .finale-ring {
    border-color: rgba(125, 211, 252, 0.25);
  }
  .hero.is-finale .hero-replay {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
  }
  .hero-actions {
    margin-bottom: 0;
  }
  .hero .btn-outline {
    background: rgba(10, 36, 99, 0.28);
    backdrop-filter: blur(4px);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 1px 4px rgba(10, 36, 99, 0.85);
  }
  .primary-nav,
  .header-cta {
    display: none;
  }
  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 18px;
    border-bottom: 1px solid var(--blue-border);
    box-shadow: 0 12px 30px rgba(10, 36, 99, 0.1);
  }
  .nav-drop-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
  }
  .nav-drop-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .trust-strip {
    padding: 18px 0;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }
  .trust-item {
    gap: 10px;
  }
  .trust-icon {
    width: 32px;
    height: 32px;
  }
  .trust-icon svg {
    width: 16px;
    height: 16px;
  }
  .trust-item h3 {
    font-size: 0.84rem;
    margin-bottom: 2px;
  }
  .trust-item p {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .section {
    padding: 42px 0;
  }
  .section-head {
    margin-bottom: 20px;
    gap: 12px;
  }
  .explorer-grid {
    gap: 14px;
  }
  .explorer-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .explorer-list::-webkit-scrollbar {
    display: none;
  }
  .explorer-tab {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    gap: 6px;
  }
  .explorer-tab__name {
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .explorer-tab__arrow {
    display: none;
  }
  .explorer-panel__media {
    height: 175px;
  }
  .explorer-panel__body {
    padding: 18px;
  }
  .explorer-panel__title {
    font-size: 1.2rem;
  }
  .explorer-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .explorer-actions .btn {
    flex: 1 1 0;
    padding: 10px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .coverage-grid {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .coverage-grid::-webkit-scrollbar {
    display: none;
  }
  .coverage-tab {
    flex: 0 0 215px;
    scroll-snap-align: start;
    padding: 10px 12px;
    gap: 4px;
  }
  .coverage-tab__id {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.65rem;
  }
  .coverage-tab__title {
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .case-console__media {
    height: 175px;
    min-height: 175px;
    border-right: none;
    border-bottom: 1px solid var(--blue-border);
  }
  .case-console__body {
    padding: 18px;
  }
  .case-console__body .case-card__meta {
    font-size: 0.68rem;
    gap: 4px 10px;
    flex-wrap: wrap;
  }
  .case-console__body .case-card__title {
    font-size: 1.2rem !important;
    margin-bottom: 8px;
  }
  .case-console__body .case-card__summary {
    font-size: 0.88rem;
    margin-bottom: 12px !important;
  }
  .case-metrics {
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 12px !important;
  }
  .case-metric__val {
    font-size: 0.92rem;
  }
  .case-metric__label {
    font-size: 0.68rem;
  }
  .case-console__body .service-bullets {
    margin-bottom: 14px !important;
    font-size: 0.84rem;
  }
  .case-console__body .btn {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.84rem;
  }
  .page-hero {
    padding: 36px 0 30px;
  }
  .page-hero .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem) !important;
  }
  .jump-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .jump-pills::-webkit-scrollbar {
    display: none;
  }
  .jump-pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .dossier-row__media {
    height: 175px;
    min-height: 175px;
    border-right: none;
    border-bottom: 1px solid var(--blue-border);
  }
  .dossier-row__body {
    padding: 18px;
  }
  .dossier-row__body .case-card__meta {
    font-size: 0.68rem;
    gap: 4px 10px;
    flex-wrap: wrap;
  }
  .dossier-row__body .case-card__title {
    font-size: 1.2rem !important;
    margin-bottom: 6px;
  }
  .dossier-row__body .case-card__summary {
    font-size: 0.88rem;
    margin-bottom: 12px !important;
  }
  .dossier-row .service-bullets {
    grid-template-columns: 1fr !important;
    gap: 5px;
    font-size: 0.84rem;
    margin-bottom: 14px !important;
  }
  .dossier-row__foot {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .dossier-row__foot .btn {
    flex: 1 1 0;
    padding: 10px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
    justify-content: center;
  }
  .services-grid,
  .case-grid,
  .job-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .job-card {
    padding: 20px;
  }
  .job-card__actions {
    flex-wrap: nowrap;
  }
  .job-card__actions .btn {
    flex: 1 1 0;
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
    justify-content: center;
  }
  .site-footer {
    padding: 36px 0 20px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    padding-bottom: 20px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--blue-border-dark);
  }
  .footer-grid > div:nth-child(3) {
    display: none;
  }
  .footer-tagline {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  .footer-mail {
    margin-bottom: 0;
    font-size: 0.78rem;
  }
  .footer-socials {
    margin: 14px 0 16px;
  }
  .footer-social-icons {
    gap: 8px;
  }
  .social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  .footer-submeta {
    display: none;
  }
  .footer-grid h4 {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }
  .footer-grid ul {
    gap: 6px;
    font-size: 0.84rem;
  }
  .footer-watermark {
    font-size: 3.6rem;
    margin: 10px 0 6px;
  }
  .footer-bottom {
    padding-top: 14px;
    font-size: 0.74rem;
    gap: 6px;
  }
  .blue-cards-grid,
  .situation-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .blue-cards-grid::-webkit-scrollbar,
  .situation-grid::-webkit-scrollbar {
    display: none;
  }
  .blue-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    padding: 20px;
  }
  .situation-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .blue-card__title {
    font-size: 1.15rem;
  }
  .lifecycle-box {
    margin-top: 16px;
  }
  .lifecycle-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .lifecycle-tab {
    padding: 10px 8px;
    text-align: center;
  }
  .lifecycle-tab__num {
    font-size: 0.62rem;
    margin-bottom: 2px;
  }
  .lifecycle-tab__title {
    font-size: 0.78rem;
    line-height: 1.2;
  }
  .lifecycle-panel {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    padding: 11px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

/* ---------- Scroll Reveal & Tactile Feel ---------- */
.site-header {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2.5px;
  width: 100%;
  background: var(--blue-primary);
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  transition: transform 0.08s linear;
  pointer-events: none;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(10, 36, 99, 0.08);
  border-bottom-color: rgba(0, 87, 255, 0.18);
}

.btn {
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.18s ease,
              border-color 0.18s ease,
              box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.97);
}

/* ---------- Careers / Job Cards ---------- */
.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.job-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.job-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 12px 28px rgba(10, 36, 99, 0.08);
}

.job-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.job-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.job-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--blue-primary);
  color: var(--white);
}

.job-badge--soft {
  background: var(--blue-tint);
  color: var(--blue-deep);
  border: 1px solid var(--blue-border);
  border-radius: 4px;
}

.job-deadline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.job-card__title {
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin: 0 0 6px;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.job-card__summary {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0 0 14px;
}

.job-card__reqs {
  margin-bottom: 18px;
  flex: 1;
}

.job-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-above {
  transform: translateY(-18px);
}

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

.situation-card,
.case-card,
.service-card,
.blue-card,
.dossier-row,
.explorer-panel,
.case-console,
.spec-box {
  position: relative;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease,
              opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.situation-card__media img,
.case-card__media img,
.dossier-row__media img,
.explorer-panel__media img,
.case-console__media img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .situation-card::before,
  .case-card::before,
  .service-card::before,
  .dossier-row::before,
  .spec-box::before,
  .blue-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      360px circle at var(--mx, 50%) var(--my, 50%),
      rgba(0, 87, 255, 0.08),
      transparent 70%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
    z-index: 1;
  }

  .blue-card::before {
    background: radial-gradient(
      360px circle at var(--mx, 50%) var(--my, 50%),
      rgba(125, 211, 252, 0.14),
      transparent 70%
    );
  }

  .situation-card:hover::before,
  .case-card:hover::before,
  .service-card:hover::before,
  .dossier-row:hover::before,
  .spec-box:hover::before,
  .blue-card:hover::before {
    opacity: 1;
  }

  .situation-card:hover,
  .case-card:hover,
  .service-card:hover,
  .blue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(10, 36, 99, 0.1);
  }

  .situation-card:hover .situation-card__media img,
  .case-card:hover .case-card__media img,
  .dossier-row:hover .dossier-row__media img,
  .explorer-panel:hover .explorer-panel__media img,
  .case-console:hover .case-console__media img {
    transform: scale(1.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-header::after {
    display: none;
  }
  .fibre-pulse {
    animation: none;
    stroke-dasharray: none;
    opacity: 0.45;
  }
}

/* ======================================================================
   Careers & Online Recruitment (ATS front-end)
   ====================================================================== */
.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.errorlist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  color: #b91c1c;
  font-size: 0.8rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hero helpers */
.career-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.career-hero-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.career-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-meta {
  color: var(--text-on-blue-muted);
}

/* Hiring process strip */
.career-process {
  background: var(--white);
  border-bottom: 1px solid var(--blue-border);
  padding: 26px 0;
}

.career-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.career-steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 0;
}

.career-steps li span {
  color: var(--blue-primary);
  font-size: 0.72rem;
  font-weight: 600;
}

.career-steps li strong {
  color: var(--blue-deep);
  font-size: 0.98rem;
}

.career-steps li small {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.career-steps--stack {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
}

.career-roles-section {
  border-bottom: none;
  padding: 52px 0 72px;
}

.career-count {
  color: var(--blue-primary);
  font-weight: 600;
  font-size: 0.78rem;
}

/* Job cards (list) */
.job-card__title a {
  color: inherit;
}

.job-card__title a:hover {
  color: var(--blue-primary);
}

.job-deadline.is-urgent {
  color: #b45309;
  font-weight: 600;
}

.career-empty {
  text-align: center;
  padding: 48px 24px;
}

.career-empty h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.career-empty p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 22px;
}

.career-empty a:not(.btn) {
  color: var(--blue-primary);
  font-weight: 600;
}

/* Job detail */
.job-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.job-block {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 26px 28px;
  margin-bottom: 18px;
}

.job-block p {
  margin: 0 0 12px;
  line-height: 1.65;
}

.job-lead {
  font-size: 1.05rem;
  color: var(--blue-deep);
  font-weight: 500;
}

.job-list {
  grid-template-columns: 1fr !important;
  margin: 0;
}

.job-detail__side {
  position: sticky;
  top: 96px;
}

.job-side-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
}

.job-side-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--blue-primary);
}

.job-urgent {
  margin: 14px 0 0;
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 600;
}

.job-closed {
  margin: 14px 0 0;
  color: #b91c1c;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Application form */
.apply-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.apply-form {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.apply-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 24px 26px;
}

.apply-card__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.apply-card__head h2 {
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin: 0 0 2px;
}

.apply-card__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.apply-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.repeat-row {
  position: relative;
  border: 1px dashed var(--blue-border);
  border-radius: 6px;
  background: var(--blue-tint);
  padding: 18px 16px 14px;
  margin-bottom: 14px;
}

.repeat-row__remove {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: #b91c1c;
  font-size: 0.74rem;
  cursor: pointer;
  font-family: inherit;
}

.repeat-add {
  margin-top: 4px;
}

.check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--text-body);
  cursor: pointer;
}

.check-label input {
  margin-top: 3px;
  accent-color: var(--blue-primary);
}

.consent {
  margin: 16px 0 4px;
}

.apply-submit {
  width: 100%;
  margin-top: 18px;
  justify-content: center;
}

.apply-side {
  position: sticky;
  top: 96px;
}

.apply-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Confirmation + tracking */
.applied-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.applied-card {
  text-align: center;
  padding: 36px 26px;
}

.applied-ref {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: 0.04em;
  margin: 6px 0 12px;
}

.applied-help {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.applied-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.track-wrap {
  max-width: 640px;
  display: grid;
  gap: 22px;
}

.track-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.track-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.track-stages li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.track-stages li span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--blue-border);
  background: var(--white);
  flex-shrink: 0;
}

.track-stages li.is-done {
  color: var(--blue-deep);
}

.track-stages li.is-done span {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
}

.track-stages li.is-current {
  font-weight: 700;
  color: var(--blue-primary);
}

.track-rejected {
  background: var(--blue-tint);
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.9rem;
}

.track-interview {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--blue-primary);
  background: var(--blue-tint);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .job-detail,
  .apply-wrap,
  .applied-wrap {
    grid-template-columns: 1fr;
  }
  .job-detail__side,
  .apply-side {
    position: static;
    order: -1;
  }
  .apply-side {
    order: 2;
  }
  .career-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .job-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  /* Career Hero on mobile */
  .career-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .career-hero-actions .btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.85rem;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
  }
  @media (max-width: 420px) {
    .career-hero-actions {
      grid-template-columns: 1fr;
    }
  }

  /* Career Process Stepper (Clean 2x2 Grid - all steps visible) */
  .career-process {
    padding: 20px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--blue-border);
  }
  .career-steps {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .career-steps li {
    flex: none !important;
    background: #f8fafc;
    border: 1px solid var(--blue-border);
    border-radius: 8px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .career-steps li span {
    display: inline-block;
    width: fit-content;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--blue-primary);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 2px;
  }
  .career-steps li strong {
    font-size: 0.88rem;
    color: var(--blue-deep);
    line-height: 1.25;
  }
  .career-steps li small {
    display: block !important;
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.35;
  }

  /* Section Head & Filter Bar on Mobile */
  .career-roles-section {
    padding: 32px 0 48px !important;
  }
  .career-count {
    display: inline-block;
    background: var(--blue-tint);
    color: var(--blue-primary);
    border: 1px solid rgba(0, 87, 255, 0.18);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    margin-top: 4px;
  }
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 16px;
    margin-bottom: 18px;
    overflow: visible;
  }
  .filter-btn {
    padding: 7px 13px;
    font-size: 0.75rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--blue-border);
    color: var(--blue-deep);
    font-weight: 500;
  }
  .filter-btn.is-active {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: #ffffff;
    font-weight: 600;
  }

  /* Job Cards on Mobile (Single Column, Full-Width, Balanced) */
  .job-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .job-card {
    padding: 20px 16px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--blue-border);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.05);
  }
  .job-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }
  .job-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }
  .job-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
  }
  .job-deadline {
    font-size: 0.7rem;
    font-weight: 600;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 2px 7px;
    border-radius: 4px;
  }
  .job-deadline.is-urgent {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
  }
  .job-card__title {
    font-size: 1.22rem;
    line-height: 1.35;
    color: var(--blue-deep);
    font-weight: 700;
    margin: 0 0 8px;
  }
  .job-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 12px;
  }
  .job-card__meta .meta-slash {
    opacity: 0.35;
  }
  .job-card__summary {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 18px;
  }
  .job-card__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
  }
  .job-card__actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 12px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
  }

  .job-block {
    padding: 20px 16px;
  }
  .apply-card {
    padding: 20px 16px;
  }
  .apply-card .form-grid {
    grid-template-columns: 1fr;
  }
  .applied-card {
    padding: 26px 18px;
  }
}

.partner-logo-item img {
  height: 60px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}


/* ===== Upcoming Project Spotlight ===== */
.upcoming-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0a2463 0%, #0f2f7d 55%, #0b45c9 100%);
  border: 1px solid rgba(147, 197, 253, 0.28);
  box-shadow: 0 28px 60px -24px rgba(10, 36, 99, 0.6);
}
.upcoming-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(147, 197, 253, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.upcoming-spotlight__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  left: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 65%);
  animation: upGlow 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes upGlow {
  to { transform: translate(60px, 40px) scale(1.15); }
}

.upcoming-spotlight__copy {
  position: relative;
  z-index: 2;
  padding: 44px 44px 40px;
}
/* ==========================================================================
   ABOUT ONICC — Corporate Story, Vision, Mission, Leadership & Location
   ========================================================================== */
.about-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.corp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.5);
  color: #bae6fd;
}
.upcoming-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: upPulse 1.8s infinite;
}
@keyframes upPulse {
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.upcoming-kicker {
  margin: 18px 0 8px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #93c5fd;
}
.upcoming-title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}
.upcoming-title span {
  display: block;
  background: linear-gradient(90deg, #7dd3fc, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.upcoming-desc {
  max-width: 520px;
  margin: 0 0 26px;
  color: #cbd9f5;
  line-height: 1.6;
}

.upcoming-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.upcoming-steps::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, rgba(56, 189, 248, 0.15));
  transform-origin: left;
  animation: upLine 1.4s ease-out both;
}
@keyframes upLine { from { transform: scaleX(0); } }
.upcoming-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: upRise 0.6s ease-out both;
  animation-delay: calc(var(--i) * 0.25s + 0.3s);
}
@keyframes upRise { from { opacity: 0; transform: translateY(12px); } }
.upcoming-steps__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a2463;
  background: #7dd3fc;
  box-shadow: 0 0 0 5px rgba(125, 211, 252, 0.2);
}
.upcoming-steps strong { font-size: 0.98rem; color: #fff; }
.upcoming-steps small { font-size: 0.76rem; color: #a9c0ec; line-height: 1.4; }

.upcoming-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.upcoming-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}
.upcoming-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Visual side */
.upcoming-spotlight__visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.upcoming-spotlight__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upcoming-spotlight__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0f2f7d 0%, rgba(15, 47, 125, 0.55) 35%, rgba(10, 36, 99, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 36, 99, 0.6), transparent 50%);
}
.upcoming-radar {
  position: absolute;
  top: 48%;
  left: 58%;
  width: 0;
  height: 0;
}
.upcoming-radar__ring {
  position: absolute;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  border: 2px solid rgba(125, 211, 252, 0.75);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.45), inset 0 0 24px rgba(56, 189, 248, 0.2);
  opacity: 0;
  transform: scale(0.1);
  animation: upRadar 4.2s ease-out infinite;
}
.upcoming-radar__ring:nth-child(2) { animation-delay: 1.4s; }
.upcoming-radar__ring:nth-child(3) { animation-delay: 2.8s; }
@keyframes upRadar {
  0%   { opacity: 0.95; transform: scale(0.1); }
  100% { opacity: 0;    transform: scale(1); }
}
.upcoming-radar__core {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.45), 0 0 30px 8px rgba(56, 189, 248, 0.8);
}
.upcoming-chip {
  position: absolute;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 36, 99, 0.55);
  border: 1px solid rgba(186, 230, 253, 0.55);
  backdrop-filter: blur(6px);
  animation: upFloat 5s ease-in-out infinite alternate;
}
.upcoming-chip--1 { top: 16%; right: 10%; }
.upcoming-chip--2 { bottom: 24%; right: 6%; animation-delay: 1s; }
.upcoming-chip--3 { bottom: 12%; left: 22%; animation-delay: 2s; }
@keyframes upFloat { to { transform: translateY(-9px); } }

@media (max-width: 900px) {
  .upcoming-spotlight { grid-template-columns: 1fr; }
  .upcoming-spotlight__copy { padding: 32px 24px; }
  .upcoming-spotlight__visual { min-height: 280px; }
  .upcoming-radar__ring { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
}
@media (max-width: 520px) {
  .upcoming-steps { grid-template-columns: 1fr; }
  .upcoming-steps::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .upcoming-spotlight *, .upcoming-spotlight::before { animation: none !important; }
  .upcoming-radar__ring { opacity: 0.35; transform: scale(0.6); }
}


/* Alternate layout when there are several upcoming projects */
.upcoming-spotlight:nth-of-type(even) {
  grid-template-columns: 1fr 1.05fr;
}
.upcoming-spotlight:nth-of-type(even) .upcoming-spotlight__visual {
  order: -1;
}
.upcoming-spotlight:nth-of-type(even) .upcoming-spotlight__veil {
  background:
    linear-gradient(270deg, #0f2f7d 0%, rgba(15, 47, 125, 0.55) 35%, rgba(10, 36, 99, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 36, 99, 0.6), transparent 50%);
}
.upcoming-spotlight:nth-of-type(even) .upcoming-radar {
  left: 42%;
}
@media (max-width: 900px) {
  .upcoming-spotlight:nth-of-type(even) { grid-template-columns: 1fr; }
  .upcoming-spotlight:nth-of-type(even) .upcoming-spotlight__visual { order: 0; }
}


/* ===== Project banner ===== */
.project-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0a2463 0%, #0f2f7d 55%, #0b45c9 100%);
}
.project-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(147, 197, 253, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.project-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.project-banner .breadcrumb { margin-bottom: 18px; color: #93c5fd; }
.project-banner .breadcrumb a { color: #bfdbfe; }
.project-banner__visual {
  position: relative;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.3);
}
.project-banner__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-banner__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 36, 99, 0.55), rgba(10, 36, 99, 0.1) 60%);
}
@media (max-width: 900px) {
  .project-banner__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .project-banner__visual { min-height: 260px; }
}

/* ===== Project cards: 2 per row on desktop, 1 on phones ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 700px) {
  .project-grid { grid-template-columns: 1fr; }
}
.project-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(10, 36, 99, 0.45);
}
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: #fff;
}
.project-tag__dot { width: 8px; height: 8px; border-radius: 50%; }
.project-tag--running { color: #166534; }
.project-tag--running .project-tag__dot { background: #22c55e; }
.project-tag--upcoming { color: #0b45c9; }
.project-tag--upcoming .project-tag__dot { background: #0b6bff; }

.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.project-card__meta { margin: 0 0 8px; font-size: 0.66rem; letter-spacing: 0.08em; color: var(--blue-primary); }
.project-card__title { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; }
.project-card__summary {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid var(--blue-border);
  border-radius: 10px;
  background: #f4f8ff;
}
.project-card__metrics strong { display: block; font-size: 0.95rem; color: #0a2463; }
.project-card__metrics span { font-size: 0.68rem; color: var(--text-muted); }
.project-card__foot { margin-top: auto; }

/* ===== Slimmer banner: image on the right, fading into the navy ===== */
.project-banner {
  min-height: 480px;
  display: flex;
  align-items: center;
}
.project-banner__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 32%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 32%, #000 72%);
}
.project-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 36, 99, 0.35), transparent 55%);
}
.project-banner__inner {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 44px;
  padding-bottom: 44px;
}
.project-banner__copy { max-width: 540px; }
.project-banner .upcoming-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}
.project-banner .upcoming-desc {
  max-width: 440px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .project-banner { display: block; min-height: 0; }
  .project-banner__media {
    position: relative;
    width: 100%;
    height: 200px;
    -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  }
  .project-banner__inner { padding-top: 0; padding-bottom: 36px; }
}

/* ===== Smaller project cards ===== */
.project-grid { gap: 88px; }
.project-card__media { aspect-ratio: 16 / 9; }
.project-card__body { padding: 16px 18px; }
.project-card__meta { margin-bottom: 6px; }
.project-card__title { font-size: 1.05rem; margin-bottom: 6px; }
.project-card__summary {
  font-size: 0.84rem;
  margin-bottom: 12px;
  -webkit-line-clamp: 2;
}
.project-card__metrics {
  padding: 8px 10px;
  gap: 8px;
  margin-bottom: 12px;
}
.project-card__metrics strong { font-size: 0.85rem; }
.project-card__metrics span { font-size: 0.64rem; }
.project-card__foot .btn { padding: 8px 16px; font-size: 0.85rem; }
.project-tag { top: 10px; left: 10px; padding: 5px 10px; font-size: 0.62rem; }

/* ===== Project detail page ===== */
.project-tag--inline { position: static; }
.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.project-detail__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--blue-border);
}
.project-detail__h { font-size: 1.15rem; margin: 28px 0 12px; }
.project-detail__side {
  position: sticky;
  top: 96px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 14px;
}
.project-facts { margin: 14px 0 20px; }
.project-facts div { padding: 10px 0; border-bottom: 1px solid var(--blue-border); }
.project-facts dt { font-size: 0.66rem; letter-spacing: 0.08em; color: var(--text-muted); }
.project-facts dd { margin: 4px 0 0; font-weight: 600; }
.project-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.project-steps li {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border: 1px solid var(--blue-border);
  border-radius: 10px;
  background: #f4f8ff;
}
.project-steps span { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 860px) {
  .project-detail { grid-template-columns: 1fr; }
  .project-detail__side { position: static; }
}
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.corp-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.corp-profile-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 43, 102, 0.06);
}

.corp-profile-card__head {
  border-bottom: 1px solid var(--blue-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.corp-profile-card__head h3 {
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin: 0 0 4px;
}

.corp-profile-card__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.88rem;
  gap: 16px;
}

.corp-profile-card__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.corp-profile-card__label {
  color: var(--text-muted);
  font-size: 0.82rem;
  flex: 0 0 130px;
}

.corp-profile-card__val {
  color: var(--blue-deep);
  font-weight: 600;
  text-align: right;
}

/* Vision & Mission Cards */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 43, 102, 0.04);
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.vm-card:hover {
  border-color: var(--blue-primary);
  transform: translateY(-2px);
}

.vm-card__title {
  font-size: 1.45rem;
  color: var(--blue-deep);
  margin: 0 0 14px;
}

.vm-card__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dark);
  margin: 0;
  flex-grow: 1;
}

/* Architectural Infrastructure Monolith (Unique Four Pillars) */
.pillars-monolith {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 43, 102, 0.05);
  background-image:
    radial-gradient(#dbeafe 1.2px, transparent 1.2px),
    linear-gradient(to bottom, #ffffff, #fcfdfe);
  background-size: 22px 22px, 100% 100%;
}

.pillars-busbar {
  position: relative;
  background: #f1f5f9;
  border-bottom: 1px solid var(--blue-border);
  padding: 10px 24px;
}

.pillars-busbar__line {
  position: absolute;
  top: 50%;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, #93c5fd 0%, #38bdf8 50%, #93c5fd 100%);
  transform: translateY(-50%);
  z-index: 1;
}

.pillars-busbar__nodes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillars-busbar__node {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #f1f5f9;
  padding: 0 8px;
  justify-self: start;
}

.pillars-busbar__node i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 0 6px rgba(0, 87, 255, 0.4);
}

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

.pillar-bay {
  position: relative;
  padding: 34px 26px 28px;
  border-right: 1px solid var(--blue-border);
  display: flex;
  flex-direction: column;
  transition: background-color 0.22s ease;
  overflow: hidden;
}

.pillar-bay:last-child {
  border-right: none;
}

.pillar-bay:hover {
  background-color: rgba(0, 87, 255, 0.035);
}

.pillar-bay__watermark {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 800;
  color: #002b66;
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.pillar-bay:hover .pillar-bay__watermark {
  opacity: 0.12;
  transform: scale(1.05);
}

.pillar-bay__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pillar-bay__code {
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--blue-deep);
  padding: 2px 7px;
  border-radius: 4px;
}

.pillar-bay__domain {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pillar-bay__title {
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin: 0 0 6px;
  line-height: 1.3;
  font-weight: 700;
}

.pillar-bay__tagline {
  font-size: 0.82rem;
  color: var(--blue-primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.pillar-bay__desc {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0 0 20px;
  flex-grow: 1;
}

.pillar-bay__spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--blue-tint);
  color: var(--blue-deep);
  border: 1px solid rgba(0, 87, 255, 0.18);
  align-self: flex-start;
}

/* ==========================================================================
   DIRECTORATE COMMAND MATRIX — Dynamic Executive Console
   ========================================================================== */
.directorate-console {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 43, 102, 0.06);
}

.console-bar {
  background: var(--blue-deep);
  color: #ffffff;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.console-bar__left {
  display: flex;
  align-items: center;
}

.console-bar__right {
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 440px;
}

/* Left Rail Switcher */
.console-rail {
  background: #f8fafc;
  border-right: 1px solid var(--blue-border);
  display: flex;
  flex-direction: column;
}

.console-tab {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--blue-border);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.console-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: background-color 0.18s ease;
}

.console-tab:hover {
  background: #f1f5f9;
}

.console-tab.is-active {
  background: #ffffff;
}

.console-tab.is-active::before {
  background: var(--blue-primary);
}

.console-tab__badge {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--blue-deep);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background-color 0.18s ease;
}

.console-tab.is-active .console-tab__badge {
  background: var(--blue-primary);
}

.console-tab__info {
  flex-grow: 1;
  min-width: 0;
}

.console-tab__role {
  font-size: 0.92rem;
  color: var(--blue-deep);
  font-weight: 700;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-tab__dept {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-tab__arrow {
  color: #cbd5e1;
  font-size: 1rem;
  transition: transform 0.18s ease, color 0.18s ease;
}

.console-tab.is-active .console-tab__arrow {
  color: var(--blue-primary);
  transform: translateX(3px);
}

/* Right Main Dossier HUD */
.console-hud {
  padding: 36px 36px 32px;
  position: relative;
  background-color: #ffffff;
  background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
  background-size: 20px 20px;
}

.console-pane {
  display: none;
  animation: hudFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.console-pane.is-active {
  display: block;
}

@keyframes hudFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--blue-border);
  margin-bottom: 24px;
}

.hud-watermark {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--blue-tint);
  color: var(--blue-deep);
  border: 1px solid rgba(0, 87, 255, 0.2);
}

.hud-status-badge--live {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.hud-profile-head {
  margin-bottom: 24px;
}

.hud-title {
  font-size: 1.7rem;
  color: var(--blue-deep);
  margin: 0 0 6px;
  line-height: 1.2;
}

.hud-person {
  font-size: 1.05rem;
  color: var(--blue-primary);
  font-weight: 600;
  margin: 0 0 4px;
}

.hud-dept {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hud-mandate-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.hud-bio {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0 0 24px;
  max-width: 680px;
}

.hud-competencies {
  margin-bottom: 28px;
}

.hud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-tint);
  border: 1px solid var(--blue-border);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--blue-deep);
  font-weight: 600;
}

.hud-footer {
  padding-top: 20px;
  border-top: 1px solid var(--blue-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .console-body {
    grid-template-columns: 1fr;
  }
  .console-rail {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--blue-border);
  }
  .console-tab {
    flex: 0 0 240px;
    border-bottom: none;
    border-right: 1px solid var(--blue-border);
  }
  .console-tab::before {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
  }
  .console-hud {
    padding: 24px 20px;
  }
}

/* Office Location & Google Maps Section */
.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}

.location-info-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 43, 102, 0.05);
}

.location-block {
  margin-bottom: 22px;
}

.location-block:last-child {
  margin-bottom: 0;
}

.location-block__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-block__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
  margin: 0;
}

.location-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-frame-box {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--blue-border);
  box-shadow: 0 12px 36px rgba(0, 43, 102, 0.08);
  background: #e2e8f0;
}

.map-frame-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-status-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(0, 43, 102, 0.9);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.map-status-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Regional Corridors Grid */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.hub-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  padding: 18px 16px;
  transition: border-color 0.16s ease;
}

.hub-card:hover {
  border-color: var(--blue-primary);
}

.hub-card__title {
  font-size: 0.92rem;
  color: var(--blue-deep);
  font-weight: 700;
  margin: 0 0 4px;
}

.hub-card__sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--blue-primary);
  margin: 0 0 8px;
  display: block;
}

.hub-card__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Action Button Containers for About Page */
.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--blue-border);
}

.about-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.page-hero .hero-title {
  min-height: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .about-story-grid,
  .location-grid,
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pillars-bays,
  .pillars-busbar__nodes {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar-bay:nth-child(2) {
    border-right: none;
  }
  .pillar-bay:nth-child(-n+2) {
    border-bottom: 1px solid var(--blue-border);
  }
  .hubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .console-body {
    grid-template-columns: 1fr;
  }
  .console-rail {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 8px 10px;
    gap: 8px;
    background: #f1f5f9;
    border-right: none;
    border-bottom: 1px solid var(--blue-border);
    scrollbar-width: none;
  }
  .console-rail::-webkit-scrollbar {
    display: none;
  }
  .console-tab {
    flex: 0 0 auto;
    min-width: 150px;
    max-width: 180px;
    padding: 8px 12px;
    gap: 8px;
    border-radius: 6px;
    border: 1px solid var(--blue-border);
    background: #ffffff;
    scroll-snap-align: start;
  }
  .console-tab::before {
    display: none;
  }
  .console-tab.is-active {
    border-color: var(--blue-primary);
    background: #e0f2fe;
    box-shadow: 0 2px 8px rgba(0, 87, 255, 0.12);
  }
  .console-tab__badge {
    width: 32px;
    height: 32px;
    font-size: 0.74rem;
    border-radius: 4px;
  }
  .console-tab__role {
    font-size: 0.8rem;
  }
  .console-tab__dept {
    display: none;
  }
  .console-tab__arrow {
    display: none;
  }
  .console-hud {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  /* Hero on mobile */
  .about-hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .about-hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  /* Story & Corporate Profile on mobile */
  .corp-profile-card {
    padding: 20px 16px;
  }
  .corp-profile-card__head h3 {
    font-size: 1.15rem;
  }
  .corp-profile-card__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 8px 0;
  }
  .corp-profile-card__label {
    flex: none;
    width: 100%;
    font-size: 0.76rem;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .corp-profile-card__val {
    text-align: left;
    width: 100%;
    font-size: 0.92rem;
  }

  /* Vision & Mission on mobile */
  .vm-grid {
    gap: 16px;
  }
  .vm-card {
    padding: 22px 18px;
  }
  .vm-card__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
  .vm-card__text {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  /* Pillars Monolith on mobile */
  .pillars-monolith {
    border-radius: 8px;
  }
  .pillars-busbar {
    display: none;
  }
  .pillars-bays {
    grid-template-columns: 1fr;
  }
  .pillar-bay {
    border-right: none;
    border-bottom: 1px solid var(--blue-border);
    padding: 22px 18px 20px;
  }
  .pillar-bay:last-child {
    border-bottom: none;
  }
  .pillar-bay__watermark {
    font-size: 2.2rem;
    top: 10px;
    right: 12px;
    opacity: 0.08;
  }
  .pillar-bay__title {
    font-size: 1.08rem;
    margin-bottom: 4px;
  }
  .pillar-bay__tagline {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }
  .pillar-bay__desc {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .pillar-bay__spec {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  /* Directorate Console on mobile */
  .console-bar {
    padding: 10px 14px;
    justify-content: center;
    font-size: 0.68rem;
  }
  .console-bar__left {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .console-bar__right {
    display: none;
  }
  .console-hud {
    padding: 20px 16px;
    background-size: 16px 16px;
  }
  .hud-top {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .hud-watermark {
    font-size: 0.7rem;
  }
  .hud-title {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }
  .hud-person {
    font-size: 0.94rem;
    margin-bottom: 2px;
  }
  .hud-dept {
    font-size: 0.7rem;
    margin-bottom: 12px;
  }
  .hud-mandate-label {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }
  .hud-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .hud-tags {
    gap: 6px;
  }
  .hud-tag {
    font-size: 0.72rem;
    padding: 4px 8px;
  }
  .hud-footer {
    padding-top: 14px;
    font-size: 0.74rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Headquarters & Map on mobile */
  .location-info-card {
    padding: 20px 16px;
  }
  .location-block {
    margin-bottom: 16px;
  }
  .location-block__title {
    font-size: 0.72rem;
    margin-bottom: 4px;
  }
  .location-block__text {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .location-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
  }
  .location-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
  }
  .map-frame-box {
    height: 250px;
    border-radius: 8px;
  }
  .map-status-pill {
    padding: 4px 10px;
    top: 8px;
    left: 8px;
    font-size: 0.66rem;
    max-width: calc(100% - 16px);
  }

  /* Regional Hubs on mobile */
  .hubs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .hub-card {
    padding: 14px 12px;
  }
  .hub-card__title {
    font-size: 0.88rem;
  }
  .hub-card__sub {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }
  .hub-card__text {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  /* Blue Callout CTA on mobile */
  .about-cta-actions {
    flex-direction: column;
    gap: 10px;
  }
  .about-cta-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
  }
}

/* ---------- Floating WhatsApp Action Button ---------- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.22);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, background-color 0.2s ease;
  animation: wa-pulse 2.8s infinite;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp-btn:hover {
  background: #22c35e;
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: none;
}

.floating-whatsapp-btn:hover svg {
  transform: scale(1.08);
}

.floating-whatsapp-btn:active {
  transform: scale(0.95);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  60% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 6px 22px rgba(37, 211, 102, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 16px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
}
