
:root {
  --bg: #050C18;
  --bg-2: #081426;
  --surface: rgba(14, 32, 58, 0.72);
  --border: rgba(120, 160, 220, 0.14);
  --border-2: rgba(120, 160, 220, 0.26);

  --navy: #123156;
  --red: #E11B22;
  --red-2: #B4141A;
  --amber: #F7941D;
  --blue: #4A90E2;

  --text: #F5F8FC;
  --muted: #93A3B8;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --glass-bg: rgba(5, 12, 24, 0.62);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-highlight: rgba(255, 255, 255, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Ambient field (restrained) ===== */
#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}
body.past-hero #hero-canvas { opacity: 0.28; }
.mouse-glow {
  position: fixed;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.site { position: relative; z-index: 1; }

/* ===== Liquid Glass Navigation ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 16, 32, 0.28);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(0, 0, 0, 0.25);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 100%
  );
  pointer-events: none;
  border-radius: inherit;
}
header.scrolled {
  background: rgba(5, 12, 24, 0.52);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(32px) saturate(210%) brightness(1.08);
  -webkit-backdrop-filter: blur(32px) saturate(210%) brightness(1.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 -1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 106px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.3px;
}
.logo img {
  height: 78px;
  width: auto;
  display: block;
}
.logo .logo-text { display: none; } /* full logo already contains text */

nav ul {
  display: flex;
  /* margin fallback where flex gap is unsupported */
  list-style: none;
  gap: 28px;
  align-items: center;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15px;
  transition: color 0.25s ease;
  position: relative;
}
nav a:hover,
nav a.active { color: #fff; }
nav a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber));
  transition: width 0.3s ease;
  border-radius: 2px;
}
nav a:hover::after,
nav a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(225, 27, 34, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(225, 27, 34, 0.4);
}

.burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 6px;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 92px; right: 0; bottom: 0; left: 0;
  inset: 92px 0 0 0;
  overflow-y: auto;
  background: rgba(5, 12, 24, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  padding: 32px 28px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu .nav-cta {
  margin-top: 20px;
  justify-content: center;
  padding: 14px 20px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.62;
  filter: brightness(0.72) contrast(1.06) saturate(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,12,24,0.90) 0%, rgba(5,12,24,0.58) 48%, rgba(5,12,24,0.28) 100%),
    linear-gradient(180deg, rgba(5,12,24,0.34) 0%, rgba(5,12,24,0.72) 78%, rgba(5,12,24,0.95) 100%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber));
  border-radius: 2px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.4px;
  margin-bottom: 22px;
}
.hero h1 .line2 {
  background: linear-gradient(135deg, #fff 10%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(225, 27, 34, 0.32);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(225, 27, 34, 0.45);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(247, 148, 29, 0.45);
  transform: translateY(-2px);
}

/* Glass stats panel */
.glass-panel {
  background: rgba(14, 32, 58, 0.44);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  backdrop-filter: blur(26px) saturate(180%) brightness(1.06);
  -webkit-backdrop-filter: blur(26px) saturate(180%) brightness(1.06);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  position: relative;
}
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 148, 29, 0.45), transparent);
  border-radius: 18px 18px 0 0;
}
.panel-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.metric {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.metric:last-child { border-bottom: none; padding-bottom: 0; }
.metric-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
}
.metric-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== Sections ===== */
section {
  padding: 96px 0;
  position: relative;
  z-index: 2;
}
.section-tight { padding: 72px 0; }

.tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.9px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.proof-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.proof-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.proof-list .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--amber);
  min-width: 28px;
}
.proof-list .t {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}

/* Visual strip - selective photography */
.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.visual-strip .photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  background: #0a1525;
}
.visual-strip .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.visual-strip .photo:hover img {
  transform: scale(1.04);
}
.visual-strip .photo .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(5,12,24,0.9));
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* EPICC strip */
.epicc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.epicc-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.epicc-item:hover {
  border-color: rgba(247, 148, 29, 0.35);
  background: rgba(247, 148, 29, 0.04);
}
.epicc-item .letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--amber);
  margin-bottom: 6px;
}
.epicc-item .name {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Capability cards */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.cap-card {
  background: rgba(15, 28, 48, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.35s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cap-card:hover {
  border-color: rgba(225, 27, 34, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.cap-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 14px;
}
.cap-card .more {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--amber);
}

/* Assets */
.assets-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.asset-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.asset-list li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 11px;
  transition: border-color 0.25s ease;
}
.asset-list li:hover { border-color: rgba(120, 160, 220, 0.28); }
.asset-list .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--amber);
}
.asset-list .t { font-weight: 500; font-size: 0.98rem; }
.asset-list .m { font-size: 0.82rem; color: var(--muted); }

.assets-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  background: #0a1525;
}
.assets-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.assets-visual .overlay-label {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 14px;
  background: rgba(5,12,24,0.75);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Close */
.close {
  padding: 100px 0 110px;
}
.close-inner {
  background: linear-gradient(180deg, rgba(18, 49, 86, 0.35) 0%, rgba(5, 12, 24, 0.2) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
}
.close-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted);
}
.contact-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--amber);
}
.contact-list .lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2px;
}
.contact-list a {
  color: var(--text);
  text-decoration: none;
}
.contact-list a:hover { color: var(--amber); }

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 56px 0 36px;
  position: relative;
  z-index: 2;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.foot-grid h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; }
.foot-grid li {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot-grid a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}
.foot-grid a:hover { color: #fff; }
.foot-about {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36ch;
  margin-top: 14px;
  line-height: 1.6;
}
.foot-logo {
  height: 88px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.4));
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--muted);
}
.foot-bottom nav {
  display: flex;
  gap: 18px;
}
.foot-bottom a {
  color: var(--muted);
  text-decoration: none;
}
.foot-bottom a:hover { color: #fff; }

/* Reveals */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rv.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .close-grid,
  .assets-layout { grid-template-columns: 1fr; gap: 40px; }
  .epicc { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: 1fr; }
  .visual-strip { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; }
  header .nav-cta { display: none; }
  .mobile-menu .nav-cta { display: inline-flex; }
  .burger { display: block; }
  .nav-inner { height: 104px; }
  .mobile-menu { top: 104px; inset: 104px 0 0 0; }
}
@media (max-width: 560px) {
  .epicc { grid-template-columns: 1fr 1fr; }
  .visual-strip { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .hero h1 { font-size: 2.25rem; }
  .close-inner { padding: 32px 22px; }
  .asset-list li {
    grid-template-columns: 36px 1fr;
  }
  .asset-list .m {
    grid-column: 2;
    margin-top: -4px;
  }
  .logo img { height: 56px; }
}


/* ===== Multi-page additions ===== */
.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"] { color: var(--amber); }

/* Page banner (inner pages) */
.page-banner {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-banner .banner-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 0; }
.page-banner .banner-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.34; filter: brightness(0.7) contrast(1.05);
}
.page-banner .banner-bg::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,12,24,0.92) 0%, rgba(5,12,24,0.62) 60%, rgba(5,12,24,0.4) 100%),
    linear-gradient(180deg, rgba(5,12,24,0.5) 0%, rgba(5,12,24,0.88) 100%);
}
.page-banner .wrap { position: relative; z-index: 2; }
.crumb {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.crumb a:hover { color: #fff; }
.crumb span { color: var(--amber); }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -1.4px;
}
.page-banner .lede { margin-top: 18px; max-width: 60ch; }

/* Service blocks */
.svc-block {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(48px, 6vw, 84px) 0;
  border-top: 1px solid var(--border);
}
.svc-block:first-of-type { border-top: 0; }
.svc-block.flip .svc-media { order: -1; }
.svc-block h2 { margin-bottom: 14px; }
.svc-block .group-label {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--amber);
  margin: 26px 0 10px;
}
.svc-list { list-style: none; display: grid; gap: 9px; }
.svc-list li { display: flex; gap: 12px; color: var(--muted); font-size: 0.95rem; }
.svc-list li::before {
  content: ''; width: 5px; height: 5px; background: var(--blue);
  flex: none; margin-top: 9px; transform: rotate(45deg);
}
.svc-media { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.svc-media .caption {
  position: absolute; left: 16px; bottom: 14px;
  padding: 8px 14px; border-radius: 8px;
  background: rgba(5,12,24,0.62);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.76rem; font-weight: 600;
}
/* Panel used where no photography exists yet */
.svc-panel {
  border-radius: 16px; padding: 34px 30px;
  background: rgba(14, 32, 58, 0.4);
  border: 1px solid var(--border);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  position: relative;
}
.svc-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247,148,29,0.4), transparent);
}
.svc-panel h4 {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.svc-panel .row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.svc-panel .row:last-child { border-bottom: 0; }
.svc-panel .row b { color: var(--text); font-weight: 700; min-width: 78px; }
.svc-panel .row span { color: var(--muted); }
.scope-cta { margin-top: 26px; }

/* Profile download */
.doc-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.doc-note { font-size: 0.78rem; color: var(--muted); }

@media (max-width: 980px) {
  .svc-block { grid-template-columns: 1fr; }
  .svc-block.flip .svc-media { order: 0; }
  .page-banner { min-height: 0; padding: 128px 0 44px; }
}

/* ===== Enquiry form ===== */
.enquiry .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: rgba(5, 12, 24, 0.72);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field .err { display: block; margin-top: 6px; font-size: 0.76rem; color: var(--red); }
.enquiry .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; }
.form-note.ok { color: var(--amber); }

.map-embed {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 16 / 10; background: rgba(14, 32, 58, 0.4);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.3) invert(0.92) hue-rotate(180deg) contrast(0.9); }

.section-tight { padding-block: clamp(48px, 6vw, 80px); }

@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
}


/* Fail-safe: without JS the reveal class must not hide content */
.no-js .rv { opacity: 1 !important; transform: none !important; }


/* Fixed header offset for in-page anchors */
:target, [id] { scroll-margin-top: 108px; }
@media (max-width: 980px) { :target, [id] { scroll-margin-top: 92px; } }


/* ===== EPICC - scroll-driven sequence ===== */
.epicc-track {
  position: relative;
  margin-top: 34px;
  padding-left: 0;
}
.epicc-rail {
  position: absolute;
  left: 0; right: 0; top: 27px;
  height: 2px;
  background: var(--border);
  overflow: hidden;
}
.epicc-rail span {
  position: absolute; inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transition: right 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.epicc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 0;
  position: relative;
}
.epicc-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 56px 18px 22px;
  text-align: left;
  position: relative;
  opacity: 0.45;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22,0.61,0.36,1),
              border-color 0.4s ease, background 0.4s ease;
}
.epicc-item::before {
  content: '';
  position: absolute;
  top: 21px; left: 20px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-2, #081426);
  border: 2px solid var(--border);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.epicc-item .letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--muted);
  margin-bottom: 6px;
  transition: color 0.4s ease;
}
.epicc-item .name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.epicc-item .detail {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}
.epicc-item.is-active,
.epicc-item.is-done {
  opacity: 1;
  transform: none;
  border-color: rgba(247, 148, 29, 0.32);
  background: rgba(247, 148, 29, 0.045);
}
.epicc-item.is-active::before,
.epicc-item.is-done::before {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(247, 148, 29, 0.14);
}
.epicc-item.is-active .letter,
.epicc-item.is-done .letter { color: var(--amber); }
.epicc-item.is-active .detail { max-height: 120px; opacity: 1; }
.epicc-item:hover { opacity: 1; }

.epicc-caption {
  margin-top: 20px;
  font-size: 0.84rem;
  color: var(--muted);
}
.epicc-caption b { color: var(--text); font-weight: 700; }

@media (max-width: 900px) {
  .epicc { grid-template-columns: repeat(2, 1fr); }
  .epicc-rail { display: none; }
  .epicc-item { opacity: 1; transform: none; padding-top: 50px; }
  .epicc-item .detail { max-height: 140px; opacity: 1; }
}
@media (max-width: 560px) {
  .epicc { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .epicc-item { opacity: 1; transform: none; }
  .epicc-item .detail { max-height: 140px; opacity: 1; }
}


/* ===== Services: progress rail + staggered reveals ===== */
.svc-layout { position: relative; }

.svc-rail {
  position: sticky;
  top: 118px;
  float: left;
  width: 186px;
  margin-left: -226px;
  padding-right: 18px;
  z-index: 3;
}
.svc-rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.svc-rail ol::before {
  content: '';
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.svc-rail ol::after {
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--blue), var(--amber));
  transition: height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.svc-rail.p1 ol::after { height: 25%; }
.svc-rail.p2 ol::after { height: 50%; }
.svc-rail.p3 ol::after { height: 75%; }
.svc-rail.p4 ol::after { height: calc(100% - 16px); }

.svc-rail li { position: relative; padding: 0 0 26px 24px; }
.svc-rail li:last-child { padding-bottom: 0; }
.svc-rail li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg, #050C18);
  border: 2px solid var(--border);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.svc-rail a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
  display: block;
  transition: color 0.35s ease;
}
.svc-rail li.is-done::before { border-color: var(--amber); background: var(--amber); }
.svc-rail li.is-active::before {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(247, 148, 29, 0.16);
}
.svc-rail li.is-active a { color: var(--text); }
.svc-rail li:hover a { color: #fff; }

/* staggered sub-service reveals */
.svc-list li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.svc-block.is-seen .svc-list li { opacity: 1; transform: none; }
.svc-block .group-label {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.svc-block.is-seen .group-label { opacity: 1; transform: none; }

@media (max-width: 1360px) {
  .svc-rail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-list li,
  .svc-block .group-label { opacity: 1 !important; transform: none !important; transition: none !important; }
  .svc-rail ol::after { transition: none; }
}

@media (min-width: 1361px) {
  #services-detail .wrap,
  #sectors-detail .wrap { padding-left: 258px; }
}




/* ============================================================
   Header: no full-width bar. Two separate glass objects.
   Logo sits on its own light glass plate; nav links sit on
   their own dark glass pill. The header itself is transparent.
   ============================================================ */
header {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
/* soft scrim once scrolled, so page content passing underneath
   never competes with the nav. Gradient, not glass. */
header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 178px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(5,12,24,0.72) 0%, rgba(5,12,24,0.32) 55%, transparent 100%);
  transition: opacity 0.35s ease;
}
header.scrolled::before { opacity: 1; }
.nav-inner { position: relative; z-index: 2; }

/* --- nav pill (dark glass) --- */
nav ul {
  padding: 9px 24px;
  border-radius: 100px;
  background: rgba(10, 22, 40, 0.42);
  backdrop-filter: blur(26px) saturate(190%) brightness(1.06);
  -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.30);
}

/* --- burger gets its own small glass button --- */
@media (max-width: 900px) {
  .burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(10, 22, 40, 0.46);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 22px rgba(0,0,0,0.3);
    padding: 0;
  }
  .logo { padding: 10px 16px; }
  .logo img { height: 52px !important; }
}
@media (max-width: 560px) {
  .logo { padding: 9px 13px; border-radius: 13px; }
  .logo img { height: 44px !important; }
}




/* ============================================================
   Header lockup: logo top left on the nav line, no plate.
   Nav sits back on its own line, right aligned.
   ============================================================ */
.nav-inner {
  display: flex;
  align-items: center;
  height: 138px;
}
.nav-inner nav,
.nav-inner .nav-cta,
.nav-inner .burger { margin-top: 0; }

.logo {
  display: flex;
  align-items: center;
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 16px 26px;
  border-radius: 18px;
  background: rgba(252, 253, 255, 0.96);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 34px rgba(0, 0, 0, 0.42);
  filter: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-clip-path: none;
  clip-path: none;
}
.logo::before, .logo::after { display: none !important; content: none !important; }
.logo img {
  position: static;
  width: auto !important;
  height: 92px !important;
  margin: 0 !important;
  display: block;
  image-rendering: auto;
}
.logo:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 32px rgba(0, 0, 0, 0.42);
}

nav ul { margin-left: auto; }

@media (max-width: 900px) {
  .nav-inner { height: 104px; }
  .logo { padding: 12px 18px; border-radius: 15px; }
  .logo img { height: 66px !important; }
}
@media (max-width: 560px) {
  .nav-inner { height: 92px; }
  .logo { padding: 10px 14px; border-radius: 13px; }
  .logo img { height: 54px !important; }
}


/* ===== single wide photograph on the homepage ===== */
.visual-strip.single { grid-template-columns: 1fr; }
.visual-strip.single .photo { aspect-ratio: 21 / 9; }

/* ===== banners without photography ===== */
.page-banner.plain {
  background:
    radial-gradient(80% 120% at 12% 0%, rgba(74,144,226,0.14), transparent 60%),
    radial-gradient(70% 120% at 92% 100%, rgba(247,148,29,0.10), transparent 60%),
    linear-gradient(180deg, rgba(10,22,40,0.9) 0%, rgba(5,12,24,1) 100%);
}
.page-banner.plain::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247,148,29,0.35), transparent);
}
