/* ============================================
   ABV & Company — Design System
   Palette: Deep navy + warm paper + ABV orange accent
   Type: Source Serif 4 (display) + Inter (body/UI)
   ============================================ */

:root {
  --navy: #0F2C4C;
  --navy-soft: #1E4670;
  --paper: #FAF7F2;
  --paper-deep: #F1EBE2;
  --orange: #E08A12;
  --orange-deep: #B86B0A;
  --ink: #232323;
  --ink-soft: #5C5C5C;
  --line: #E2DCD2;
  --line-dark: #2C4A6E;
  --white: #FFFFFF;

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --abv-container: 1180px;
  --radius: 2px;
}

/* Best-effort: some WordPress themes automatically render their own
   page title / header banner above the page content. This tries to hide
   the common ones. Harmless if none of these exist on your theme. */
.entry-header,
.wp-block-post-title,
.wp-block-template-part,
h1.entry-title,
.entry-title,
#page-header,
.site-header-title,
.ast-container > .page-header,
.page-title-wrap,
.elementor-location-header {
  display: none !important;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Escape hatch: forces this whole design to span the true viewport width
   even when a WordPress theme wraps page content in a narrower column. */
.abv-page-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

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

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

.abv-container {
  max-width: var(--abv-container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Full-width variant used for header, hero and footer per site brief */
.abv-container-wide {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 640px) {
  .abv-container-wide { padding: 0 24px; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.08rem; }

p { color: var(--ink-soft); }

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 640px;
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--orange);
}

/* ---------- Top bar ---------- */

.topbar {
  background: var(--navy);
  color: #C9D2E0;
  font-size: 0.82rem;
  font-family: var(--sans);
}

.topbar .abv-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a { color: #C9D2E0; }
.topbar a:hover { color: var(--orange); }

.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-left span { white-space: nowrap; }

/* ---------- Header / Nav ---------- */

header.main {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

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

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

footer .logo img {
  height: 34px;
  filter: brightness(0) invert(1);
}

.logo .mark {
  color: var(--orange);
}

.logo .sub {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  margin-left: 2px;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav.primary a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

nav.primary a:hover { color: var(--orange-deep); }

nav.primary a.active {
  color: var(--orange-deep);
}

nav.primary a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
}

.abv-btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.abv-btn-nav:hover { background: var(--orange-deep); color: var(--white) !important; }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  min-width: 320px;
  padding: 14px;
  display: none;
  box-shadow: 0 12px 28px rgba(26,36,52,0.10);
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.has-dropdown:hover .dropdown { display: grid; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius);
  color: var(--ink);
}
.dropdown a:hover { background: var(--paper-deep); color: var(--orange-deep); }
.dropdown .cluster-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  padding: 10px 12px 4px;
}

/* ---------- Buttons ---------- */

.abv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.abv-btn-primary {
  background: var(--orange);
  color: var(--white);
}
.abv-btn-primary:hover { background: var(--orange-deep); }

.abv-btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.abv-btn-ghost:hover { background: var(--navy); color: var(--white); }

.abv-btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.abv-btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}

.hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(224,130,20,0.18);
  border-radius: 50%;
}

.hero::before {
  content: "";
  position: absolute;
  top: -25%;
  right: 4%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(224,130,20,0.12);
  border-radius: 50%;
}

.hero .abv-container { position: relative; z-index: 2; }

.hero h1 { color: var(--white); max-width: 760px; }

.hero .lede { color: #B9C3D6; max-width: 580px; margin-top: 20px; }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-eyebrow {
  color: var(--orange);
}
.hero-eyebrow::before { background: var(--orange); }

/* ---------- Page header (non-home) ---------- */

.abv-page-header {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}
.abv-page-header::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -8%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(224,130,20,0.15);
  border-radius: 50%;
}
.abv-page-header .abv-container { position: relative; z-index: 2; }
.abv-page-header h1 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.abv-page-header .lede { color: #B9C3D6; margin-top: 14px; }

.header-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .header-split { grid-template-columns: 1fr; }
}
.header-split-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 55px rgba(0,0,0,0.35);
  transition: transform 0.5s ease;
}
.header-split-media:hover img { transform: scale(1.03); }
@media (max-width: 900px) {
  .header-split-media img { height: 200px; margin-top: 8px; }
}
.breadcrumb {
  font-size: 0.8rem;
  color: #8FA0BD;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: #8FA0BD; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Sections ---------- */

section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-paper { background: var(--paper); }
.section-deep { background: var(--paper-deep); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p { color: #B9C3D6; }
.section-navy .eyebrow { color: var(--orange); }
.section-navy .eyebrow::before { background: var(--orange); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-head h2 { margin-bottom: 0; max-width: 600px; }

/* ---------- Stats band ---------- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 56px;
}

.stat-cell {
  background: var(--white);
  padding: 28px 24px;
  text-align: left;
}

.stat-cell .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-cell .num .orange { color: var(--orange); }

.stat-cell .label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.stats-band-dark {
  background: var(--line-dark);
  border-color: var(--line-dark);
}
.stats-band-dark .stat-cell { background: var(--navy-soft); }
.stats-band-dark .stat-cell .num { color: var(--white); }
.stats-band-dark .stat-cell .label { color: #B9C3D6; }

/* ---------- Capability Index (signature element) ---------- */

.capability-index {
  border: 1px solid var(--line);
  background: var(--white);
}

.capability-group {
  border-bottom: 1px solid var(--line);
}
.capability-group:last-child { border-bottom: none; }

.capability-group-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  background: var(--paper-deep);
}

.capability-group-head .letter {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
  width: 36px;
}

.capability-group-head .meta h3 { margin-bottom: 2px; font-size: 1.15rem; }
.capability-group-head .meta span {
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.capability-rows { }

.capability-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr 36px;
  gap: 20px;
  align-items: center;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  transition: background 0.15s ease;
}
.capability-row:hover { background: var(--paper); }
.capability-row a.row-link {
  position: absolute; inset: 0;
}
.capability-row { position: relative; }

.capability-row .idx {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.capability-row .name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
}

.capability-row .desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.capability-row .arrow {
  color: var(--orange);
  font-size: 1.1rem;
  text-align: right;
  transition: transform 0.15s ease;
}
.capability-row:hover .arrow { transform: translateX(4px); }

@media (max-width: 820px) {
  .capability-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .capability-row .idx { display: none; }
  .capability-row .arrow { display: none; }
}

/* ---------- Capability cards (icon + hover animation) ---------- */

.capability-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 26px 28px 30px;
}
@media (max-width: 1024px) {
  .capability-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .capability-cards { grid-template-columns: 1fr; padding: 22px 18px 26px; gap: 16px; }
}

.capability-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(224,138,18,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15,44,76,0.14);
  border-color: var(--orange);
}

.capability-card:hover::before { opacity: 1; }

.capability-card .abv-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.cap-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(.34,1.56,.64,1), background 0.35s ease;
}

.cap-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--orange-deep);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s ease;
}

.capability-card:hover .cap-icon {
  background: var(--orange);
  transform: scale(1.14) rotate(-8deg);
}

.capability-card:hover .cap-icon svg { stroke: var(--white); }

.capability-card .idx {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.capability-card .cap-name {
  font-size: 1.04rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.capability-card .cap-desc {
  font-size: 0.87rem;
  color: var(--ink-soft);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.capability-card .cap-arrow {
  display: inline-flex;
  margin-top: 16px;
  color: var(--orange-deep);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.capability-card:hover .cap-arrow { transform: translateX(6px); }

/* ---------- Cards ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Insight cards (Insights / blog listing) ---------- */

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .insight-grid { grid-template-columns: 1fr; } }

.insight-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.insight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--navy-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.insight-card:hover::before { transform: scaleX(1); }
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15,44,76,0.14);
  border-color: transparent;
}

.insight-tag {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--paper-deep);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.insight-card h3 {
  font-size: 1.05rem;
  line-height: 1.42;
  margin-bottom: 12px;
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.insight-author {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.insight-readmore {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-deep);
  transition: transform 0.3s ease;
  display: inline-flex;
  white-space: nowrap;
}
.insight-card:hover .insight-readmore { transform: translateX(4px); }

.abv-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.abv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15,44,76,0.14);
  border-color: var(--orange);
}

.abv-card .icon-tag {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
  transition: color 0.3s ease;
}

.abv-card:hover .icon-tag { color: var(--orange-deep); }

.abv-card h3 { margin-bottom: 10px; }
.abv-card p { font-size: 0.92rem; }
.abv-card ul { margin-top: 14px; padding-left: 0; list-style: none; font-size: 0.88rem; color: var(--ink-soft); }
.abv-card ul li { padding: 5px 0 5px 18px; position: relative; }
.abv-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 7px; height: 1px;
  background: var(--orange);
}

/* ---------- Service detail page blocks ---------- */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 56px 32px;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) { background: var(--paper-deep); }

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; }
}

.service-block .index-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.72rem;
  color: var(--orange-deep);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 20px;
}
.service-block:nth-child(even) .index-num { background: var(--paper); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--navy);
  background: var(--paper);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.tag:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 0.94rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease, color 0.3s ease;
}
.check-list li:hover {
  padding-left: 34px;
  color: var(--orange-deep);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 12px; height: 1px;
  background: var(--orange);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 14px;
  width: 1px; height: 11px;
  background: var(--orange);
}

.img-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.img-frame img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.img-frame:hover img { transform: scale(1.04); }

/* ---------- Team section (homepage leadership grid) ---------- */

.team-section { padding: 84px 0; }

.team-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}

.team-heading {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  text-align: center;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.team-subheading {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.associate-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.associate-grid .team-card {
  flex: 0 1 calc(25% - 18px);
  min-width: 220px;
}
@media (max-width: 1024px) { .associate-grid .team-card { flex-basis: calc(33.333% - 16px); } }
@media (max-width: 700px) { .associate-grid .team-card { flex-basis: 100%; } }
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15,44,76,0.18);
  border-color: var(--orange);
}

.team-card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.team-card:hover img { transform: scale(1.07); }

.team-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 18px;
  background: linear-gradient(to top, rgba(15,44,76,0.94), rgba(15,44,76,0.6) 65%, transparent);
  color: var(--white);
  transform: translateY(56%);
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}
.team-card:hover .team-overlay { transform: translateY(0); }

.team-role {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.team-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--white);
  margin: 6px 0 6px;
}

.team-desc {
  font-size: 0.82rem;
  color: #D7E0EC;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease 0.1s, max-height 0.3s ease;
}
.team-card:hover .team-desc { opacity: 1; max-height: 100px; }

.team-social {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
}
.team-social a { color: var(--navy); font-size: 0.9rem; display: flex; }
.team-social:hover { background: var(--orange); transform: scale(1.08); }
.team-social:hover a { color: var(--white); }

.team-cta {
  text-align: center;
  margin-top: 48px;
}

.team-cta-label {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.associate-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Team modal (bio popup) ---------- */

.team-modal-content {
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #f8fafc;
}

/* Leadership profile content rendered inside the popup */

.abv-profile-section {
  width: 100%;
  padding: 60px 40px;
  background: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-sizing: border-box;
}

.abv-profile-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
}

.abv-profile-image { position: relative; }

.abv-profile-image img {
  width: 100%;
  border-radius: 24px;
  display: block;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(15,23,42,0.14);
}

.abv-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: linear-gradient(135deg,#ff8c00,#ffb347);
  padding: 12px 18px;
  border-radius: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255,140,0,0.28);
}

.abv-profile-content h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ff8c00;
  margin-bottom: 14px;
}

.abv-profile-content h2 {
  font-size: 2.2rem;
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.abv-profile-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.abv-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.abv-expertise span {
  background: #fff;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
}

.abv-profile-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #475569;
  margin-bottom: 16px;
}

.abv-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,#ff8c00,#ffb347);
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: 0.35s ease;
  margin-top: 8px;
  box-shadow: 0 12px 28px rgba(255,140,0,0.22);
}
.abv-profile-btn:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 16px 36px rgba(255,140,0,0.30);
}

@media (max-width: 820px) {
  .abv-profile-container { grid-template-columns: 1fr; }
  .abv-profile-image { max-width: 320px; margin: 0 auto; }
  .abv-profile-content { text-align: center; }
  .abv-expertise { justify-content: center; }
  .abv-profile-content h2 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .abv-profile-section { padding: 40px 20px; }
  .abv-profile-content h2 { font-size: 1.5rem; }
  .abv-profile-content h3 { font-size: 0.95rem; }
  .abv-profile-content p { font-size: 0.88rem; line-height: 1.75; }
}

.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,44,76,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  padding: 24px;
}
.team-modal-overlay.active { opacity: 1; visibility: visible; }

.team-modal-box {
  position: relative;
  width: 100%;
  max-width: 920px;
  height: 82vh;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.team-modal-overlay.active .team-modal-box { transform: scale(1); }

.team-modal-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.team-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}
.team-modal-close:hover { background: var(--orange); }

/* ---------- Leadership / People ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .people-grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1180px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }

.person-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.person-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: var(--paper-deep);
  border-bottom: 3px solid var(--orange);
}

.person-body { padding: 24px; }
.person-body h3 { margin-bottom: 2px; font-size: 1.15rem; }
.person-cred {
  font-size: 0.8rem;
  color: var(--orange-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.person-role {
  font-size: 0.84rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 12px;
}
.person-body p { font-size: 0.88rem; line-height: 1.6; }

.person-expand {
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none; border: none; padding: 0;
}

.person-more { display: none; margin-top: 12px; }
.person-more.open { display: block; }

/* ---------- Timeline ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin-top: 56px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 9px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-top: 32px;
  padding-right: 20px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--orange);
}
.timeline-item .year {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 8px;
}
.timeline-item p { font-size: 0.84rem; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .timeline-item { padding-top: 0; padding-left: 28px; }
  .timeline-item::before { top: 6px; left: 0; }
}

/* ---------- Industries / audience ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.audience-cell {
  background: var(--white);
  padding: 36px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
.audience-cell:hover {
  background: var(--paper);
  box-shadow: inset 3px 0 0 var(--orange);
  z-index: 2;
}
.audience-cell h3 { margin-bottom: 10px; }
.audience-cell p { font-size: 0.92rem; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- Quote / testimonial ---------- */

.quote-block {
  border-left: 3px solid var(--orange);
  padding-left: 28px;
  margin: 0;
}
.quote-block p.qtext {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px;
}
.quote-block .qauthor {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.quote-block .qrole {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- Testimonial slider ---------- */

.testimonial-slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.65,0,.35,1);
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 4px;
}

.testimonial-slide .abv-card { height: 100%; }

.ts-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.ts-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.ts-prev { left: -58px; }
.ts-next { right: -58px; }

@media (max-width: 900px) {
  .ts-prev { left: 4px; }
  .ts-next { right: 4px; }
  .ts-arrow { width: 36px; height: 36px; font-size: 1.2rem; background: rgba(255,255,255,0.85); }
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.ts-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ts-dot:hover { background: var(--orange-deep); }
.ts-dot.active {
  background: var(--orange);
  transform: scale(1.35);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--orange);
  color: var(--white);
  padding: 56px 0;
}
.cta-banner .abv-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin: 0; max-width: 560px; }
.cta-banner .abv-btn-primary { background: var(--navy); }
.cta-banner .abv-btn-primary:hover { background: var(--ink); }

/* ---------- Footer ---------- */

footer {
  background: var(--navy);
  color: #AEBBD0;
  padding: 64px 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 18px;
}
footer .logo { color: var(--white); margin-bottom: 14px; }
footer .logo .sub { color: #AEBBD0; border-color: var(--line-dark); }
footer p { color: #AEBBD0; font-size: 0.88rem; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 10px; }
footer ul li a:hover { color: var(--orange); }
footer .office {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
footer .office:last-child { border-bottom: none; }
footer .office .city {
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 4px;
  display: block;
}
footer .office p { font-size: 0.82rem; margin: 0; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #7E8DA8;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: #7E8DA8; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Misc ---------- */

.divider { height: 1px; background: var(--line); margin: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- About intro (stats + floating image badge) ---------- */

.about-stats {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.about-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
  flex: 1;
  min-width: 130px;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.about-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(15,44,76,0.12);
  border-color: var(--orange);
}
.about-stat .num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--orange-deep);
}
.about-stat .label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(15,44,76,0.16);
  transition: transform 0.5s ease;
}
.about-media:hover img { transform: scale(1.02); }
.about-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  border-radius: 14px;
  padding: 24px 26px;
  max-width: 260px;
  box-shadow: 0 20px 45px rgba(15,44,76,0.18);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
}
.about-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(15,44,76,0.22);
}
.about-badge .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange-deep);
  display: block;
  margin-bottom: 8px;
}
.about-badge p {
  font-size: 0.87rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .about-badge {
    position: static;
    margin: -40px 20px 0;
    max-width: none;
  }
}

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  background: var(--paper-deep);
  border-radius: 30px;
  color: var(--navy);
}

.mobile-nav-toggle { display: none; }

@media (max-width: 1260px) and (min-width: 981px) {
  nav.primary { gap: 16px; }
  nav.primary a { font-size: 0.86rem; }
  .abv-btn-nav { padding: 9px 16px; }
}

@media (max-width: 980px) {
  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 24px;
    gap: 14px;
    box-shadow: 0 12px 28px rgba(26,36,52,0.10);
  }
  nav.primary.mobile-open { display: flex; }
  nav.primary .abv-btn-nav { margin-top: 6px; }
  .has-dropdown { width: 100%; }
  .has-dropdown .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-top: none;
    min-width: auto;
    grid-template-columns: 1fr;
    padding: 6px 0 6px 14px;
  }
  .has-dropdown.mobile-open .dropdown { display: grid; }
  .mobile-nav-toggle {
    display: block;
    background: none; border: none;
    font-size: 1.6rem; color: var(--navy);
    cursor: pointer;
  }
}

.numbered-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 900px) { .numbered-process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .numbered-process { grid-template-columns: 1fr; } }
.process-step {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.25);
}
.process-step .step-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}
.process-step h4 { margin-bottom: 8px; color: var(--navy); }
.process-step p { font-size: 0.86rem; color: var(--ink-soft); }
