:root {
  --navy: #0c1a2b;
  --navy-mid: #152a42;
  --slate: #4a5f73;
  --slate-light: #8a9bab;
  --gold: #b8954a;
  --gold-light: #d4b872;
  --cream: #f6f4ef;
  --white: #ffffff;
  --border: rgba(12, 26, 43, 0.1);
  --shadow: 0 24px 64px rgba(12, 26, 43, 0.12);
  --shadow-sm: 0 8px 24px rgba(12, 26, 43, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max-width: 1200px;
  --header-height: 96px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.section {
  padding: 5.5rem 0;
}

.section--dark {
  background: var(--navy);
  color: var(--cream);
}

.section--white {
  background: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section--dark .section-label {
  color: var(--gold-light);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  height: 100%;
  max-width: min(560px, 58vw);
  padding: 10px 0;
  box-sizing: border-box;
}

.logo-img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1;
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.logo-parent {
  font-size: 0.7rem;
  color: var(--slate-light);
  margin-top: 0.15rem;
}

.logo-parent a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 4px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

.nav-dropdown-menu a:hover {
  background: var(--cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

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

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

.btn-outline-light {
  border-color: var(--cream);
  color: var(--cream);
}

.btn-outline-light:hover {
  background: var(--cream);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 26, 43, 0.92) 0%, rgba(12, 26, 43, 0.65) 45%, rgba(12, 26, 43, 0.35) 100%),
    url("../images/hero-clubhouse-pool.jpg") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 5rem;
  max-width: 720px;
  color: var(--cream);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(246, 244, 239, 0.9);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats > div {
  text-align: center;
  padding: 0 0.5rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-value::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold-light);
  opacity: 0.4;
  margin: 0.5rem auto 0;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(246, 244, 239, 0.75);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Grid cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--slate);
  flex: 1;
  font-size: 0.95rem;
}

.service-card .link-arrow {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.process-step h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(246, 244, 239, 0.75);
}

/* Differentiators */
.diff-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.diff-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--slate);
}

.diff-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.image-frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Operating footprint map */
.footprint-feature {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footprint-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.75rem;
}

.footprint-intro h2 {
  margin-bottom: 1rem;
}

.footprint-intro p {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.65;
}

.footprint-map-bleed {
  width: 100%;
  margin: 0 0 2.75rem;
  padding: 0 clamp(0.75rem, 2.5vw, 2rem);
}

.footprint-map-wrap {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 1.5vw, 1.25rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(12, 26, 43, 0.08);
}

.footprint-map-wrap img,
.footprint-map-wrap object {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 680;
}

.footprint-markets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footprint-markets--single {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.footprint-market {
  text-align: center;
  padding: 2rem 2.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.footprint-market strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.footprint-market span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footprint-market p {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.6;
}

@media (min-width: 1200px) {
  .footprint-map-bleed {
    padding: 0 max(1.5rem, calc((100vw - 1400px) / 2));
  }
}

@media (max-width: 768px) {
  .footprint-feature {
    padding: 3.5rem 0 3rem;
  }

  .footprint-markets {
    grid-template-columns: 1fr;
  }

  .footprint-market {
    padding: 1.5rem 1.25rem;
  }

  .footprint-market strong {
    font-size: 1.85rem;
  }
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 4.5rem 0;
  text-align: center;
  color: var(--cream);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: rgba(246, 244, 239, 0.85);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: var(--navy);
  color: var(--cream);
}

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

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: var(--gold-light);
}

/* Service detail */
.content-block {
  max-width: 720px;
}

.why-section {
  margin-inline: auto;
  text-align: center;
}

.why-section .diff-list {
  text-align: left;
  display: inline-block;
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-item {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.feature-item h4 {
  margin-bottom: 0.35rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--slate);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-top: 2rem;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-detail {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

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

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status--success {
  color: #1a5c3a;
}

.form-status--error {
  color: #8b1e1e;
}

/* Honeypot fields — hidden from humans, present for scrapers */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.cf-turnstile-slot {
  margin: 0.75rem 0 1rem;
  min-height: 65px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(246, 244, 239, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-logo {
  display: inline-block;
  max-width: min(280px, 100%);
}

.footer-logo-img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.footer-brand p {
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

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

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Tagline */
.tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  margin-top: 1.25rem;
}

.section--dark .tagline {
  color: var(--gold-light);
}

/* Situation cards */
.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.situation-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
}

.situation-card h4 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.situation-card p {
  font-size: 0.95rem;
  color: var(--slate);
  margin: 0;
}

/* Platform advantage */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.platform-item {
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.platform-item .platform-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.platform-item h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.platform-item p {
  font-size: 0.9rem;
  color: rgba(246, 244, 239, 0.75);
  margin: 0;
}

/* Mandate callout */
.mandate-callout {
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(184, 149, 74, 0.12);
  border: 1px solid rgba(184, 149, 74, 0.3);
  border-radius: 4px;
  text-align: center;
}

.mandate-callout h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.mandate-callout p {
  font-size: 1rem;
  color: rgba(246, 244, 239, 0.85);
  margin: 0;
}

/* Playbook */
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.playbook-phase {
  padding: 1.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.playbook-phase .phase-days {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.playbook-phase h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

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

.playbook-phase li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: rgba(246, 244, 239, 0.75);
  line-height: 1.45;
}

.playbook-phase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* By the numbers — fully centered section */
.numbers-section {
  text-align: center;
}

.numbers-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.numbers-section__header {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.numbers-section__header h2 {
  text-align: center;
}

.numbers-section__header p {
  color: var(--slate);
  text-align: center;
  margin: 0;
}

/* Stats band */
.stats-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem 3.5rem;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.stats-band .stat-item {
  flex: 0 1 200px;
  width: 200px;
  max-width: 100%;
  text-align: center;
}

.stats-band .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-align: center;
}

.stats-band .stat-value::after {
  margin-left: auto;
  margin-right: auto;
  background: var(--gold);
}

.stats-band .stat-label {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.5rem;
  line-height: 1.4;
  text-align: center;
}

/* Case study */
.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-study-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 4px;
}

.case-study-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.case-study-stat span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Leadership */
.leadership-grid {
  display: grid;
  gap: 3rem;
}

.leader-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.leader-photo {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.leader-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.leader-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.leader-info p {
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Reporting dashboard preview */
.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.dashboard-metric {
  padding: 1.25rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: 4px;
  text-align: center;
}

.dashboard-metric .metric-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
}

.dashboard-metric .metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.7);
  margin-top: 0.25rem;
}

.dashboard-metric .metric-delta {
  font-size: 0.8rem;
  color: rgba(246, 244, 239, 0.6);
  margin-top: 0.35rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive - Mobile Menu */
@media (max-width: 768px) {
  /* Ensure the header container layers properly */
  .site-header {
    z-index: 1002 !important;
  }

  /* Hamburger button */
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001; 
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy) !important;
    margin-bottom: 5px;
    transition: var(--transition);
  }

  .menu-toggle span:last-child {
    margin-bottom: 0;
  }

  /* Mobile menu panel - Slides from the RIGHT with high contrast background */
  .nav-main {
    position: fixed;
    top: 0;                    
    right: 0;                  
    width: 300px;              
    height: 100vh;             
    
    /* BACKDROP BLUR REMOVED TO PREVENT IPHONE COLOR DISTORTION */
    background: rgba(10, 15, 30, 0.92) !important; 
    
    flex-direction: column;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem; 
    gap: 3rem;
    transform: translateX(100%); 
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;          
  }

  /* Slide in active state along X-axis */
  .nav-main.is-active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  /* Navigation links layout */
  .nav-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    text-align: right;        /* Align text right to match panel flow */
  }

  /* Hides the 'Speak with our team' button link inside the mobile nav drawer */
  .nav-main .btn {
    display: none !important;
  }

  /* Forces GOLD font color when menu is active for ALL links, including hover and active states */
  .nav-main.is-active .nav-links a,
  .nav-main.is-active .nav-links a:hover,
  .nav-main.is-active .nav-links a.active {
    color: var(--gold) !important;
    font-size: 1.25rem;
  }

  /* Dropdowns layout updates */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.05); /* Very faint tint for readability */
    opacity: 1;
    visibility: visible;
    display: none;
    padding-right: 1rem;       /* Padding on right side due to right alignment */
  }

  /* Fix shifting text and properly offset the mobile submenu */
  .nav-dropdown-menu {
    width: 100%;               /* Ensure it takes full width for alignment */
    margin-top: 0.5rem;        /* Small vertical offset below "Services" */
    padding: 0;                /* Reset default padding */
  }

  /* Reset all hover animations/shifts from the desktop styling */
  .nav-dropdown-menu a,
  .nav-dropdown-menu a:hover {
    transform: none !important;      /* Stops any side-to-side moving/sliding */
    padding-left: 0 !important;      /* Stops any left-side padding shifts */
    margin-left: 0 !important;       /* Stops any left-side margin shifts */
    padding-right: 1.5rem !important; /* Visual offset to the left (moves it away from the right edge) */
    display: block;                  /* Ensures clean vertical stacking */
    text-align: right;               /* Keeps it aligned with the panel flow */
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  /* Structural block overrides from original stylesheet */
  .grid-2,
  .grid-3,
  .grid-4,
  .process-steps,
  .hero-stats,
  .contact-grid,
  .situation-grid,
  .platform-grid,
  .playbook-grid,
  .case-study-stats,
  .dashboard-preview,
  .leader-card {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .leader-card {
    padding: 1.5rem;
  }

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

  .btn {
    width: 100%;
  }
}

/* Mobile dropdown accordion — desktop uses hover in .nav-dropdown:hover rules above */
@media (max-width: 768px) {
/* 1. HIDE THE SUBMENU BY DEFAULT */
.nav-main .nav-dropdown-menu {
  display: none !important; /* Forces it hidden until clicked */
  position: static !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  background: rgba(255, 255, 255, 0.05) !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0.5rem !important;
}

/* 2. ONLY SHOW THE SUBMENU WHEN "SERVICES" IS CLICKED (.open state) */
.nav-main .nav-dropdown.open .nav-dropdown-menu {
  display: block !important; /* Instantly pops open on click */
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important; /* Keeps text from clipping */
}

/* 3. COMPLETELY LOCK SUBMENU LINKS TO PREVENT ALL SIDE-TO-SIDE MOVEMENT */
.nav-main .nav-dropdown-menu a,
.nav-main .nav-dropdown-menu a:hover,
.nav-main .nav-dropdown-menu a:active,
.nav-main .nav-dropdown-menu a:focus {
  transform: none !important;
  transition: none !important;
  animation: none !important;
  position: static !important;
  display: block !important;
  
  /* Lock typography styles so text structure cannot change width */
  font-weight: normal !important; 
  letter-spacing: normal !important;
  text-shadow: none !important;
  
  /* Force strict right alignment inside the layout panel */
  text-align: right !important;
  width: 100% !important;
  
  /* Structural padding and margins reset to baseline values */
  margin: 0 !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  padding-left: 0 !important;
  
  /* Visual offset to the left of "Services" using static right padding */
  padding-right: 1.5rem !important; 
  
  /* Elegant static colors */
  color: var(--gold) !important;
  opacity: 0.85 !important;
}

/* 4. SAFE HOVER STATE (FADES BRIGHTER INSTEAD OF SHIFTING MARGINS) */
.nav-main .nav-dropdown-menu a:hover {
  opacity: 1 !important;
}
}
