/* Legal Framework & Co. — Axiom-inspired corporate legal theme */

:root {
  --navy-950: #0a1628;
  --navy-900: #0f2240;
  --navy-800: #163056;
  --navy-700: #1e4070;
  --navy-600: #2a5494;
  --slate-100: #f4f6f9;
  --slate-200: #e8ecf2;
  --slate-300: #c5cdd9;
  --slate-500: #6b7a8f;
  --slate-700: #3d4a5c;
  --white: #ffffff;
  --accent: #c9a227;
  --accent-hover: #b08e1f;
  --font-sans: "Times New Roman", Times, "Liberation Serif", serif;
  --font-serif: "Times New Roman", Times, "Liberation Serif", serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --header-h: 88px;
  --container: min(1140px, calc(100% - 2.5rem));
  --transition: 0.2s ease;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.nav-backdrop {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--navy-900);
}

a.btn {
  text-decoration: none;
}

a.btn:hover {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--navy-950);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--navy-700);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  display: inline-block;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.22), rgba(201, 162, 39, 0.06));
  padding: 0.45rem 1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 1rem;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.12);
}

.eyebrow-light {
  color: var(--accent);
  background: rgba(201, 162, 39, 0.18);
  border-left-color: var(--accent);
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.2);
}

.section-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--slate-500);
  max-width: 42rem;
}

.split-content .p-lead-word {
  font-size: 1.35em;
  font-weight: inherit;
  color: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-primary,
a.btn-primary,
button.btn-primary {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white) !important;
  border-color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(15, 34, 64, 0.2);
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-color: var(--navy-950);
  color: var(--white) !important;
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn {
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 34, 64, 0.25);
}

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

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  [data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  body.is-loaded .hero-content[data-animate] {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* Nav drawer (mobile) — hidden on desktop */
.nav-drawer-header,
.nav-drawer-tagline,
.nav-close,
.nav-link-icon {
  display: none;
}

.logo-mark-sm {
  width: 36px;
  height: 36px;
  font-size: 0.6875rem;
}

/* Header */
.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-top.is-scrolled .site-header {
  border-color: var(--slate-200);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  align-content: center;
  gap: 0.65rem;
  height: 100%;
  max-height: var(--header-h);
  color: var(--navy-950);
  text-decoration: none;
}

.logo--stacked {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding-block: 0.35rem;
  text-align: center;
}

.logo--mark-only {
  gap: 0;
  padding: 0;
}

.site-header .logo--mark-only .logo-image-wrap {
  height: calc(var(--header-h) - 8px);
  width: auto;
}

.site-header .logo:not(.logo--mark-only) .logo-image-wrap {
  height: calc(var(--header-h) - 12px);
  max-height: 68px;
}

.site-header .logo:not(.logo--mark-only) .logo-image {
  max-height: calc(var(--header-h) - 12px);
  max-width: min(200px, 40vw);
  height: 100%;
  width: auto;
}

.site-header .logo--mark-only .logo-image {
  max-height: calc(var(--header-h) - 8px);
  max-width: min(240px, 50vw);
  height: 100%;
  width: auto;
}

.logo:hover {
  color: var(--navy-950);
}

.logo-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: calc(var(--header-h) - 14px);
  max-height: 64px;
}

.site-header .logo--stacked .logo-image-wrap {
  height: auto;
  max-height: none;
  width: 100%;
}

.logo-image {
  display: block;
  height: 100%;
  width: auto;
  max-height: calc(var(--header-h) - 14px);
  max-width: min(200px, 38vw);
  object-fit: contain;
  object-position: center center;
}

.site-header .logo--stacked .logo-image {
  height: auto;
  max-height: 76px;
  max-width: min(300px, 72vw);
  width: auto;
}

.site-header .logo--stacked .logo-text {
  align-items: center;
  text-align: center;
  line-height: 1.1;
}

.site-header .logo--stacked .logo-text strong {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.site-header .logo--stacked .logo-text span {
  font-size: 0.75rem;
}

.logo-image-sm {
  max-height: 48px;
  max-width: 160px;
}

.logo-footer.logo,
.logo.logo-footer {
  align-items: center;
  height: auto;
}

.logo-footer .logo-image-wrap {
  height: 72px;
  max-height: none;
}

.logo-image-footer {
  height: 100%;
  max-height: 72px;
  max-width: 260px;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  line-height: 1.15;
  font-size: 1rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.site-header .logo-text strong {
  font-size: clamp(1.125rem, 2.5vw, 1.3125rem);
}

.site-header .logo-text span {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
}

.logo-text strong {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy-950);
  line-height: 1.2;
}

.logo-text span {
  color: var(--slate-500);
  font-size: 0.9375rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).is-active {
  color: var(--navy-900);
}

.site-nav .nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
  background: linear-gradient(165deg, var(--slate-100) 0%, var(--white) 45%, var(--slate-100) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(30, 64, 112, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: start;
}

.hero-content {
  max-width: 38rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.hero-actions .btn {
  min-height: 3rem;
  padding-inline: 1.75rem;
  flex: 0 0 auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.stat-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 34, 64, 0.12), 0 0 0 1px rgba(201, 162, 39, 0.15);
}

.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* Serving sectors rotator */
.sectors-banner {
  --sector-row: 4.25rem;
  position: relative;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  color: var(--white);
  overflow: hidden;
}

.sectors-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 50%, rgba(42, 84, 148, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

.sectors-banner-inner {
  position: relative;
}

.sectors-banner .section-header {
  margin-bottom: 0;
}

.sectors-banner .section-header .eyebrow {
  margin-bottom: 0.75rem;
}

.sectors-banner .section-lead,
.sectors-banner .sectors-tagline {
  color: var(--slate-300);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.sectors-rotator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
}

.sectors-rotator-prefix {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: var(--slate-300);
  font-weight: 500;
  line-height: 1.4;
}

.sectors-carousel {
  width: 100%;
  height: var(--sector-row);
  overflow: hidden;
}

.sectors-track {
  display: flex;
  flex-direction: column;
  animation: sectors-rotate var(--sector-cycle, 17.5s) steps(var(--sector-count, 7), end) infinite;
  will-change: transform;
}

.sectors-slide {
  flex: 0 0 var(--sector-row);
  min-height: var(--sector-row);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0.15rem 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
  background: linear-gradient(120deg, var(--white) 0%, var(--accent) 55%, #f5e6b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

@keyframes sectors-rotate {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-1 * var(--sector-row) * var(--sector-count, 7)));
  }
}

.sectors-progress {
  position: relative;
  max-width: 20rem;
  margin: 1.25rem auto 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.sectors-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #f5e6b8);
  border-radius: 99px;
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
  animation: sectors-progress var(--sector-cycle, 17.5s) linear infinite;
}

@keyframes sectors-progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sectors-track {
    animation: none;
    transform: none;
  }

  .sectors-carousel {
    height: auto;
  }

  .sectors-slide {
    display: none;
    flex: none;
    min-height: auto;
    padding: 0.5rem 1rem;
  }

  .sectors-slide:first-child {
    display: flex;
  }

  .sectors-progress-bar {
    width: 100%;
    animation: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-dark {
  background: var(--navy-950);
  color: var(--slate-300);
}

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

.section-dark .section-lead {
  color: var(--slate-300);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  position: relative;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.section-header.center {
  text-align: center;
}

.section-header.center h2::after {
  margin-inline: auto;
}

.section-header.center .section-lead {
  margin-inline: auto;
}

.split-section {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

/* Mission card */
.mission-card {
  margin: 0;
  padding: 2rem;
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--slate-200);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mission-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.mission-card footer p {
  font-size: 0.9375rem;
  color: var(--slate-300);
  margin: 0;
}

/* Feature cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: rgba(201, 162, 39, 0.15);
  color: var(--accent);
  border-radius: var(--radius);
}

/* Service list */
.service-list {
  display: grid;
  gap: 0.75rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.0625rem;
}

@media (min-width: 640px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.service-list li:hover {
  background: rgba(201, 162, 39, 0.08);
}

.service-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  background: var(--accent);
  border-radius: 50%;
}

/* Expertise */
.expertise-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.expertise-block {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--navy-600);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.expertise-block:hover {
  border-top-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.expertise-block ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
}

.expertise-block li {
  margin-bottom: 0.5rem;
}

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

/* CTA panel */
.section-cta {
  padding: 0;
}

.cta-panel {
  display: grid;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block: 5rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .cta-panel {
    grid-template-columns: 1.4fr 1fr;
  }
}

.cta-content {
  padding: 3rem 2.5rem;
}

.cta-content h2 {
  color: var(--white);
}

.cta-content p {
  color: var(--slate-300);
}

.cta-benefits {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.cta-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.cta-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
}

.cta-stat {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-stat span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
}

.cta-stat small {
  font-size: 0.8125rem;
  color: var(--slate-300);
}

/* Team */
.section-team {
  background: var(--slate-100);
}

/* Team carousel — 1 card mobile, 3 cards desktop */
.team-slider {
  --team-per-view: 1;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
}

.team-slider-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.team-slider-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.team-slider-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.45s ease;
  will-change: transform;
}

.team-slider-slide {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  width: var(--team-slide-width, 100%);
  min-width: var(--team-slide-width, 100%);
  box-sizing: border-box;
  padding: 0 0.375rem;
}

@media (min-width: 900px) {
  .team-slider {
    --team-per-view: 3;
    max-width: none;
  }

  .team-slider-slide {
    padding: 0 0.625rem;
  }
}

.team-slider-slide .team-card {
  width: 100%;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 26rem;
}

.team-slider-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

@media (max-width: 899px) {
  .team-slider-arrow {
    width: 3rem;
    height: 3rem;
  }
}

.team-slider-arrow:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.team-slider-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.team-slider-arrow:active {
  transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .team-slider-track {
    transition: none;
  }
}

/* Team cards (carousel) */
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--white) 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow:
    0 4px 20px rgba(10, 22, 40, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #e8d48a, var(--accent));
  z-index: 1;
}

.team-card-leader::before {
  background: linear-gradient(90deg, var(--accent), #e8d48a, var(--accent));
}

.team-slider-slide .team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow:
    0 16px 40px rgba(10, 22, 40, 0.12),
    0 0 0 1px rgba(201, 162, 39, 0.15);
}

.team-card-badge {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 3;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: var(--accent);
  color: var(--navy-950);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.45);
}

.team-card-photo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11.5rem;
  padding: 1.75rem 1.25rem 1.25rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(201, 162, 39, 0.15) 0%, transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
}

.team-card-photo,
.team-card-placeholder {
  width: 128px;
  height: 128px;
  margin: 0 auto;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(255, 255, 255, 0.15);
}

.team-card-leader .team-card-photo,
.team-card-leader .team-card-placeholder {
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 3px var(--accent);
}

.team-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.team-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.5rem;
  text-align: center;
}

.team-card-meta {
  flex-shrink: 0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.team-card-name {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.4rem;
  color: var(--navy-950);
}

.team-card-credentials {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-600);
  margin: 0 0 0.65rem;
}

.team-card-designation {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-800);
  background: rgba(201, 162, 39, 0.2);
  border-color: rgba(201, 162, 39, 0.35);
  border-radius: 99px;
}

.team-card-leader .team-card-designation {
  color: var(--navy-950);
  background: rgba(201, 162, 39, 0.2);
  border-color: rgba(201, 162, 39, 0.35);
}

.team-card-bio {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.65;
  text-align: left;
}

/* Founder declaration */
.section-founder {
  padding-top: 0;
}

.founder-declaration {
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--slate-200);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.founder-declaration h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.founder-declaration-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-300);
  margin-bottom: 1.25rem;
}

.founder-declaration-body p:last-child {
  margin-bottom: 0;
}

.founder-declaration-closing {
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
}

.founder-declaration-sign {
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.founder-declaration-sign strong {
  display: block;
  color: var(--accent);
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
}

.founder-declaration-sign span {
  font-size: 0.875rem;
  color: var(--slate-300);
}

/* Contact */
.section-contact {
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-details {
  margin: 2rem 0 0;
}

.contact-details div {
  margin-bottom: 1.25rem;
}

.contact-details dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 0.25rem;
}

.contact-details dd {
  margin: 0;
  font-weight: 500;
  color: var(--navy-950);
}

.contact-form {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 0.375rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30, 64, 112, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-message {
  position: relative;
  padding: 1rem 2.5rem 1rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.form-message p {
  margin: 0;
}

.form-message-title {
  font-weight: 700;
  margin-bottom: 0.35rem !important;
}

.form-message-dismiss {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition), background var(--transition);
}

.form-message-dismiss:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.form-message-success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-message-success .form-message-dismiss {
  color: #1b5e20;
}

.form-message-error a {
  color: #b71c1c;
  font-weight: 600;
  text-decoration: underline;
}

.form-message-error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

.form-message-error .form-message-dismiss {
  color: #b71c1c;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding-top: 4rem;
}

.site-footer a {
  color: var(--slate-200);
}

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

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.logo-footer .logo-text strong {
  color: var(--white);
}

.nav-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-tagline {
  margin: 1rem 0;
  font-size: 0.9375rem;
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--slate-500);
  max-width: 28rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.footer-bottom p {
  margin: 0;
}

.footer-sep {
  margin: 0 0.5rem;
  color: var(--slate-500);
}

/* Desktop nav (ensure mobile drawer styles do not leak) */
@media (min-width: 901px) {
  .site-nav {
    position: static;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    height: auto;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .site-nav-list {
    flex: none;
    overflow: visible;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
  }

  .site-nav .nav-cta {
    margin: 0;
    width: auto;
  }

  .nav-backdrop {
    display: none !important;
  }

  .nav-drawer-header,
  .nav-drawer-tagline,
  .nav-close,
  .nav-link-icon {
    display: none !important;
  }
}

/* Mobile & tablet */
@media (max-width: 900px) {
  :root {
    --container: min(1140px, calc(100% - 1.5rem));
    --header-h: 72px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .section {
    padding: 3rem 0;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(10, 22, 40, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(4px);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1003;
  }

  body.nav-open .nav-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .nav-toggle span {
    transition: transform var(--transition), opacity var(--transition);
  }

  .header-inner {
    position: relative;
    z-index: 1003;
  }

  .nav-drawer-header,
  .nav-close {
    display: flex;
  }

  .nav-drawer-tagline {
    display: block;
  }

  .nav-link-icon {
    display: block;
  }

  .nav-drawer-header {
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 0.75rem;
    flex-shrink: 0;
  }

  .nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
  }

  .nav-drawer-tagline {
    display: block;
    margin: 0;
    padding: 0 1.25rem 1rem;
    font-size: 0.8125rem;
    color: var(--slate-300);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    transition: background var(--transition);
  }

  .nav-close:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(340px, 92vw);
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    padding-top: env(safe-area-inset-top, 0);
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
    border-left: 1px solid rgba(201, 162, 39, 0.2);
    box-shadow: -12px 0 48px rgba(10, 22, 40, 0.35);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
    overflow: hidden;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
  }

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

  .site-nav-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-nav li {
    border: none;
  }

  .site-nav a:not(.btn) {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition), padding-left 0.25s ease;
  }

  .site-nav a:not(.btn):hover,
  .site-nav a:not(.btn).is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    padding-left: 1.25rem;
  }

  .site-nav a:not(.btn).is-active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--accent);
  }

  .nav-link-icon {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity var(--transition), transform var(--transition);
  }

  .site-nav a:not(.btn).is-active .nav-link-icon,
  .site-nav a:not(.btn):hover .nav-link-icon {
    opacity: 1;
    transform: scale(1.2);
  }

  .site-nav .nav-cta {
    flex-shrink: 0;
    margin: 0.75rem 1.25rem max(1.25rem, env(safe-area-inset-bottom));
    width: calc(100% - 2.5rem);
    justify-content: center;
    background: var(--accent);
    border-color: var(--accent);
    color: var(--navy-950) !important;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.25);
  }

  .site-nav .nav-cta:hover {
    background: #f5e6b8;
    border-color: #f5e6b8;
    color: var(--navy-950) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
  }

  .header-inner {
    gap: 0.75rem;
  }

  .logo {
    min-width: 0;
    flex: 1;
  }

  .hero {
    padding: calc(var(--header-h) + 2rem) 0 3rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 10.5rem;
    max-width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem 0.75rem;
  }

  .stat-value {
    font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .team-slider-slide .team-card {
    min-height: 24rem;
  }

  .team-card-photo-wrap {
    min-height: 10.5rem;
    padding: 1.5rem 1rem 1rem;
  }

  .team-card-photo,
  .team-card-placeholder {
    width: 112px;
    height: 112px;
    font-size: 1.375rem;
  }

  .sectors-banner {
    --sector-row: 5rem;
    padding: 1.75rem 0;
  }

  .sectors-slide {
    font-size: clamp(1.125rem, 4.5vw, 1.625rem);
    padding-inline: 0.5rem;
  }

  .sectors-progress {
    max-width: 14rem;
    margin-top: 1rem;
  }

  .mission-card {
    padding: 1.5rem;
  }

  .mission-quote {
    font-size: 1.25rem;
  }

  .split-section {
    gap: 2rem;
  }

  .founder-declaration {
    padding: 1.5rem;
  }

  .cta-panel {
    margin-block: 3rem;
    border-radius: var(--radius);
  }

  .cta-content {
    padding: 2rem 1.25rem;
  }

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

  .cta-visual {
    padding: 1.25rem;
  }

  .expertise-block {
    padding: 1.25rem;
  }

  .expertise-block ul {
    padding-left: 1.125rem;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .contact-grid {
    gap: 2rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .footer-grid {
    text-align: left;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(1140px, calc(100% - 1rem));
  }

  h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  h3 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }

  .site-header .logo .logo-image {
    max-height: calc(var(--header-h) - 12px);
    max-width: min(180px, 45vw);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    flex: 1 1 auto;
  }

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

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 0.6875rem;
  }

  .site-header .logo-text strong {
    font-size: 1.0625rem;
  }

  .site-header .logo-text span {
    font-size: 0.875rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .service-list {
    font-size: 1rem;
  }

  .service-list li {
    padding: 0.65rem;
  }
}
