/* M37 Ventures — Global Styles */

/* Cross-document page transitions (Chrome/Edge/Safari 18+) */
@view-transition {
  navigation: auto;
}

/* ---------- Scroll-triggered image clip reveal ---------- */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: clip-path;
}

.clip-reveal.is-visible {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .clip-reveal {
    clip-path: none;
    transition: none;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

::view-transition-group(photo-rob),
::view-transition-group(photo-kyle),
::view-transition-group(photo-ben),
::view-transition-group(photo-brent),
::view-transition-group(photo-drew),
::view-transition-group(photo-sean),
::view-transition-group(photo-keith),
::view-transition-group(photo-brian),
::view-transition-group(photo-scott),
::view-transition-group(photo-dan),
::view-transition-group(photo-mike),
::view-transition-group(photo-felipe),
::view-transition-group(photo-craig) {
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(*) {
    animation-duration: 0.001s !important;
  }
}

:root {
  --navy: #1e3a5f;
  --navy-dark: #152a45;
  --navy-light: #2d4e7a;
  --gray-bg: #e8e8e8;
  --gray-light: #f5f5f5;
  --text: #1e3a5f;
  --text-light: #ffffff;
  --accent: #b8935a;
  --accent-hover: #9a7a48;
  --accent-soft: rgba(184, 147, 90, 0.12);
  --cream: #faf6ef;
  --cream-deep: #f2ebdd;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 12px rgba(21, 42, 69, 0.06);
  --shadow-md: 0 8px 32px rgba(21, 42, 69, 0.09);
  --shadow-lg: 0 20px 60px rgba(21, 42, 69, 0.14);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- Custom scrollbars (primarily for Windows; macOS auto-hides) ---------- */
/* Firefox + other Gecko-based engines */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(30, 58, 95, 0.08);
}

/* WebKit / Blink (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(30, 58, 95, 0.06);
}

::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent-hover);
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Dark-surface scroll containers (modal body sits on white, but the
   page header/hero/dark sections never scroll independently — keep
   the brass thumb so it reads on both navy and cream backgrounds). */
.case-modal-content {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(30, 58, 95, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--cream);
  font-feature-settings: 'ss01', 'cv11';
}

h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variation-settings: 'opsz' 96;
}

h3, h4 {
  letter-spacing: -0.01em;
}

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

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

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #d4a971 100%);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(184, 147, 90, 0.5);
}

/* ---------- Header / Nav ---------- */
.header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(30, 58, 95, 0.1);
  box-shadow: 0 6px 24px rgba(21, 42, 69, 0.06);
}

.header.is-scrolled .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header.is-scrolled .logo img {
  height: 34px;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.35s ease;
}

.logo img {
  transition: height 0.35s ease;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 15px;
}

.nav a {
  color: var(--navy);
  font-weight: 500;
  padding: 8px 2px;
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav a:hover {
  color: var(--accent);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

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

.nav-sep {
  color: #999;
}

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 32px;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 32px;
  background: var(--navy);
  color: #fff;
  padding: 16px 24px;
  margin-left: -24px;
  margin-right: -24px;
}

.section-title-plain {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 32px;
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--navy-dark);
  background-image:
    linear-gradient(135deg, rgba(15, 30, 50, 0.55) 0%, rgba(21, 42, 69, 0.45) 55%, rgba(30, 58, 95, 0.40) 100%),
    url('../images/building-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 140px 32px 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(184, 147, 90, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero h1,
.hero-h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero-h1 .line {
  display: block;
  overflow: hidden;
}

.hero-h1 .line span,
.hero-h1 .line {
  opacity: 0;
  transform: translateY(28px);
  animation: line-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-h1 .line:nth-child(1) { animation-delay: 0.15s; }
.hero-h1 .line:nth-child(2) { animation-delay: 0.35s; }
.hero-h1 .line:nth-child(3) { animation-delay: 0.55s; }

.hero-h1 em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--font-display);
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 32px;
  animation: line-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
  opacity: 0;
}

.hero-sub {
  font-size: 19px;
  opacity: 0;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
  animation: line-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

@keyframes line-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 0.92;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-h1 .line,
  .hero-eyebrow,
  .hero-sub {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---------- Engagement Block ---------- */
.engagement {
  background: var(--navy);
  color: #fff;
  padding: 96px 32px 96px;
}

.engagement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.engagement h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.engagement p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.92;
}

.engagement-image {
  background: #666;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.engagement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Story / Who We Are ---------- */
.story-block {
  background: var(--cream);
  padding: 96px 32px;
}

.story-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
}

.story-inner h2 {
  color: var(--navy);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400;
  margin-bottom: 24px;
  text-align: left;
  line-height: 1.1;
}

.story-inner p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.92;
}

.story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.story-images .img-placeholder {
  background: #888;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-md);
}

.story-images .img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-images .yacht-collage {
  aspect-ratio: 2360 / 1328;
}

.story-images .team-yacht-photo {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  line-height: 0;
}

.story-images .team-yacht-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.story-logos {
  grid-column: 1 / -1;
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.story-logos .logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-align: center;
  overflow: hidden;
}

.story-logos .logo-circle.has-img {
  background: transparent;
}

.story-logos .logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-logos .logo-circle.contain {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.story-logos .logo-circle.contain img {
  object-fit: contain;
  padding: 6px;
}

.story-cta {
  margin-top: 32px;
  text-align: left;
}

.story-brands {
  margin-top: 36px;
  grid-column: 1 / -1;
}

.story-brands-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.story-brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: center;
}

.story-brands-row img {
  height: 26px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.story-brands-row img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-1px);
}

.story-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.3s ease, gap 0.3s ease;
}

.story-cta-link .arrow {
  color: var(--accent);
  transition: transform 0.3s ease;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1;
}

.story-cta-link:hover {
  color: var(--accent);
  gap: 12px;
}

.story-cta-link:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Core Clients ---------- */
.core-clients {
  background: var(--navy);
  padding: 96px 32px;
  text-align: center;
  color: #fff;
}

.core-clients h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 400;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.client-logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.client-logo-row .logo-box {
  background: #fff;
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-logo-row .logo-box:hover {
  box-shadow: var(--shadow-md);
}

.client-logo-row .logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.timeline-note {
  margin-top: 24px;
  font-style: italic;
  opacity: 0.7;
  font-size: 13px;
}

.discover-link {
  display: inline-block;
  margin-top: 40px;
  color: #fff;
  background: var(--accent);
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s;
}

.discover-link:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* ---------- Cornerstones ---------- */
/* ---------- Cornerstones v2 (matches stats / industries v2) ---------- */
.cornerstones-v2 {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(184, 147, 90, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 112px 32px 120px;
  position: relative;
  overflow: hidden;
}

.cornerstones-v2-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cornerstones-v2-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.cornerstones-v2-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 72px;
  color: #fff;
}

.cornerstones-v2-title em {
  font-style: italic;
  color: var(--accent);
}

.cornerstones-v2-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.cornerstone-item {
  padding: 16px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: #fff;
  transition: transform 0.35s ease;
}

.cornerstone-item + .cornerstone-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(184, 147, 90, 0.35) 30%, rgba(184, 147, 90, 0.35) 70%, transparent 100%);
}

.cornerstone-icon {
  color: var(--accent);
  transition: color 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cornerstone-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.cornerstone-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.35s ease;
}

.cornerstone-item:hover {
  transform: translateY(-4px);
}

.cornerstone-item:hover .cornerstone-icon {
  color: #fff;
}

.cornerstone-item:hover .cornerstone-label {
  color: var(--accent);
}

@media (max-width: 760px) {
  .cornerstones-v2-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 0;
  }
  .cornerstone-item + .cornerstone-item::before {
    display: none;
  }
}

/* legacy classes — no longer used, retained to avoid orphan rule churn */
.cornerstones-title {
  display: none;
  background: var(--navy);
  color: #fff;
  padding: 48px 20px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.cornerstones-icons {
  background: #fff;
  padding: 48px 32px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  background-image: url('../images/building-bg.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.cornerstones-icons::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: -1;
  pointer-events: none;
}

.icon-item {
  text-align: center;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.icon-circle svg {
  width: 40px;
  height: 40px;
}

.icon-item span {
  font-size: 13px;
  color: var(--navy);
}

.cornerstones-footer {
  text-align: center;
  padding: 24px;
  position: relative;
  background-image: url('../images/building-bg.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.cornerstones-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: -1;
  pointer-events: none;
}

.cornerstones-grid {
  background: var(--cream-deep);
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.cornerstone-card {
  background: var(--navy);
  color: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 22px;
  font-weight: 400;
  position: relative;
}

.cornerstone-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Team Page ---------- */
.team-nav {
  background: var(--navy);
  color: #fff;
  padding: 16px 32px;
  display: flex;
  gap: 32px;
  justify-content: center;
  font-size: 15px;
}

.team-nav a {
  color: #fff;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
}

.team-nav a:hover, .team-nav a.active {
  border-bottom-color: #fff;
}

.team-section-title {
  background: var(--navy);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.team-grid {
  padding: 48px 32px;
  background: var(--gray-bg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

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

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

.team-card {
  text-align: center;
  position: relative;
}

.team-card .photo {
  aspect-ratio: 1;
  background: #555;
  border-radius: var(--radius);
  margin-bottom: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-wrap:hover .photo,
.team-card:hover .photo {
  box-shadow: var(--shadow-md);
}

.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .photo::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  background: url('../images/linkedin.png') center / cover;
  width: 24px;
  height: 24px;
  border-radius: 2px;
}

.team-card .name {
  font-weight: 500;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 2px;
}

.team-card .title {
  color: var(--navy);
  font-size: 12px;
  opacity: 0.7;
}

/* Business Dev / Advisory headshots (placeholder-heavy) */
.team-grid.headshots-only .team-card .photo {
  background: var(--navy);
}

/* LinkedIn badge (real link, overrides pseudo-element version) */
.team-card-wrap {
  position: relative;
}

.linkedin-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 2px;
  background: url('../images/linkedin.png') center / cover;
  font-size: 0;
  z-index: 2;
  text-decoration: none;
  transition: opacity 0.15s;
}

.linkedin-badge:hover {
  opacity: 0.8;
}

.team-card-wrap .team-card .photo::after,
.bio-photo:has(.linkedin-badge)::after {
  display: none;
}

/* ---------- Team Bio Page ---------- */
.bio-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 96px 32px;
  animation: bio-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bio-body {
  animation: bio-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.meet-more {
  animation: bio-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@keyframes bio-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bio-hero, .bio-body, .meet-more { animation: none; }
}

.bio-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: center;
}

.bio-photo {
  aspect-ratio: 1;
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-photo::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  background: url('../images/linkedin.png') center / cover;
  width: 24px;
  height: 24px;
  border-radius: 2px;
  font-size: 13px;
  font-family: serif;
}

.bio-hero h1 {
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.bio-hero .role {
  font-size: 20px;
  opacity: 0.8;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}

.bio-body {
  background: var(--navy);
  color: #fff;
  padding: 80px 32px 96px;
}

.bio-body-inner {
  max-width: 900px;
  margin: 0 auto;
}

.bio-body p {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.75;
  opacity: 0.92;
}


.meet-more {
  background: var(--navy);
  padding: 48px 32px;
  color: #fff;
}

.meet-more h3 {
  font-size: 22px;
  margin-bottom: 24px;
  font-weight: 400;
}

.meet-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
}

.meet-more-grid .meet-card {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  color: #fff;
  text-decoration: none;
}

.meet-more-grid .meet-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(184, 147, 90, 0.5);
}

.meet-card-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.meet-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meet-card-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.meet-card-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

@media (max-width: 680px) {
  .meet-more-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

.meet-more-grid .placeholder-box {
  background: #fff;
  aspect-ratio: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meet-more-grid .placeholder-box:hover {
  box-shadow: var(--shadow-md);
}

/* ---------- Case Studies ---------- */
.case-studies-wrapper {
  background: var(--navy);
  padding: 48px 32px;
  min-height: 80vh;
}

.case-studies-title {
  background: var(--navy-dark);
  color: #fff;
  padding: 40px 32px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.015em;
  max-width: 1000px;
  margin: 0 auto 32px;
  max-width: 1000px;
  margin: 0 auto 32px;
  border-radius: 4px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.case-card {
  background: #fff;
  aspect-ratio: 4/5;
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ---------- Premium card accent (brass line slides in from top) ---------- */
.case-card,
.capability-card,
.cornerstone-card {
  overflow: hidden;
}

.case-card::before,
.capability-card::before,
.cornerstone-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
  z-index: 1;
}

.case-card:hover::before,
.capability-card:hover::before,
.cornerstone-card:hover::before {
  transform: scaleY(1);
}

.case-card .arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.case-card .logo-space {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  padding: 16px;
}

.case-card .logo-space img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

button.case-card {
  border: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.case-modal {
  border: none;
  border-radius: 8px;
  padding: 0;
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: 85vh;
  overflow: hidden;
  background: #fff;
  color: var(--navy);
}

.case-modal::backdrop {
  background: rgba(21, 42, 69, 0.75);
}

.case-modal-content {
  padding: 48px 40px 40px;
  max-height: 85vh;
  overflow-y: auto;
}

.case-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.case-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.case-modal-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.case-modal-header img {
  max-height: 100%;
  max-width: 240px;
  object-fit: contain;
}

.case-modal h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.case-modal-tagline {
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.case-modal-body {
  font-size: 15px;
  line-height: 1.7;
}

.case-modal-body p {
  margin-bottom: 16px;
}

.case-modal-body .case-section {
  margin-top: 28px;
}

.case-modal-body .case-section:first-child {
  margin-top: 8px;
}

.case-modal-body .case-section h3 {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 16px;
  margin-bottom: 14px;
  border-radius: 2px;
}

.case-modal-body .case-section.case-outcomes h3 {
  background: var(--accent);
}

.case-modal-body .case-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-modal-body .case-section li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text);
}

.case-modal-body .case-section li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.case-card p {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 16px;
}

/* ---------- Solutions / Industries ---------- */
/* ---------- Case Studies Timeline (partners page) ---------- */
.case-timeline-section {
  background: var(--cream);
  padding: 96px 32px 112px;
}

.case-timeline-heading {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.case-timeline-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.case-timeline-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--navy);
}

.case-timeline-title em {
  font-style: italic;
  color: var(--accent);
}

.case-timeline {
  max-width: 1200px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(184, 147, 90, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.case-timeline-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.case-timeline-strip {
  display: flex;
  gap: 72px;
  align-items: center;
  width: max-content;
  animation: case-timeline-marquee 38s linear infinite;
}

.case-timeline-strip:hover {
  animation-play-state: paused;
}

@keyframes case-timeline-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 36px)); }
}

.case-timeline-strip a {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  transition: transform 0.3s ease;
}

.case-timeline-strip a:hover {
  transform: translateY(-3px);
}

.case-timeline-strip img {
  height: 38px;
  width: auto;
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.55;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.case-timeline-strip img[src*="epiq"],
.case-timeline-strip img[src*="incline"] {
  height: 54px;
}

.case-timeline-strip a:hover img {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

@media (prefers-reduced-motion: reduce) {
  .case-timeline-strip {
    animation: none;
  }
}

/* ---------- Capabilities v2 (services page) ---------- */
.capabilities-v2 {
  background: var(--cream);
  padding: 112px 32px 112px;
  color: var(--navy);
}

.capabilities-v2-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.capabilities-v2-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.capabilities-v2-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--navy);
}

.capabilities-v2-title em {
  font-style: italic;
  color: var(--accent);
}

.capabilities-v2-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(30, 58, 95, 0.72);
  max-width: 780px;
  margin: 0 auto 72px;
}

.capabilities-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.capability-v2 {
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.capability-v2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.capability-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 147, 90, 0.3);
}

.capability-v2:hover::before {
  transform: scaleY(1);
}

.capability-v2-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 22px;
}

.capability-v2-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.capability-v2 h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.capability-v2 p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(30, 58, 95, 0.72);
  margin-bottom: 22px;
  flex: 1;
}

.capability-v2-clients {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 58, 95, 0.08);
  min-height: 40px;
}

.capability-v2-clients img {
  max-height: 22px;
  max-width: 45%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.78;
  transition: opacity 0.3s ease;
}

.capability-v2:hover .capability-v2-clients img {
  opacity: 1;
}

.capability-v2-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.capability-v2-cta .arrow {
  letter-spacing: 0;
  font-size: 13px;
  transition: transform 0.3s ease;
}

.capability-v2:hover .capability-v2-cta {
  gap: 10px;
}

.capability-v2:hover .capability-v2-cta .arrow {
  transform: translateX(4px);
}

@media (max-width: 960px) {
  .capabilities-v2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .capabilities-v2-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Events v2 (services page) ---------- */
.events-v2 {
  background: var(--cream);
  padding: 112px 32px 128px;
  color: var(--navy);
  position: relative;
}

.events-v2-hero {
  max-width: 900px;
  margin: 0 auto 72px;
  text-align: center;
}

.events-v2-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.events-v2-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--navy);
}

.events-v2-title em {
  font-style: italic;
  color: var(--accent);
}

.events-v2-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(30, 58, 95, 0.78);
  max-width: 780px;
  margin: 0 auto 56px;
}

.events-v2-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.events-v2-stat {
  padding: 0 24px;
  position: relative;
}

.events-v2-stat + .events-v2-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(184, 147, 90, 0.45) 30%, rgba(184, 147, 90, 0.45) 70%, transparent 100%);
}

.events-v2-stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 10px;
}

.events-v2-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(30, 58, 95, 0.65);
}

.events-v2-types {
  max-width: 1280px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.events-v2-type {
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.events-v2-type::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.events-v2-type:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 147, 90, 0.3);
}

.events-v2-type:hover::before {
  transform: scaleY(1);
}

.events-v2-type-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 20px;
}

.events-v2-type-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.events-v2-type-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(184, 147, 90, 0.1);
  border-radius: 999px;
}

.events-v2-type h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 10px;
}

.events-v2-type p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(30, 58, 95, 0.7);
}

.events-v2-map-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.events-globe-wrap {
  position: relative;
  max-width: 520px;
  margin: 24px auto 56px;
  aspect-ratio: 1 / 1;
}

.events-globe {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  cursor: grab;
  opacity: 0;
  transition: opacity 1.2s ease;
  touch-action: pan-y;
}

.events-globe-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.events-globe-eyebrow {
  color: var(--brass);
  font-weight: 600;
}

.events-globe-hint::before {
  content: '·';
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 960px) {
  .events-v2-types {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .events-v2-stats {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .events-v2-stat + .events-v2-stat::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .events-v2-types {
    grid-template-columns: 1fr;
  }
}

/* ---------- AI Solutions (services page) ---------- */
.ai-solutions {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(184, 147, 90, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 112px 32px 128px;
  position: relative;
  overflow: hidden;
}

.ai-solutions-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.ai-solutions-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.ai-solutions-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}

.ai-solutions-title em {
  font-style: italic;
  color: var(--accent);
}

.ai-solutions-lead {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.78;
}

.ai-credibility {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 24px;
  margin-bottom: 72px;
  border: 1px solid rgba(184, 147, 90, 0.28);
  border-radius: 999px;
  background: rgba(184, 147, 90, 0.06);
}

.ai-cred-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.ai-cred-item strong {
  color: var(--accent);
  font-weight: 700;
}

.ai-cred-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.ai-cap-step {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  opacity: 0.85;
}

.ai-solutions-cta {
  margin-top: 72px;
  text-align: center;
}

.ai-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid rgba(184, 147, 90, 0.45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184, 147, 90, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.ai-cta-link .arrow {
  transition: transform 0.3s ease;
  letter-spacing: 0;
  font-size: 14px;
}

.ai-cta-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-dark);
  gap: 12px;
}

.ai-cta-link:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .ai-credibility {
    flex-direction: column;
    gap: 10px;
    border-radius: var(--radius);
  }
  .ai-cred-dot {
    display: none;
  }
}

.ai-caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.ai-cap {
  padding: 0 28px;
  position: relative;
  text-align: left;
}

.ai-cap + .ai-cap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(184, 147, 90, 0.35) 30%, rgba(184, 147, 90, 0.35) 70%, transparent 100%);
}

.ai-cap-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 22px;
}

.ai-cap-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ai-cap h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #fff;
}

.ai-cap p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 960px) {
  .ai-caps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 0;
  }
  .ai-cap:nth-child(odd) + .ai-cap::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .ai-caps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ai-cap + .ai-cap::before {
    display: none;
  }
}

/* ---------- Industries v2 (matches stats treatment) ---------- */
.industries-v2 {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(184, 147, 90, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 112px 32px 120px;
  position: relative;
  overflow: hidden;
}

.industries-v2-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.industries-v2-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.industries-v2-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 72px;
  color: #fff;
}

.industries-v2-title em {
  font-style: italic;
  color: var(--accent);
}

.industries-v2-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.industry {
  padding: 16px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: #fff;
  transition: transform 0.35s ease;
}

.industry + .industry::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(184, 147, 90, 0.35) 30%, rgba(184, 147, 90, 0.35) 70%, transparent 100%);
}

.industry-icon-v2 {
  color: var(--accent);
  transition: color 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-icon-v2 svg {
  width: 48px;
  height: 48px;
  display: block;
}

.industry-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.35s ease;
}

.industry:hover {
  transform: translateY(-4px);
}

.industry:hover .industry-icon-v2 {
  color: #fff;
}

.industry:hover .industry-label {
  color: var(--accent);
}

@media (max-width: 760px) {
  .industries-v2-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 0;
  }
  .industry + .industry::before {
    display: none;
  }
}

/* legacy — kept for safety but hidden (no current markup uses these) */
.industries-header {
  display: none;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(184, 147, 90, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 64px 32px 32px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-align: center;
}

.industries-icons {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(184, 147, 90, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-icon .circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.industry-icon .circle svg {
  width: 50px;
  height: 50px;
}

.industry-icon span {
  font-size: 13px;
}

.industries-footer {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(184, 147, 90, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  padding: 16px 32px 64px;
  font-size: 14px;
  opacity: 0.82;
  letter-spacing: 0.02em;
}

/* Connections section */
.connections {
  background: #fff;
  padding: 96px 32px 120px;
  text-align: center;
  overflow: hidden;
}

.connections-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 720px;
  margin: 0 auto 96px;
  position: relative;
  z-index: 2;
}

.orbit {
  position: relative;
  margin: 0 auto;
  width: min(720px, 92vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--navy);
  padding: 22px;
  box-shadow: 0 12px 32px rgba(21, 42, 69, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: var(--shadow-lg);
  padding: 26px;
}

.orbit-center img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring-outer {
  background: rgba(30, 58, 95, 0.045);
  z-index: 0;
}

.orbit-ring-inner {
  background: rgba(30, 58, 95, 0.09);
  z-index: 1;
}

.orbit-center {
  z-index: 3;
}

.orbit-node {
  z-index: 2;
}

.orbit-ring-inner {
  width: 52%;
  height: 52%;
}

.orbit-ring-outer {
  width: 92%;
  height: 92%;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  pointer-events: auto;
  transition: box-shadow 0.3s, transform 0.3s;
  opacity: 0;
  animation: node-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.orbit-ring-inner .orbit-node {
  width: 82px;
  height: 82px;
  margin: -41px 0 0 -41px;
}

.orbit-node:hover {
  box-shadow: var(--shadow-md);
  z-index: 4;
}

.orbit-node img {
  max-width: 74%;
  max-height: 58%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.orbit-node span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.01em;
  opacity: 0.85;
}

@property --r-inner { syntax: '<length>'; initial-value: 200px; inherits: true; }
@property --r-outer { syntax: '<length>'; initial-value: 350px; inherits: true; }

.orbit { --r-inner: 20vmin; --r-outer: 34vmin; }

.orbit-ring-inner .orbit-node:nth-child(1) { transform: rotate(0deg) translateY(calc(-1 * var(--r-inner))) rotate(0deg); animation-delay: 0.05s; }
.orbit-ring-inner .orbit-node:nth-child(2) { transform: rotate(45deg) translateY(calc(-1 * var(--r-inner))) rotate(-45deg); animation-delay: 0.1s; }
.orbit-ring-inner .orbit-node:nth-child(3) { transform: rotate(90deg) translateY(calc(-1 * var(--r-inner))) rotate(-90deg); animation-delay: 0.15s; }
.orbit-ring-inner .orbit-node:nth-child(4) { transform: rotate(135deg) translateY(calc(-1 * var(--r-inner))) rotate(-135deg); animation-delay: 0.2s; }
.orbit-ring-inner .orbit-node:nth-child(5) { transform: rotate(180deg) translateY(calc(-1 * var(--r-inner))) rotate(-180deg); animation-delay: 0.25s; }
.orbit-ring-inner .orbit-node:nth-child(6) { transform: rotate(225deg) translateY(calc(-1 * var(--r-inner))) rotate(-225deg); animation-delay: 0.3s; }
.orbit-ring-inner .orbit-node:nth-child(7) { transform: rotate(270deg) translateY(calc(-1 * var(--r-inner))) rotate(-270deg); animation-delay: 0.35s; }
.orbit-ring-inner .orbit-node:nth-child(8) { transform: rotate(315deg) translateY(calc(-1 * var(--r-inner))) rotate(-315deg); animation-delay: 0.4s; }

.orbit-ring-outer .orbit-node:nth-child(1) { transform: rotate(0deg) translateY(calc(-1 * var(--r-outer))) rotate(0deg); animation-delay: 0.5s; }
.orbit-ring-outer .orbit-node:nth-child(2) { transform: rotate(22.5deg) translateY(calc(-1 * var(--r-outer))) rotate(-22.5deg); animation-delay: 0.53s; }
.orbit-ring-outer .orbit-node:nth-child(3) { transform: rotate(45deg) translateY(calc(-1 * var(--r-outer))) rotate(-45deg); animation-delay: 0.56s; }
.orbit-ring-outer .orbit-node:nth-child(4) { transform: rotate(67.5deg) translateY(calc(-1 * var(--r-outer))) rotate(-67.5deg); animation-delay: 0.59s; }
.orbit-ring-outer .orbit-node:nth-child(5) { transform: rotate(90deg) translateY(calc(-1 * var(--r-outer))) rotate(-90deg); animation-delay: 0.62s; }
.orbit-ring-outer .orbit-node:nth-child(6) { transform: rotate(112.5deg) translateY(calc(-1 * var(--r-outer))) rotate(-112.5deg); animation-delay: 0.65s; }
.orbit-ring-outer .orbit-node:nth-child(7) { transform: rotate(135deg) translateY(calc(-1 * var(--r-outer))) rotate(-135deg); animation-delay: 0.68s; }
.orbit-ring-outer .orbit-node:nth-child(8) { transform: rotate(157.5deg) translateY(calc(-1 * var(--r-outer))) rotate(-157.5deg); animation-delay: 0.71s; }
.orbit-ring-outer .orbit-node:nth-child(9) { transform: rotate(180deg) translateY(calc(-1 * var(--r-outer))) rotate(-180deg); animation-delay: 0.74s; }
.orbit-ring-outer .orbit-node:nth-child(10) { transform: rotate(202.5deg) translateY(calc(-1 * var(--r-outer))) rotate(-202.5deg); animation-delay: 0.77s; }
.orbit-ring-outer .orbit-node:nth-child(11) { transform: rotate(225deg) translateY(calc(-1 * var(--r-outer))) rotate(-225deg); animation-delay: 0.8s; }
.orbit-ring-outer .orbit-node:nth-child(12) { transform: rotate(247.5deg) translateY(calc(-1 * var(--r-outer))) rotate(-247.5deg); animation-delay: 0.83s; }
.orbit-ring-outer .orbit-node:nth-child(13) { transform: rotate(270deg) translateY(calc(-1 * var(--r-outer))) rotate(-270deg); animation-delay: 0.86s; }
.orbit-ring-outer .orbit-node:nth-child(14) { transform: rotate(292.5deg) translateY(calc(-1 * var(--r-outer))) rotate(-292.5deg); animation-delay: 0.89s; }
.orbit-ring-outer .orbit-node:nth-child(15) { transform: rotate(315deg) translateY(calc(-1 * var(--r-outer))) rotate(-315deg); animation-delay: 0.92s; }
.orbit-ring-outer .orbit-node:nth-child(16) { transform: rotate(337.5deg) translateY(calc(-1 * var(--r-outer))) rotate(-337.5deg); animation-delay: 0.95s; }

@keyframes node-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.orbit-node:hover {
  transform-origin: center;
  z-index: 4;
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
  .orbit-node {
    animation: none;
    opacity: 1;
  }
}

.connections h2 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.connections-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}

.connections-grid .logo-slot {
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 13px;
}

.connections-center {
  grid-column: 3;
  grid-row: 2;
  background: var(--navy);
  color: #fff;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

/* Stats */
.stats-section {
  background:
    radial-gradient(ellipse at 85% 100%, rgba(184, 147, 90, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 112px 32px 120px;
  position: relative;
  overflow: hidden;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.stats-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.stats-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 72px;
  color: #fff;
}

.stats-title em {
  font-style: italic;
  color: var(--accent);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: center;
}

.stat {
  padding: 0 24px;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(184, 147, 90, 0.35) 30%, rgba(184, 147, 90, 0.35) 70%, transparent 100%);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
  margin-bottom: 14px;
  font-variation-settings: 'opsz' 144;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 760px) {
  .stats-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .stat + .stat::before {
    display: none;
  }
}

/* legacy unused */
.stats-grid {
  display: none;
}

.stat-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-label-legacy {
  background: var(--navy);
  color: #fff;
  padding: 12px;
  font-size: 15px;
  margin: -24px -24px 16px;
  border-radius: 4px 4px 0 0;
}

.stat-value {
  background: var(--navy);
  color: #fff;
  padding: 32px;
  font-size: 32px;
  font-weight: 600;
  text-align: left;
  border-radius: 4px;
}

/* Client portfolio */
.client-portfolio {
  background: var(--cream);
  padding: 96px 32px;
}

.portfolio-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}

.portfolio-wrap {
  max-width: 1400px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.portfolio-category {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 0 24px 0;
}

.portfolio-category h3 {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

.portfolio-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 16px;
  gap: 4px;
  flex: 1;
}

.portfolio-tiles .tile {
  flex: 0 0 25%;
  max-width: 25%;
}

.portfolio-tiles-row {
  padding: 24px 16px;
}

.portfolio-tiles-row .tile {
  flex: 0 0 20%;
  max-width: 20%;
}

.portfolio-wide {
  max-width: 1400px;
  margin: 0 auto;
}

.tile {
  height: 72px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  box-shadow: none;
  transition: opacity 0.25s ease;
  color: var(--navy);
}

.tile:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.tile img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.tile span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-align: center;
  line-height: 1.2;
  opacity: 0.78;
  color: var(--navy);
}

.portfolio-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 16px;
}

.portfolio-logo {
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 600;
  font-size: 13px;
  padding: 8px;
  text-align: center;
}

/* ---------- Services / Capabilities ---------- */
.capabilities-title {
  background: var(--navy);
  color: #fff;
  padding: 48px 32px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.capability-section {
  background: var(--navy);
  color: #fff;
  padding: 24px 32px;
}

.capability-section h3 {
  background: var(--navy-light);
  padding: 8px 16px;
  margin: -24px -32px 16px;
  font-size: 14px;
  font-weight: 500;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.capability-card {
  background: #fff;
  color: var(--navy);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: center;
  padding: 28px;
  font-weight: 600;
  font-size: 20px;
  position: relative;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.capability-card .view-link {
  font-size: 13px;
  font-weight: 400;
  margin-top: 16px;
  opacity: 0.7;
}

.capability-card img {
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
}

/* Marketing capabilities */
.marketing-caps {
  background: var(--navy);
  color: #fff;
  padding: 48px 32px;
}

.marketing-caps h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.marketing-composite {
  background: #fff;
  border-radius: 4px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.marketing-composite img {
  width: 100%;
  height: auto;
  display: block;
}

.client-portfolio-composite {
  background: var(--cream);
  padding: 64px 32px;
}

.client-portfolio-composite img {
  display: block;
  width: 100%;
  max-width: 1058px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  image-rendering: -webkit-optimize-contrast;
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.marketing-item {
  text-align: center;
}

.marketing-item .label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0.9;
}

.marketing-item .preview {
  background: rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0.6;
}

/* Events */
.events-section {
  background: var(--navy);
  color: #fff;
  padding: 48px 32px;
}

.events-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.events-intro {
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

/* ---------- Events world map visual ---------- */
.events-map-visual {
  position: relative;
  aspect-ratio: 950 / 620;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(184, 147, 90, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(184, 147, 90, 0.15), 0 8px 32px rgba(21, 42, 69, 0.2);
}

.events-map-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}

.events-map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.55;
  filter: saturate(0.7);
}

.events-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px rgba(184, 147, 90, 0.5));
}

.event-marker {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .events-map-overlay animate {
    display: none;
  }
}

.events-map-card {
  background: #fff;
  color: var(--navy);
  padding: 32px;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: center;
}

.events-map-card h3 {
  font-size: 22px;
  color: #4a90c2;
  margin-bottom: 8px;
}

.events-map-card h3 span {
  color: var(--navy);
  display: block;
  font-size: 20px;
}

.events-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  font-size: 13px;
}

.event-type {
  text-align: center;
}

.event-type strong {
  display: block;
  margin-top: 8px;
  font-size: 11px;
}

/* ---------- Partners ---------- */
.partners-title {
  background: var(--navy);
  color: #fff;
  padding: 48px 32px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-align: center;
}

.partners-hero {
  background: #fff;
  padding: 48px 32px;
  text-align: center;
}

.partners-hero h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.3;
}

.partner-feature {
  background: var(--navy);
  color: #fff;
  padding: 48px 32px;
}

.partner-feature-inner {
  max-width: 900px;
  margin: 0 auto;
}

.partner-logo-box {
  background: #fff;
  width: 300px;
  padding: 40px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  color: var(--navy);
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.partner-feature p {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.partner-feature h3 {
  margin-top: 48px;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 400;
}

.partner-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 600px;
}

.partner-cases .case-logo {
  background: #fff;
  aspect-ratio: 1;
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 700;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-cases .case-logo:hover {
  box-shadow: var(--shadow-md);
}

.partner-cases .case-logo img {
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
}

/* ---------- Trust Bar (hero marquee) ---------- */
.trust-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.trust-bar-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.55;
}

.trust-bar-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.trust-bar-strip {
  display: flex;
  gap: 72px;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.trust-bar-strip:hover {
  animation-play-state: paused;
}

.trust-bar-strip a {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.trust-bar-strip a:hover {
  transform: translateY(-2px);
}

.trust-bar-strip a:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.trust-bar-strip img {
  height: 28px;
  width: auto;
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.55;
  transition: opacity 0.3s, filter 0.3s;
}

.trust-bar-strip img[src*="epiq"],
.trust-bar-strip img[src*="incline"] {
  height: 42px;
}

.trust-bar-strip img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 36px)); }
}

/* ---------- Scroll-triggered reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .trust-bar-strip {
    animation: none;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: #fff;
  padding: 72px 32px 32px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-copyright {
  opacity: 0.5;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 8px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-sep {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .header-inner {
    padding: 14px 20px;
  }

  .engagement-inner {
    grid-template-columns: 1fr;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .client-logo-row,
  .team-grid,
  .case-grid,
  .capability-grid,
  .connections-grid,
  .industries-icons,
  .portfolio-logos,
  .portfolio-wrap,
  .stats-grid,
  .marketing-grid,
  .partner-cases,
  .team-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

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

  .bio-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .bio-photo {
    max-width: 220px;
    margin: 0 auto;
    width: 100%;
  }

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

  .section {
    padding: 48px 16px;
  }
}

/* ---------- Tablet portrait / large phone (~760px) ---------- */
@media (max-width: 760px) {
  /* Hero — restore staggered line layout but at phone-friendly size */
  .hero {
    padding: 100px 20px 110px;
  }
  .hero h1,
  .hero-h1 {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 24px;
  }
  .hero-sub,
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-eyebrow {
    margin-bottom: 24px;
    letter-spacing: 0.22em;
  }

  /* Section paddings — vertical reduction */
  .engagement,
  .story-block,
  .core-clients,
  .cornerstones-v2,
  .stats-section,
  .industries-v2,
  .ai-solutions,
  .capabilities-v2,
  .events-v2,
  .case-timeline-section,
  .client-portfolio,
  .connections,
  .partner-feature,
  .partners-hero,
  .bio-hero,
  .bio-body,
  .meet-more {
    padding-left: 20px;
    padding-right: 20px;
  }
  .engagement,
  .story-block,
  .core-clients {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .cornerstones-v2,
  .stats-section,
  .industries-v2,
  .ai-solutions,
  .capabilities-v2,
  .events-v2,
  .case-timeline-section,
  .client-portfolio,
  .connections {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .bio-hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .bio-body {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  /* Reduce big section titles */
  .cornerstones-v2-title,
  .stats-title,
  .industries-v2-title,
  .ai-solutions-title,
  .capabilities-v2-title,
  .events-v2-title,
  .case-timeline-title,
  .portfolio-heading,
  .connections-heading {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 32px;
  }
  .cornerstones-v2-title,
  .stats-title,
  .industries-v2-title {
    margin-bottom: 48px;
  }

  /* Bio hero name */
  .bio-hero h1 {
    font-size: clamp(34px, 9vw, 44px);
  }
  .bio-hero .role {
    font-size: 16px;
  }
  .bio-body p {
    font-size: 16px;
  }

  /* Stat values shrink */
  .stat-value {
    font-size: clamp(48px, 13vw, 64px);
  }
  .events-v2-stat-value {
    font-size: clamp(36px, 10vw, 48px);
  }

  /* Partners */
  .partners-title {
    padding: 36px 20px;
    font-size: clamp(26px, 6.5vw, 34px);
  }
  .partner-feature-inner .partner-logo-box {
    width: 100%;
    max-width: 260px;
    padding: 28px;
  }
  .partner-cases {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  /* Case studies title */
  .case-studies-title {
    padding: 32px 24px;
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 24px;
  }
  .case-studies-wrapper {
    padding: 32px 16px;
  }
  .case-grid {
    gap: 16px;
  }
  .case-card {
    padding: 22px;
    aspect-ratio: 1;
  }
  .case-card .logo-space img {
    max-height: 60px;
  }
  .case-card p {
    font-size: 13px;
  }

  /* Team page */
  .team-section-title {
    padding: 40px 16px;
    font-size: clamp(24px, 6vw, 32px);
  }
  .team-nav {
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 16px;
    font-size: 14px;
  }
  .team-grid {
    padding: 32px 20px;
    gap: 20px;
  }

  /* Story-images on collapse — keep yacht photos full-width nicely */
  .story-images {
    gap: 12px;
  }

  /* Portfolio: 1 col stacked, tiles 4-up */
  .portfolio-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .portfolio-tiles .tile {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .portfolio-tiles-row .tile {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  /* Globe — keep contained */
  .events-globe-wrap {
    max-width: 360px;
    margin-bottom: 40px;
  }
  .events-globe-caption {
    font-size: 10px;
    gap: 12px;
    letter-spacing: 0.18em;
  }

  /* Connections orbit — shrink so nodes don't overlap center on phones */
  .connections {
    overflow: hidden;
  }
  .orbit {
    width: min(420px, 92vw);
    --r-inner: 28vmin;
    --r-outer: 42vmin;
  }
  .orbit-center {
    width: 110px;
    height: 110px;
    padding: 18px;
  }
  .orbit-node {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    padding: 9px;
  }
  .orbit-ring-inner .orbit-node {
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
  }
  .orbit-node span {
    font-size: 9px;
  }

  /* Story.html journey steps */
  .journey-step {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 16px !important;
  }
  .journey-lead {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    margin-bottom: 36px !important;
  }
  .building-journey {
    padding: 64px 20px 72px !important;
  }
  .who-we-are {
    padding: 64px 20px 72px !important;
  }
  .who-we-are h1 {
    font-size: clamp(32px, 8vw, 44px) !important;
  }
  .who-we-are p {
    font-size: 16px !important;
  }
  .story-events-cover {
    padding: 80px 20px !important;
    min-height: 420px !important;
  }
  .story-events-title {
    font-size: clamp(28px, 7.5vw, 40px) !important;
  }
  .story-events-sub {
    font-size: 15px !important;
  }

  /* Marketing-caps padding */
  .marketing-caps {
    padding: 56px 20px;
  }

  /* AI credibility pill — already stacks; tighten */
  .ai-credibility {
    margin-bottom: 56px;
    padding: 14px 20px;
  }

  /* Trust bar — smaller logos */
  .trust-bar {
    padding: 24px 0;
  }
  .trust-bar-strip {
    gap: 48px;
  }
  .trust-bar-strip img {
    height: 22px;
  }
  .trust-bar-strip img[src*="epiq"],
  .trust-bar-strip img[src*="incline"] {
    height: 32px;
  }

  /* Case timeline marquee — smaller logos */
  .case-timeline {
    padding: 36px 0;
  }
  .case-timeline-strip {
    gap: 48px;
  }
  .case-timeline-strip img {
    height: 30px;
  }
  .case-timeline-strip img[src*="epiq"],
  .case-timeline-strip img[src*="incline"] {
    height: 42px;
  }

  /* Footer nav wrapping */
  .footer {
    padding: 56px 20px 28px;
  }
  .footer-nav {
    gap: 18px;
  }
}

/* ---------- Phones (~600px) ---------- */
@media (max-width: 600px) {
  .client-logo-row,
  .team-grid,
  .capability-grid,
  .portfolio-logos,
  .connections-grid,
  .industries-icons,
  .case-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* Team grids — keep BD/advisors at 2-up so they don't become a tall single column */
  .team-grid-4,
  .team-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Section title plain */
  .section-title-plain {
    font-size: 24px;
  }

  /* Story brands row — left-align at small viewport */
  .story-brands-row {
    gap: 28px;
    justify-content: flex-start;
  }
  .story-brands-row img {
    height: 22px;
  }
}

/* ---------- Small phones (~480px / iPhone 16 / 16 Pro) ---------- */
@media (max-width: 480px) {
  .header-inner {
    padding: 14px 20px;
  }
  .logo img {
    height: 36px;
  }

  /* Hero — comfortable on iPhone 16 / 16 Pro (393–402px wide) */
  .hero {
    padding: 100px 20px 110px;
  }
  .hero h1,
  .hero-h1 {
    font-size: clamp(32px, 9vw, 40px);
  }
  .hero-sub,
  .hero-subtitle {
    font-size: 16px;
  }

  /* Bio hero photo */
  .bio-photo {
    max-width: 200px;
  }
  .bio-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  /* Portfolio tiles — 2-up for legibility */
  .portfolio-tiles .tile,
  .portfolio-tiles-row .tile {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .tile {
    height: 68px;
    padding: 10px 12px;
  }
  .tile img {
    max-height: 36px;
  }

  /* Stats — readable at iPhone 16 Pro width */
  .stat-value {
    font-size: clamp(50px, 14vw, 64px);
  }
  .stat-label,
  .events-v2-stat-label {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  /* Cornerstones / industries grid — 2 col with comfortable gaps */
  .cornerstones-v2-row,
  .industries-v2-row {
    gap: 40px 0;
  }
  .cornerstone-icon svg,
  .industry-icon-v2 svg {
    width: 44px;
    height: 44px;
  }
  .cornerstone-label,
  .industry-label {
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  /* Footer */
  .footer-nav a {
    font-size: 14px;
  }

  /* Team grids — comfortable spacing */
  .team-grid-4 {
    gap: 18px;
  }
  .team-grid {
    gap: 20px;
  }
  .team-card .name {
    font-size: 15px;
  }
  .team-card .title {
    font-size: 12px;
  }
  .team-nav {
    gap: 14px;
    font-size: 14px;
  }

  /* Section padding side */
  .section {
    padding: 56px 20px;
  }

  /* Orbit — sized for iPhone 16 Pro */
  .orbit {
    width: min(380px, 94vw);
    --r-inner: 28vmin;
    --r-outer: 42vmin;
  }
  .orbit-center {
    width: 100px;
    height: 100px;
    padding: 16px;
  }
  .orbit-node {
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    padding: 8px;
  }
  .orbit-ring-inner .orbit-node {
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
  }

  /* Globe — comfortable on a modern iPhone */
  .events-globe-wrap {
    max-width: 340px;
  }

  /* Engagement, story */
  .engagement,
  .story-block,
  .core-clients,
  .partner-feature,
  .partners-hero,
  .bio-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Modal */
  .case-modal-content {
    padding: 36px 22px 28px;
  }
  .case-modal h2 {
    font-size: 22px;
  }
}
