:root {
  --navy: #0d1f35;
  --navy-deep: #08111d;
  --navy-mid: #142c48;
  --steel: #2e6da4;
  --steel-light: #4a8cc4;
  --mist: #e8f1fa;
  --sand: #f4f1ec;
  --sand-2: #efe8df;
  --gold: #c8963c;
  --gold-light: #e8b45a;
  --white: #ffffff;
  --off-white: #fafaf8;
  --text-dark: #0d1f35;
  --text-mid: #3a5068;
  --text-muted: #6b8299;
  --border: rgba(13, 31, 53, 0.12);
  --border-light: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(6, 15, 30, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", sans-serif;
  --header-h: 96px;
  --body-bg-image: url("assets/case5.jpeg");
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background:
    linear-gradient(180deg, rgba(8, 17, 29, 0.74), rgba(8, 17, 29, 0.74)),
    var(--body-bg-image) center/cover fixed no-repeat;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.section-icon,
.service-icon svg,
.metric-icon svg,
.cert-icon svg,
.team-icon svg,
.contact-row .inline-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section {
  position: relative;
  z-index: 1;
}

.section-inner {
  width: min(1200px, calc(100% - 6vw));
  margin: 0 auto;
  padding: 106px 0;
}

.section-light {
  background: var(--sand);
}

.section-solid {
  background: var(--sand-2);
}

.section-alt {
  background: linear-gradient(180deg, var(--sand-2), var(--sand));
}

.section-kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
}

.section-kicker::before,
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-intro {
  margin-bottom: 2%;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-mid);
}

.section-intro.light {
  color: rgba(255, 255, 255, 0.72);
}

.section-title.light {
  color: var(--white);
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(232, 180, 90, 0.14),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 60%,
      rgba(74, 140, 196, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #08111d 0%, #0d1f35 100%);
  color: var(--white);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
  overflow: hidden;
}

.page-loader::before,
.page-loader::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.page-loader::before {
  width: 520px;
  height: 520px;
  border: 1px solid rgba(232, 180, 90, 0.12);
  top: -140px;
  right: -120px;
  animation: drift 10s ease-in-out infinite;
}

.page-loader::after {
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  bottom: -120px;
  left: -100px;
  animation: drift 12s ease-in-out infinite reverse;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 34px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  min-width: min(360px, calc(100vw - 40px));
}

.loader-mark {
  position: relative;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}

.loader-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: logoFloat 2.8s ease-in-out infinite;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.loader-glow {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 180, 90, 0.26),
    transparent 68%
  );
  filter: blur(8px);
  animation: pulseGlow 2s ease-in-out infinite;
}

.loader-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 180, 90, 0.28);
  border-top-color: rgba(255, 255, 255, 0.85);
  animation: spin 1.4s linear infinite;
}

.loader-orbit.orbit-2 {
  inset: 10px;
  border-color: rgba(74, 140, 196, 0.22);
  border-bottom-color: rgba(232, 180, 90, 0.8);
  animation-duration: 2.1s;
  animation-direction: reverse;
}

.loader-brand {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.loader-brand span {
  color: var(--gold-light);
}

.loader-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.loader-dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.loader-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0.35;
  animation: dotBounce 1s ease-in-out infinite;
}

.loader-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.loader-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

.loader-bar {
  width: min(240px, 68vw);
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.loader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-light),
    var(--steel-light),
    transparent
  );
  animation: loadSweep 1.35s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.02);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes dotBounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes loadSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(280%);
    opacity: 0.4;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, 10px, 0) scale(1.03);
  }
}

/* Scroll meter */
.scroll-meter {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.scroll-meter-track {
  width: 5px;
  height: 140px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.scroll-meter-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-light), var(--steel-light));
  border-radius: 999px;
  transform-origin: bottom;
}

.scroll-meter-label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.68);
}

.scroll-meter-label strong {
  color: var(--white);
  font-size: 12px;
}

.scroll-meter.is-light .scroll-meter-track {
  background: rgba(13, 31, 53, 0.14);
  box-shadow: inset 0 0 0 1px rgba(13, 31, 53, 0.08);
}

.scroll-meter.is-light .scroll-meter-fill {
  background: linear-gradient(180deg, var(--navy), var(--steel));
}

.scroll-meter.is-light .scroll-meter-label {
  color: rgba(13, 31, 53, 0.72);
}

.scroll-meter.is-light .scroll-meter-label strong {
  color: var(--navy);
}

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(13, 31, 53, 0.98);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
}

.nav {
  height: var(--header-h);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.nav-logo {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  position: relative;
  z-index: 3;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo-text span {
  color: var(--gold-light);
}

.logo {
  width: min(50px, 14vw);
  height: auto;
  display: block;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  z-index: 3;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-shell {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
}

.nav-links > li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
  padding: 0 2px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--steel-light),
    var(--gold-light),
    var(--steel-light)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown-toggle::after {
  display: none;
}

.nav-cta {
  background: rgba(200, 150, 60, 0.18);
  border: 1px solid rgba(200, 150, 60, 0.32);
  padding: 0 16px;
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta.is-active {
  color: var(--gold-light);
  background: rgba(232, 180, 90, 0.24);
}

.nav-cta::after {
  display: none;
}

.nav-trace {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--steel-light),
    var(--gold-light),
    var(--steel-light)
  );
  box-shadow: 0 0 18px rgba(232, 180, 90, 0.45);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  padding-right: 0;
}

.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 10px;
  line-height: 1;
  opacity: 0.75;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -60%;
  min-width: 240px;
  max-height: 45vh;
  overflow-y: auto;
  padding: 12px;
  background: rgba(13, 31, 53, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 60;
}

.dropdown:hover .dropdown-panel,
.dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.dropdown-link:hover,
.dropdown-link.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
  transform: translateX(2px);
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, #08111d 0%, #0d1f35 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 150, 60, 0.11);
  pointer-events: none;
}

.hero::before {
  width: 540px;
  height: 540px;
  top: -180px;
  right: -160px;
}

.hero::after {
  width: 320px;
  height: 320px;
  top: 70px;
  right: 120px;
  opacity: 0.75;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 18%,
      rgba(232, 177, 95, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 15%,
      rgba(74, 140, 196, 0.16),
      transparent 24%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: calc(var(--header-h) + 22px) 5% 64px;
  position: relative;
  z-index: 1;
}

.hero-top-grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: calc(var(--header-h) + 22px) 5% 28px;
  position: relative;
  z-index: 1;
}

.hero-bottom-grid {
  position: relative;
  z-index: 1;
  padding: 0 5% 64px;
}

.hero-copy {
  max-width: 700px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
}

.hero-eyebrow .dot {
  width: 34px;
  height: 1px;
  background: var(--gold-light);
  box-shadow: 0 0 20px rgba(232, 180, 90, 0.4);
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-primary,
.btn-outline,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  border: 0;
  box-shadow: 0 18px 40px rgba(200, 150, 60, 0.24);
}

.btn-outline {
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.btn-primary:hover,
.btn-outline:hover,
.submit-btn:hover {
  transform: translateY(-1px);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.who-we-help {
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel,
.profile-card,
.service-card,
.case-card,
.process-card,
.metric-card,
.contact-form,
.fact-card,
.about-panel,
.cert-card,
.team-card,
.sector-card,
.mini-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  border-radius: var(--radius);
}

.teaming-box {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.hero-panel-main {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 0;
  background: rgba(13, 31, 53, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-panel-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.panel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  filter: saturate(0.95) contrast(0.98);
  transition:
    opacity 1s ease,
    transform 1.4s ease;
  mix-blend-mode: normal;
}

.panel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 31, 53, 0.22), rgba(13, 31, 53, 0.72)),
    radial-gradient(
      circle at 18% 16%,
      rgba(232, 180, 90, 0.1),
      transparent 26%
    ),
    radial-gradient(
      circle at 78% 18%,
      rgba(74, 140, 196, 0.08),
      transparent 26%
    );
  backdrop-filter: blur(2px);
}

.hero-panel-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.panel-kicker,
.card-eyebrow,
.service-meta,
.case-meta,
.process-card span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.hero-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--white);
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  font-size: 15px;
}

.hero-card-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.panel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.34);
  transition:
    width 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.panel-dot.is-active {
  width: 26px;
  background: var(--gold-light);
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 150px;
}

.mini-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 10px;
}

.mini-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.hero-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0 0;
}

.strip-line {
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--steel-light));
  flex: none;
}

.strip-text {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* About */
.about-grid,
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: start;
}

.about-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  box-shadow: 0 12px 28px rgba(13, 31, 53, 0.05);
}

.about-panel h3,
.profile-card h3,
.cert-card h3,
.team-card h3,
.process-card h3,
.case-card h3,
.service-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

.about-panel h3 {
  font-size: 28px;
}

.about-panel p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-mid);
}

.facts-stack {
  display: grid;
  gap: 14px;
}

.fact-card {
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(13, 31, 53, 0.05);
}

.fact-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.fact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--navy);
}

.fact-card p {
  margin: 0;
  color: var(--text-mid);
  line-height: 1.75;
}

/* Optional profile / sector / process blocks (kept for compatibility) */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  box-shadow: 0 12px 28px rgba(13, 31, 53, 0.05);
}

.profile-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.profile-card p {
  color: var(--text-mid);
  line-height: 1.85;
  font-size: 15px;
}

.sector-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.sector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sector-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 31, 53, 0.08);
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(13, 31, 53, 0.04);
}

.sector-card svg {
  width: 18px;
  height: 18px;
  color: var(--steel);
  flex: none;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 31, 53, 0.08);
  box-shadow: 0 10px 28px rgba(13, 31, 53, 0.05);
}

.process-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Shared cards */
.services-grid,
.cert-grid,
.team-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 31, 53, 0.08);
  box-shadow: 0 10px 30px rgba(13, 31, 53, 0.05);
}

.service-card:hover,
.profile-card:hover,
.case-card:hover,
.process-card:hover,
.metric-card:hover,
.contact-form:hover,
.team-card:hover,
.cert-card:hover,
.sector-card:hover,
.about-panel:hover,
.fact-card:hover,
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 31, 53, 0.1);
}

.service-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.service-icon,
.metric-icon,
.cert-icon,
.team-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(46, 109, 164, 0.1);
  border: 1px solid rgba(46, 109, 164, 0.14);
  color: var(--steel);
  flex: none;
}

.service-icon svg,
.metric-icon svg,
.cert-icon svg,
.team-icon svg {
  width: 18px;
  height: 18px;
}

.service-card h3 {
  font-size: clamp(22px, 2.4vw, 31px);
  margin-bottom: 0;
}

.service-card p,
.case-card p,
.process-card p,
.profile-card p {
  color: var(--text-mid);
  line-height: 1.85;
  font-size: 15px;
}

.service-tags,
.case-points,
.cert-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.service-tags li,
.case-points li,
.cert-list li {
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.service-footnote,
.case-result,
.card-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(13, 31, 53, 0.12);
  color: var(--steel);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
  font-family: var(--font-display);
  font-style: italic;
}

.card-note {
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(21, 38, 59, 0.72);
  font-family: var(--font-body);
}

/* Performance / Results */
.performance-section {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--white);
}

.performance-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 17, 29, 0.64), rgba(8, 17, 29, 0.76)),
    radial-gradient(
      circle at 20% 20%,
      rgba(232, 180, 90, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(74, 140, 196, 0.16),
      transparent 34%
    );
  pointer-events: none;
}

.performance-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 54px;
  align-items: center;
  min-height: 72vh;
  position: relative;
  z-index: 1;
}

.performance-copy .section-title {
  color: var(--white);
}

.performance-notes {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.performance-note {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.performance-note strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.performance-note span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.performance-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  padding: 22px;
  background: rgba(13, 31, 53, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  color: var(--white);
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.metric-number.is-animating {
  animation: counterPulse 0.9s ease;
}

@keyframes counterPulse {
  0% {
    transform: scale(0.92);
    filter: brightness(0.95);
  }
  50% {
    transform: scale(1.06);
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.metric-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.metric-card .card-note {
  color: rgba(255, 255, 255, 0.48);
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Credentials / Team */
.cert-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cert-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 31, 53, 0.08);
  box-shadow: 0 10px 28px rgba(13, 31, 53, 0.05);
}

.cert-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.cert-list {
  display: grid;
  gap: 10px;
}

.cert-icon {
  margin-bottom: 16px;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 31, 53, 0.08);
  border-left: 4px solid var(--steel);
  box-shadow: 0 10px 28px rgba(13, 31, 53, 0.05);
}

.team-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.team-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

/* Case studies */
#experience .section-title em {
  color: var(--gold);
}

#experience .case-feature,
#experience .case-card {
  border-radius: 24px;
  overflow: hidden;
}

.case-points {
  margin: 0;
  padding: 0;
}

.case-points li {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

.case-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(13, 31, 53, 0.08);
  box-shadow: 0 10px 28px rgba(13, 31, 53, 0.05);
}

.case-card h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 12px;
}

.case-card .case-approach,
.case-card .case-points {
  margin-top: 1%;
}

.case-card .case-meta {
  color: var(--steel);
}

.case-card p {
  color: var(--text-mid);
}

.case-card .case-challenge,
.case-card .case-approach,
.case-card .case-result {
  background: rgba(13, 31, 53, 0.04);
  border: 1px solid rgba(13, 31, 53, 0.08);
}

.case-card .case-challenge span,
.case-card .case-approach span,
.case-card .case-result span {
  color: var(--gold);
}

.case-card .case-challenge p,
.case-card .case-approach p,
.case-card .case-result p {
  color: var(--text-mid);
}

.case-card .case-points li {
  background: var(--white);
  color: var(--text-mid);
  border-color: var(--border);
}

.case-card-wide {
  grid-column: 1 / -1;
}

.case-challenge,
.case-approach,
.case-result {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
}

.case-challenge span,
.case-approach span,
.case-result span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Contact */
.contact-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  right: -220px;
  bottom: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(200, 150, 60, 0.1);
  pointer-events: none;
}

.contact-copy .section-title {
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 32px 0 26px;
}

.contact-row {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.contact-row strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.7;
}

.teaming-box {
  padding: 20px 20px 18px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.contact-form {
  padding: 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  margin-bottom: 18px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(232, 180, 90, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
  width: 100%;
  border: none;
}

/* Footer */
.site-footer {
  background: #080f18;
  padding: 28px 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand span {
  color: rgba(232, 180, 90, 0.8);
}

.footer-copy,
.footer-meta {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  line-height: 1.7;
}

.form-status {
  display: none;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid transparent;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(46, 109, 164, 0.14);
  border-color: rgba(46, 109, 164, 0.28);
  color: #dbeeff;
}

.form-status.error {
  background: rgba(200, 60, 60, 0.14);
  border-color: rgba(200, 60, 60, 0.28);
  color: #ffe0e0;
}

.submit-btn {
  position: relative;
}

.submit-btn.is-loading {
  pointer-events: none;
  opacity: 0.82;
}

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: btnSpin 0.8s linear infinite;
}

.submit-btn.is-loading .btn-spinner {
  display: inline-block;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity, filter;
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-6px) translateX(2px);
  }
}

@media (min-width: 1025px) {
  .hero-panel-main {
    animation: floatSoft 8s ease-in-out infinite;
  }

  .metric-card:nth-child(odd) {
    animation: floatY 9s ease-in-out infinite;
  }

  .metric-card:nth-child(even) {
    animation: floatY 10s ease-in-out infinite reverse;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .performance-inner,
  .case-feature,
  .about-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .profile-grid,
  .process-grid,
  .cert-grid,
  .team-grid,
  .sector-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: calc(var(--header-h) + 30px);
  }

  .hero-top-grid {
    grid-template-columns: 1fr;
    padding-bottom: 24px;
  }

  .hero-panel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-shell {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: 16px 5% 24px;
    background: rgba(13, 31, 53, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-18px);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .nav-shell.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-trace {
    display: none;
  }

  .dropdown-panel {
    position: static;
    min-width: 0;
    margin-top: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 40vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .dropdown.open .dropdown-panel {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-bottom: 46px;
  }

  .scroll-meter {
    right: 10px;
    bottom: 10px;
    transform: scale(0.8);
    transform-origin: bottom right;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 72px;
  }

  .nav {
    height: var(--header-h);
  }

  .hero-grid,
  .section-inner {
    padding-left: 4%;
    padding-right: 4%;
  }

  .hero-title {
    font-size: clamp(38px, 10vw, 54px);
  }

  .hero-subtitle,
  .section-intro,
  .profile-card p,
  .service-card p,
  .case-card p,
  .process-card p,
  .performance-note span,
  .contact-row strong,
  .team-card p,
  .about-panel p {
    font-size: 15px;
  }

  .hero-panel-grid,
  .profile-grid,
  .performance-stats,
  .case-grid,
  .process-grid,
  .cert-grid,
  .team-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .profile-card,
  .case-card,
  .process-card,
  .contact-form,
  .cert-card,
  .team-card,
  .about-panel,
  .fact-card {
    padding: 22px 18px;
  }

  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .scroll-meter {
    right: 8px;
    bottom: 8px;
    transform: scale(0.72);
  }
}

@media (max-width: 540px) {
  .hero-panel-main {
    min-height: 320px;
  }

  .hero-panel-content {
    padding: 22px;
  }

  .mini-card {
    min-height: 0;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .site-footer {
    padding: 24px 4%;
  }
}
