/* ============================================================
   SRJN & Associates — Design System
   Palette sampled from brand creative: navy + growth-green + white
   ============================================================ */

:root {
  /* Navy scale */
  --navy-900: #08152b;
  --navy-850: #0a1a33;
  --navy-800: #0c2340;
  --navy-700: #13294b;
  --navy-600: #1b3760;
  --navy-glass: rgba(10, 26, 51, 0.72);

  /* Green accent */
  --green-600: #4f9226;
  --green-500: #5da52b;
  --green-400: #74c13b;
  --green-glow: rgba(116, 193, 59, 0.35);

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f4f7fb;
  --slate-100: #e6ecf4;
  --slate-300: #9fb0c7;
  --slate-400: #7787a0;
  --ink: #0a1626;

  /* Semantic */
  --bg: var(--navy-850);
  --bg-alt: var(--navy-800);
  --text: #eaf0f8;
  --text-dim: var(--slate-300);
  --accent: var(--green-500);
  --accent-bright: var(--green-400);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Instrument Serif", "Playfair Display", Georgia,
    "Times New Roman", serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 80px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 130px);
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.section--experience {
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}

.section--experience__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("../img/experience-bg.jpg") center center / cover no-repeat;
  background-attachment: fixed;
  will-change: background-position;
}

@media (max-width: 768px) {
  .section--experience__bg {
    background-attachment: scroll;
    background-size: cover;
  }
}

.section--experience__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.78) 50%,
      rgba(8, 21, 43, 0.9) 100%
    );
  pointer-events: none;
}

.section--experience .container {
  position: relative;
  z-index: 2;
}

.section--light {
  background: var(--off-white);
  color: var(--ink);
}

.section--light .text-dim {
  color: var(--slate-400);
}

.narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.text-dim {
  color: var(--text-dim);
}

.center {
  text-align: center;
}

/* ----------------------------- Typography ----------------------------- */
.display {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.h-xl {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.h-lg {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section--light .eyebrow {
  color: var(--green-600);
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--text-dim);
  line-height: 1.55;
}

.gradient-text {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.015em;
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #d8f4bc 14%,
    var(--green-400) 30%,
    var(--green-500) 46%,
    #eaf0f8 58%,
    var(--green-400) 72%,
    #b6e88a 86%,
    #ffffff 100%
  );
  background-size: 260% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradientMagic 5.5s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(116, 193, 59, 0.28));
}

.gradient-text::after {
  content: "";
  position: absolute;
  inset: -6% -4%;
  z-index: -1;
  background: radial-gradient(
    60% 80% at 50% 50%,
    rgba(116, 193, 59, 0.22),
    transparent 70%
  );
  opacity: 0.85;
  pointer-events: none;
  animation: gradientGlow 5.5s ease-in-out infinite;
}

@keyframes gradientMagic {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes gradientGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(120deg, var(--green-500), var(--green-400));
  color: #04230a;
  box-shadow: 0 10px 30px -10px var(--green-glow);
}

.btn--primary:hover {
  box-shadow: 0 16px 40px -12px var(--green-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--light {
  background: var(--navy-800);
  color: #fff;
}

.btn .arrow {
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.95rem;
}
.link-arrow svg {
  transition: transform 0.3s var(--ease-out);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ----------------------------- Header / Nav ----------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(8, 21, 43, 0.42);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background 0.45s var(--ease-out),
    backdrop-filter 0.45s var(--ease-out),
    -webkit-backdrop-filter 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    height 0.35s var(--ease-out);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 42%,
    transparent 100%
  );
  pointer-events: none;
}

.site-header.scrolled {
  background: rgba(8, 21, 43, 0.82);
  backdrop-filter: saturate(190%) blur(26px);
  -webkit-backdrop-filter: saturate(190%) blur(26px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 40px -16px rgba(0, 0, 0, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.brand__logo-wrap {
  position: relative;
  display: block;
  width: 210px;
  height: 56px;
  flex-shrink: 0;
}

.brand__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.35s var(--ease-out);
}

.brand__logo--green {
  opacity: 1;
}

.brand__logo--white {
  opacity: 0;
}

.brand:hover .brand__logo--green,
.site-header.scrolled .brand__logo--green {
  opacity: 0;
}

.brand:hover .brand__logo--white,
.site-header.scrolled .brand__logo--white {
  opacity: 1;
}

.site-header.scrolled .brand__logo-wrap {
  width: 178px;
  height: 48px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
  font-size: 0.95rem;
  position: relative;
}
.brand__mark span {
  color: #fff;
}
.brand__mark::after {
  content: "✓";
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 0.7rem;
  color: var(--green-400);
  font-weight: 900;
}

.brand__name {
  font-size: 1.05rem;
  line-height: 1;
}
.brand__name small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  margin-top: 4px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.nav__indicator {
  position: absolute;
  bottom: 2px;
  left: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  box-shadow: 0 0 12px rgba(116, 193, 59, 0.55);
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 0.38s var(--ease-out),
    width 0.38s var(--ease-out),
    opacity 0.25s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.nav__menu > li {
  position: relative;
  z-index: 1;
}

.nav__menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.nav__menu > li > a:hover,
.nav__item--has-mega:hover > a,
.nav__item--has-mega.is-open > a,
.nav__menu > li > a.is-active {
  color: #fff;
}

.nav__item--has-mega > a svg {
  transition: transform 0.35s var(--ease-out);
}

.nav__item--has-mega:hover > a svg,
.nav__item--has-mega.is-open > a svg {
  transform: rotate(180deg);
  color: var(--green-400);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__cta .btn--ghost {
  padding: 9px 14px;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn--nav-ghost {
  padding: 9px 14px;
  font-size: 0.8rem;
}

.btn--nav {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 24px -12px var(--green-glow);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

.btn--nav:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px -10px var(--green-glow);
}

.btn--nav-ghost:hover {
  border-color: rgba(116, 193, 59, 0.45);
  background: rgba(116, 193, 59, 0.1);
  transform: translateY(-1px);
}

.site-header.scrolled .btn--nav {
  padding: 9px 14px;
  font-size: 0.78rem;
}

/* Mega menu */
.nav__item--has-mega {
  position: relative;
}

.site-header:has(.nav__item--has-mega:hover)::after,
.site-header:has(.nav__item--has-mega.is-open)::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 20, 0.62);
  z-index: 999;
  pointer-events: none;
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(720px, 86vw);
  background: rgba(6, 16, 32, 0.98);
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  box-shadow:
    0 4px 0 rgba(116, 193, 59, 0.12),
    0 40px 90px -20px rgba(0, 0, 0, 0.92);
  z-index: 1100;
}

/* Invisible hover bridge — prevents gap from closing mega menu */
.nav__item--has-mega::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 18px;
  display: none;
}

.nav__item--has-mega:hover::before,
.nav__item--has-mega.is-open::before {
  display: block;
}

.nav__item--has-mega:hover .mega,
.nav__item--has-mega.is-open .mega,
.nav__item--has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  transition:
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    transform 0.35s var(--ease-out),
    opacity 0.35s var(--ease-out);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(10px);
}

.nav__item--has-mega:hover .mega a,
.nav__item--has-mega.is-open .mega a {
  opacity: 1;
  transform: translateY(0);
}

.nav__item--has-mega:hover .mega a:nth-child(1),
.nav__item--has-mega.is-open .mega a:nth-child(1) { transition-delay: 0.03s; }
.nav__item--has-mega:hover .mega a:nth-child(2),
.nav__item--has-mega.is-open .mega a:nth-child(2) { transition-delay: 0.06s; }
.nav__item--has-mega:hover .mega a:nth-child(3),
.nav__item--has-mega.is-open .mega a:nth-child(3) { transition-delay: 0.09s; }
.nav__item--has-mega:hover .mega a:nth-child(4),
.nav__item--has-mega.is-open .mega a:nth-child(4) { transition-delay: 0.12s; }
.nav__item--has-mega:hover .mega a:nth-child(5),
.nav__item--has-mega.is-open .mega a:nth-child(5) { transition-delay: 0.15s; }
.nav__item--has-mega:hover .mega a:nth-child(6),
.nav__item--has-mega.is-open .mega a:nth-child(6) { transition-delay: 0.18s; }
.nav__item--has-mega:hover .mega a:nth-child(7),
.nav__item--has-mega.is-open .mega a:nth-child(7) { transition-delay: 0.21s; }
.nav__item--has-mega:hover .mega a:nth-child(8),
.nav__item--has-mega.is-open .mega a:nth-child(8) { transition-delay: 0.24s; }
.nav__item--has-mega:hover .mega a:nth-child(9),
.nav__item--has-mega.is-open .mega a:nth-child(9) { transition-delay: 0.27s; }

.mega a:hover {
  background: rgba(116, 193, 59, 0.1);
  border-color: rgba(116, 193, 59, 0.28);
  transform: translateX(4px);
}

.mega a strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.25s;
}

.mega a:hover strong {
  color: var(--green-400);
}
.mega a span {
  font-size: 0.82rem;
  color: rgba(234, 240, 248, 0.72);
  line-height: 1.45;
}

/* Mobile nav */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.nav__toggle:hover {
  background: rgba(116, 193, 59, 0.14);
  border-color: rgba(116, 193, 59, 0.35);
  transform: scale(1.04);
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.nav.open .nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.open .nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  /* backdrop-filter creates a containing block that breaks position:fixed menus */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 21, 43, 0.96);
  }

  .site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav__toggle {
    display: flex;
    z-index: 1002;
    position: relative;
  }

  .nav.open::before {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(4, 10, 20, 0.55);
    z-index: 1000;
    pointer-events: none;
  }

  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--navy-900);
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    pointer-events: none;
    visibility: hidden;
  }

  .nav.open .nav__menu {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }

  .nav.open .nav__menu > li {
    opacity: 1;
    transform: none;
    animation: navItemIn 0.45s var(--ease-out) backwards;
  }
  .nav.open .nav__menu > li:nth-child(1) { animation-delay: 0.04s; }
  .nav.open .nav__menu > li:nth-child(2) { animation-delay: 0.08s; }
  .nav.open .nav__menu > li:nth-child(3) { animation-delay: 0.12s; }
  .nav.open .nav__menu > li:nth-child(4) { animation-delay: 0.16s; }
  .nav.open .nav__menu > li:nth-child(5) { animation-delay: 0.2s; }
  .nav.open .nav__menu > li:nth-child(6) { animation-delay: 0.24s; }
  .nav__indicator {
    display: none;
  }

  .nav__item--has-mega {
    width: 100%;
    max-width: 100%;
  }

  .nav__item--has-mega .mega,
  .nav__item--has-mega.is-open .mega,
  .nav__item--has-mega:hover .mega,
  .nav__item--has-mega:focus-within .mega {
    display: none;
    position: static;
    left: auto;
    top: auto;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__item--has-mega.is-open .mega {
    display: grid;
  }

  .nav__item--has-mega .mega a,
  .nav__item--has-mega.is-open .mega a,
  .nav__item--has-mega:hover .mega a {
    opacity: 1;
    transform: none !important;
    padding: 12px 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .nav__item--has-mega .mega a:hover {
    transform: none !important;
  }

  .nav__menu > li > a {
    font-size: 1.1rem;
    padding: 16px;
  }

  .mega {
    grid-template-columns: 1fr;
    background: rgba(6, 16, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    padding: 8px;
    margin-top: 4px;
    border-radius: 14px;
  }
  .nav__cta .btn--ghost {
    display: none;
  }
  .nav__cta .btn--nav {
    display: none;
  }
  .brand__logo-wrap {
    width: 156px;
    height: 42px;
  }
  .btn--nav {
    padding: 9px 12px;
    font-size: 0.72rem;
  }
}

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(8, 21, 43, 0.94) 0%,
      rgba(8, 21, 43, 0.82) 42%,
      rgba(8, 21, 43, 0.58) 100%
    ),
    linear-gradient(180deg, rgba(8, 21, 43, 0.35) 0%, rgba(8, 21, 43, 0.72) 100%);
  z-index: -1;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: var(--navy-900);
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 0.95s ease;
  will-change: opacity;
}

.hero__bg-video.is-active {
  opacity: 1;
}

.hero__video-bg.is-ready .hero__bg-video.is-active {
  opacity: 1;
}

.hero__video-bg.is-fallback .hero__bg-video {
  display: none;
}

.hero__video-bg.is-fallback,
.hero__video-bg.has-poster {
  background:
    url("../img/welcome-office.jpg") center center / cover no-repeat,
    var(--navy-900);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 80%);
  z-index: -2;
  opacity: 0.45;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero--video .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__stat {
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__stat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.hero__stat span {
  font-size: 0.82rem;
  color: var(--text-dim);
}


@media (max-width: 900px) {
  .hero__bg-video {
    object-position: center center;
  }

  .hero__bg {
    background:
      linear-gradient(
        180deg,
        rgba(8, 21, 43, 0.92) 0%,
        rgba(8, 21, 43, 0.78) 55%,
        rgba(8, 21, 43, 0.88) 100%
      );
  }

  .hero__stats {
    margin-top: 28px;
  }

  .hero__stat {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 56px;
  }

  .hero h1.display {
    font-size: clamp(2rem, 8.5vw, 2.85rem);
    line-height: 1.06;
    margin-bottom: 18px;
  }

  .hero .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.62;
    margin-bottom: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero__actions .btn {
    justify-content: center;
    width: 100%;
    padding: 13px 22px;
    font-size: 0.92rem;
  }

  .hero__scroll {
    display: none;
  }
}

.section-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.8s var(--ease-out);
}

.section-img:hover img {
  transform: scale(1.04);
}

.marquee-wrap {
  overflow: hidden;
  padding-block: 28px;
  border-block: 1px solid rgba(116, 193, 59, 0.22);
  background:
    linear-gradient(
      90deg,
      rgba(79, 146, 38, 0.12) 0%,
      rgba(116, 193, 59, 0.18) 50%,
      rgba(79, 146, 38, 0.12) 100%
    ),
    rgba(8, 21, 43, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(116, 193, 59, 0.12),
    inset 0 -1px 0 rgba(116, 193, 59, 0.08);
}

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

.marquee-track span {
  padding-inline: 48px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(
    120deg,
    rgba(182, 232, 138, 0.55) 0%,
    var(--green-400) 35%,
    var(--green-500) 65%,
    rgba(182, 232, 138, 0.5) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.92;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

[data-tilt] {
  transition: transform 0.35s var(--ease-out);
  transform-style: preserve-3d;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero .lead {
  max-width: 720px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--accent-bright), transparent);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ----------------------------- Cards / grids ----------------------------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s,
    background 0.4s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px 200px at var(--mx, 50%) var(--my, 0%),
    rgba(116, 193, 59, 0.16),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  border-color: rgba(116, 193, 59, 0.4);
}
.card:hover::before {
  opacity: 1;
}

.card__icon {
  --ix: 0deg;
  --iy: 0deg;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    145deg,
    rgba(116, 193, 59, 0.24),
    rgba(116, 193, 59, 0.08)
  );
  border: 1px solid rgba(116, 193, 59, 0.32);
  color: var(--accent-bright);
  margin-bottom: 24px;
  position: relative;
  isolation: isolate;
  transform-style: preserve-3d;
  transform: translateY(0) scale(1) rotateX(var(--ix)) rotateY(var(--iy));
  transition:
    transform 0.45s var(--ease-out),
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
  box-shadow: 0 14px 32px -18px rgba(116, 193, 59, 0.5);
}

.card__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 30% 25%,
    rgba(255, 255, 255, 0.22),
    transparent 55%
  );
  opacity: 0.7;
  pointer-events: none;
}

.card__icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 26px;
  border: 1px solid rgba(116, 193, 59, 0.45);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}

.card:hover .card__icon {
  transform: translateY(-6px) scale(1.08) rotateX(var(--ix)) rotateY(var(--iy));
  background: linear-gradient(
    145deg,
    rgba(116, 193, 59, 0.42),
    rgba(93, 165, 43, 0.2)
  );
  border-color: rgba(182, 232, 138, 0.65);
  box-shadow: 0 20px 40px -14px rgba(116, 193, 59, 0.62);
}

.card:hover .card__icon::after {
  opacity: 1;
  transform: scale(1.06);
}

.card:active .card__icon {
  transform: translateY(-3px) scale(1.04) rotateX(var(--ix)) rotateY(var(--iy));
}

.card__icon svg {
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 1;
  transition: transform 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}

.card:hover .card__icon svg {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(182, 232, 138, 0.45));
}

.card__icon--rupee {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-family: var(--font-sans);
  position: relative;
  z-index: 1;
  transition: transform 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}

.card:hover .card__icon--rupee {
  filter: drop-shadow(0 0 10px rgba(182, 232, 138, 0.45));
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-dim);
  font-size: 0.97rem;
  margin-bottom: 18px;
}

.card--light {
  background: #fff;
  border-color: rgba(10, 26, 51, 0.08);
  box-shadow: 0 18px 40px -28px rgba(10, 26, 51, 0.4);
}
.card--light h3 {
  color: var(--ink);
}
.card--light p {
  color: var(--slate-400);
}

/* ----------------------------- Counters ----------------------------- */
.counters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .counters {
    grid-template-columns: repeat(2, 1fr);
  }
}
.counter {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    background 0.5s var(--ease-out);
}

.counter.is-counting {
  transform: translateY(-4px);
  border-color: rgba(116, 193, 59, 0.28);
  background: rgba(116, 193, 59, 0.06);
  box-shadow: 0 16px 36px -22px rgba(116, 193, 59, 0.45);
}

.counter.is-counted {
  border-color: rgba(116, 193, 59, 0.35);
  background: rgba(116, 193, 59, 0.08);
  box-shadow: 0 18px 40px -20px rgba(116, 193, 59, 0.5);
}

.counter__num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  min-height: 1.1em;
}

.counter__num [data-count] {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, var(--green-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.counter.is-counted .counter__num [data-count] {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(116, 193, 59, 0.35));
}

.counter__num .suffix {
  color: var(--accent-bright);
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.counter.is-counted .counter__num .suffix {
  opacity: 1;
  transform: translateY(0);
}
.counter__label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ----------------------------- Feature list ----------------------------- */
.checklist {
  display: grid;
  gap: 14px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.checklist .tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(116, 193, 59, 0.32),
    rgba(116, 193, 59, 0.14)
  );
  border: 1px solid rgba(116, 193, 59, 0.45);
  color: var(--accent-bright);
  margin-top: 2px;
  box-shadow: 0 0 10px rgba(116, 193, 59, 0.35);
  animation: checklist-tick-glow 3.2s ease-in-out infinite;
}

.checklist .tick::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(116, 193, 59, 0.45);
  animation: checklist-tick-ring 3.2s ease-out infinite;
  pointer-events: none;
}

.checklist .tick svg {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
}

.checklist li:nth-child(1) .tick,
.checklist li:nth-child(1) .tick::after { animation-delay: 0s; }
.checklist li:nth-child(2) .tick,
.checklist li:nth-child(2) .tick::after { animation-delay: 0.35s; }
.checklist li:nth-child(3) .tick,
.checklist li:nth-child(3) .tick::after { animation-delay: 0.7s; }
.checklist li:nth-child(4) .tick,
.checklist li:nth-child(4) .tick::after { animation-delay: 1.05s; }
.checklist li:nth-child(5) .tick,
.checklist li:nth-child(5) .tick::after { animation-delay: 1.4s; }
.checklist li:nth-child(6) .tick,
.checklist li:nth-child(6) .tick::after { animation-delay: 1.75s; }
.checklist li:nth-child(7) .tick,
.checklist li:nth-child(7) .tick::after { animation-delay: 2.1s; }
.checklist li:nth-child(8) .tick,
.checklist li:nth-child(8) .tick::after { animation-delay: 2.45s; }

.checklist li:hover .tick {
  animation-play-state: paused;
  box-shadow: 0 0 20px rgba(116, 193, 59, 0.75);
  transform: scale(1.08);
}

.checklist li:hover .tick::after {
  animation-play-state: paused;
}

@keyframes checklist-tick-glow {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(116, 193, 59, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(116, 193, 59, 0.7);
    transform: scale(1.07);
  }
}

@keyframes checklist-tick-ring {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checklist .tick,
  .checklist .tick::after {
    animation: none;
  }
}

/* Pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  --px: 0px;
  --py: 0px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(116, 193, 59, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.35;
  color: var(--text-dim);
  text-align: left;
  transition:
    border-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
  isolation: isolate;
}

.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.16) 50%,
    transparent 72%
  );
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.pill::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(182, 232, 138, 0.45);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
}

.pill:hover {
  border-color: rgba(116, 193, 59, 0.55);
  color: #fff;
  transform: translateY(-3px) translate(var(--px), var(--py)) scale(1.04);
  box-shadow: 0 14px 30px -14px rgba(116, 193, 59, 0.55);
  background: rgba(116, 193, 59, 0.14);
}

.pill:hover::before {
  transform: translateX(130%);
}

.pill.is-active {
  border-color: var(--green-400);
  color: #04230a;
  background: linear-gradient(120deg, var(--green-500), var(--green-400));
  box-shadow: 0 16px 34px -12px rgba(116, 193, 59, 0.65);
  transform: translateY(-2px) scale(1.03);
}

.pill.is-active::after {
  opacity: 1;
  transform: scale(1.02);
}

.pill:active {
  transform: translateY(0) scale(0.98);
}

.pill:focus-visible {
  outline: 2px solid var(--green-400);
  outline-offset: 3px;
}

.pills.is-visible .pill:nth-child(3n + 1) {
  transition-delay: 0.02s;
}

.pills.is-visible .pill:nth-child(3n + 2) {
  transition-delay: 0.05s;
}

.pills.is-visible .pill:nth-child(3n) {
  transition-delay: 0.08s;
}

/* ----------------------------- FAQ accordion ----------------------------- */
.faq {
  display: grid;
  gap: 14px;
}
.faq__item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.section--light .faq__item {
  border-color: rgba(10, 26, 51, 0.1);
  background: #fff;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq__q .icon {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s var(--ease-out);
}
.faq__q .icon::before,
.faq__q .icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--accent);
  transition: transform 0.4s var(--ease-out);
}
.faq__q .icon::after {
  transform: rotate(90deg);
}
.faq__item.open .faq__q .icon::after {
  transform: rotate(0);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.faq__a-inner {
  padding: 0 24px 24px;
  color: var(--text-dim);
}
.section--light .faq__a-inner {
  color: var(--slate-400);
}

/* ----------------------------- Split / media ----------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.media-frame img {
  width: 100%;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(8, 21, 43, 0.5));
}

/* ----------------------------- CTA band ----------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(116, 193, 59, 0.2);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, var(--green-glow), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.cta-band--photo {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/about-cta-bg.jpg") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--photo::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--photo > * {
  position: relative;
  z-index: 1;
}

.cta-band--audit {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/audit-cta-bg.jpg?v=1") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--audit::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--audit > * {
  position: relative;
  z-index: 1;
}

.cta-band--litigation {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/litigation-cta-bg.jpg?v=1") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--litigation::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--litigation > * {
  position: relative;
  z-index: 1;
}

.cta-band--bpo {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/bpo-cta-bg.jpg?v=2") center 28% / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--bpo::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--bpo > * {
  position: relative;
  z-index: 1;
}

.cta-band--internal {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/internal-controls-cta-bg.jpg?v=1") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--internal::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--internal > * {
  position: relative;
  z-index: 1;
}

.cta-band--startup {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/startup-cta-bg.jpg?v=1") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--startup::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--startup > * {
  position: relative;
  z-index: 1;
}

.cta-band--tax {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/tax-advisory-cta-bg.jpg?v=1") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--tax::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--tax > * {
  position: relative;
  z-index: 1;
}

.cta-band--capital {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/capital-cta-bg.jpg?v=1") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--capital::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--capital > * {
  position: relative;
  z-index: 1;
}

.cta-band--management {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/management-cta-bg.jpg?v=1") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--management::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--management > * {
  position: relative;
  z-index: 1;
}

.cta-band--corporate {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.9) 0%,
      rgba(8, 21, 43, 0.74) 48%,
      rgba(8, 21, 43, 0.88) 100%
    ),
    url("../img/corporate-cta-bg.jpg?v=1") center center / cover no-repeat;
  border-color: rgba(116, 193, 59, 0.28);
}

.cta-band--corporate::before {
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 85% 15%, rgba(116, 193, 59, 0.18), transparent 50%);
  filter: none;
}

.cta-band--corporate > * {
  position: relative;
  z-index: 1;
}

.cta-band__icon {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
}

.cta-band__icon-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  color: #fff;
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(116, 193, 59, 0.95) 0%,
    rgba(79, 146, 38, 0.92) 100%
  );
  border: 1px solid rgba(182, 232, 138, 0.4);
  box-shadow:
    0 16px 32px -16px rgba(116, 193, 59, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: cta-icon-gentle-float 6.5s ease-in-out infinite;
  transition: box-shadow 0.35s var(--ease-out);
}

.cta-band__icon-face::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 28px;
  border: 1px solid rgba(116, 193, 59, 0.28);
  opacity: 0.5;
  animation: cta-icon-gentle-ring 6.5s ease-in-out infinite;
  pointer-events: none;
}

.cta-band:hover .cta-band__icon-face {
  animation-play-state: paused;
  transform: translateY(-3px);
  box-shadow:
    0 20px 36px -14px rgba(116, 193, 59, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cta-band:hover .cta-band__icon-face::after {
  animation-play-state: paused;
}

@keyframes cta-icon-gentle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes cta-icon-gentle-ring {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-band__icon-face,
  .cta-band__icon-face::after {
    animation: none;
  }
}

.cta-band__icon-face svg {
  width: 40px;
  height: 40px;
}

/* ----------------------------- Page hero (interior) ----------------------------- */
.page-hero {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 80% at 70% 0%, rgba(27, 55, 96, 0.8), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-850));
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero--team .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/team-hero.jpg") center center / cover no-repeat;
}

.page-hero--about .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/about-hero.jpg") center center / cover no-repeat;
}

.page-hero--audit .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/audit-hero.jpg?v=2") center center / cover no-repeat;
}

.page-hero--litigation .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/litigation-hero.jpg?v=1") center center / cover no-repeat;
}

.page-hero--bpo .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/bpo-hero.jpg?v=2") center center / cover no-repeat;
}

.page-hero--internal .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/internal-controls-hero.jpg?v=1") center center / cover no-repeat;
}

.page-hero--startup .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/startup-hero.jpg?v=1") center center / cover no-repeat;
}

.page-hero--tax .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/tax-advisory-hero.jpg?v=1") center center / cover no-repeat;
}

.page-hero--capital .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/capital-hero.jpg?v=1") center center / cover no-repeat;
}

.page-hero--management .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/management-hero.jpg?v=1") center center / cover no-repeat;
}

.page-hero--corporate .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/corporate-hero.jpg?v=1") center center / cover no-repeat;
}

.page-hero--blog .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.92) 0%,
      rgba(8, 21, 43, 0.78) 45%,
      rgba(8, 21, 43, 0.55) 100%
    ),
    url("../img/blog-hero.jpg?v=1") center center / cover no-repeat;
}

.page-hero--contact .page-hero__bg {
  background:
    linear-gradient(
      115deg,
      rgba(8, 21, 43, 0.88) 0%,
      rgba(8, 21, 43, 0.62) 45%,
      rgba(8, 21, 43, 0.35) 100%
    ),
    url("../img/contact-hero.jpg?v=2") center 40% / cover no-repeat;
}

.page-hero--team,
.page-hero--about,
.page-hero--audit,
.page-hero--litigation,
.page-hero--bpo,
.page-hero--internal,
.page-hero--startup,
.page-hero--tax,
.page-hero--capital,
.page-hero--management,
.page-hero--corporate,
.page-hero--blog,
.page-hero--contact {
  min-height: clamp(420px, 52vh, 620px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(56px, 7vw, 88px);
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.breadcrumb a:hover {
  color: var(--accent-bright);
}

/* ----------------------------- Prose (blog/legal) ----------------------------- */
.prose {
  max-width: 760px;
  margin-inline: auto;
}
.prose h2 {
  font-size: 1.7rem;
  margin: 1.8em 0 0.6em;
}
.prose h3 {
  font-size: 1.25rem;
  margin: 1.5em 0 0.5em;
  color: var(--accent-bright);
}
.prose p,
.prose li {
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.75;
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin: 0 0 1.4em;
  display: grid;
  gap: 10px;
}
.prose ul li {
  list-style: disc;
}
.prose ol li {
  list-style: decimal;
}
.prose strong {
  color: #fff;
}

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: 70px 36px;
}

.site-footer .brand--footer {
  display: inline-flex;
}

.site-footer .brand__logo--green {
  opacity: 0;
}

.site-footer .brand__logo--white {
  opacity: 1;
}

.site-footer .brand--footer:hover .brand__logo--green {
  opacity: 1;
}

.site-footer .brand--footer:hover .brand__logo--white {
  opacity: 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}
.footer__col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  color: var(--slate-300);
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 0.25s;
}
.footer__col a:hover {
  color: var(--accent-bright);
}
.footer__addr {
  font-size: 0.92rem;
  color: var(--slate-300);
  line-height: 1.7;
}
.footer__bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--slate-400);
}

.footer__bottom a {
  color: var(--slate-300);
  text-decoration: none;
  transition: color 0.25s;
}

.footer__bottom a:hover {
  color: var(--accent-bright);
}
.footer__disclaimer {
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--slate-400);
  line-height: 1.6;
  max-width: 900px;
}

/* ----------------------------- Forms ----------------------------- */
.form {
  display: grid;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}
.field select option {
  background: var(--navy-800);
}
.form__note {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ----------------------------- WhatsApp float ----------------------------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  z-index: 900;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  animation: whatsapp-gentle-float 5.5s ease-in-out infinite;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.55);
  animation: whatsapp-glow 3s ease-in-out infinite;
  pointer-events: none;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: whatsapp-ring 3s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  animation-play-state: paused;
  box-shadow: 0 16px 36px -6px rgba(37, 211, 102, 0.75);
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
  animation-play-state: paused;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes whatsapp-gentle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes whatsapp-glow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes whatsapp-ring {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  70%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float::before,
  .whatsapp-float::after {
    animation: none;
  }
}

/* ----------------------------- Reveal animations ----------------------------- */
/* Content stays visible until JS boots — avoids a blank page if scripts fail */
body.srjn-js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
body.srjn-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
body.srjn-js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
body.srjn-js [data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

.marquee {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.06);
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-track {
    animation: none;
  }
  .hero__bg-video {
    display: none;
  }
  .hero__video-bg.has-poster,
  .hero__video-bg.is-fallback {
    display: block;
  }
  @media (max-width: 980px) {
    .nav.open .nav__menu > li {
      opacity: 1 !important;
      transform: none !important;
      animation: none !important;
    }
  }
  .gradient-text,
  .gradient-text::after {
    animation: none !important;
  }
  .gradient-text {
    background-position: 40% 50%;
  }
}

/* ----------------------------- Mobile refinements ----------------------------- */
@media (min-width: 981px) {
  .nav__menu .nav__mobile-actions {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .nav__menu .nav__mobile-actions {
    display: none;
  }

  .nav.open .nav__menu .nav__mobile-actions {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__mobile-actions .btn {
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    font-size: 0.92rem;
  }

  .nav__cta {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .container,
  .hero--video .container,
  .nav {
    padding-inline: 18px;
  }

  .brand__logo-wrap {
    width: 128px;
    height: 34px;
  }

  .display {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
    line-height: 1.08;
  }

  .hero h1.display br {
    display: none;
  }

  .h-xl {
    font-size: clamp(1.65rem, 6.5vw, 2rem);
  }

  .h-lg {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
  }

  .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }

  .section {
    padding-block: clamp(48px, 11vw, 72px);
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 36px;
  }

  .page-hero--team,
  .page-hero--about,
  .page-hero--audit,
  .page-hero--litigation,
  .page-hero--bpo,
  .page-hero--internal,
  .page-hero--startup,
  .page-hero--tax,
  .page-hero--capital,
  .page-hero--management,
  .page-hero--corporate,
  .page-hero--blog,
  .page-hero--contact {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .hero__stat {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
  }

  .card {
    padding: 22px 20px;
  }

  .card h3 {
    font-size: 1.05rem;
  }

  .cta-band {
    padding: clamp(28px, 7vw, 40px) 22px;
  }

  .cta-band .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions .btn--ghost {
    padding: 12px 20px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .marquee-wrap {
    padding-block: 12px;
  }

  .marquee-track span {
    font-size: 0.78rem;
    padding-inline: 14px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .split {
    gap: 28px;
  }
}
