/*
Theme Name: MAP Legal Services
Theme URI: https://millionlegalservices.com/
Author: Million Alemu & Partners
Description: Custom, content-managed theme based on the MAP local website redesign.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: map-legal
*/
:root {
  --navy: #163a5f;
  --navy-deep: #0a2035;
  --navy-soft: #24567f;
  --gold: #c2a46a;
  --gold-soft: #e8d7b0;
  --ink: #1a2433;
  --muted: #5d6b7c;
  --line: rgba(22, 58, 95, 0.14);
  --paper: #f3f6fa;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(10, 32, 53, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --header: 110px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy-deep); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.88);
  font-size: .82rem;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: .55rem 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.topbar a:hover { color: var(--gold-soft); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243,246,250,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(10,32,53,.06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; min-height: 96px;
  padding: .55rem 1.25rem; display: flex; align-items: center; gap: 1.25rem;
}
.brand { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.brand img {
  width: auto; height: 78px; max-width: 260px;
  object-fit: contain; object-position: left center;
  filter: drop-shadow(0 4px 14px rgba(10, 32, 53, 0.18));
}
.home-page .brand img { height: 94px; max-width: 310px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
}
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .04em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .85rem; }
.nav > a,
.nav-link {
  font-size: .88rem; color: var(--ink); position: relative; padding: .35rem 0;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  transition: color .22s ease;
}
.nav > a::after,
.nav-item > .nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s;
  border-radius: 2px;
}
.nav > a:hover::after, .nav > a.is-active::after,
.nav-item:hover > .nav-link::after, .nav-item.is-open > .nav-link::after,
.nav-item > .nav-link.is-active::after { transform: scaleX(1); }
.nav > a:hover, .nav-link:hover { color: var(--navy); }
.nav > a.is-active, .nav-link.is-active { color: var(--navy); }
.insights-news-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #c62828; color: #fff; font: 700 .65rem/1 var(--font-body); box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.insights-news-badge[hidden] { display: none; }
.nav-caret {
  display: inline-block; font-size: .65rem; line-height: 1; opacity: .7;
  transition: transform .25s;
}
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

/* WordPress navigation menu */
.nav-list { display: flex; align-items: center; gap: .85rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; padding: 0; }
.nav-list > li > a { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; position: relative; padding: .35rem 0; color: var(--ink); font-size: .88rem; }
.nav-list > li > a:hover, .nav-list > li.current-menu-item > a, .nav-list > li.current-menu-ancestor > a { color: var(--navy); }
.nav-list .sub-menu { position: absolute; top: calc(100% + .85rem); left: 50%; z-index: 50; display: none; min-width: 220px; margin: 0; padding: .65rem; list-style: none; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: var(--shadow); transform: translateX(-50%); }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu, .nav-list li.is-open > .sub-menu { display: block; }
.nav-list .sub-menu a { display: block; padding: .55rem .7rem; border-radius: 2px; color: var(--ink); font-size: .84rem; }
.nav-list .sub-menu a:hover { background: rgba(22,58,95,.06); color: var(--navy); }
.nav-list .menu-item-has-children > a::after { content: "▾"; font-size: .65rem; opacity: .7; }
.map-form-honey { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.home-editor-content > :first-child { margin-top: 0; }
.home-editor-content > :last-child { margin-bottom: 0; }
.wp-block-image img { height: auto; }
.wp-block-button__link { border-radius: 999px; background: var(--navy); color: #fff; }
.wp-block-quote { border-left: 2px solid var(--gold); padding-left: 1.2rem; }
.wp-block-separator { border-color: var(--line); }
.nav-list .current-menu-item > a::after, .nav-list .current-menu-ancestor > a::after { transform: scaleX(1); }
.nav-list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s; }
.nav-list > li > a:hover::after { transform: scaleX(1); }
.mission-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.mission-cards { display: grid; gap: 1rem; }
.team-directory { display: grid; gap: 2rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
.testimonial-card { padding: 1.5rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.testimonial-card blockquote { margin: 0 0 1.25rem; color: var(--muted); }
.testimonial-card strong, .testimonial-card span { display: block; }
.testimonial-card span { color: var(--muted); font-size: .85rem; }
.practice-card > a { display: block; color: inherit; }
.practice-card h2, .insight-card h2 { margin: .35rem 0 .7rem; color: var(--navy-deep); font: 600 1.35rem/1.2 var(--font-display); }
.page-content { max-width: 960px; }
.about-page-content .reveal { opacity: 1; transform: none; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.search-panel form .btn { margin-top: .75rem; }

@media (max-width: 1100px) {
  .nav-list { gap: .65rem; }
  .nav-list > li > a { font-size: .82rem; }
}
@media (max-width: 760px) {
  .nav-list { display: grid; gap: .25rem; width: 100%; }
  .nav-list > li > a { width: 100%; justify-content: space-between; padding: .55rem 0; }
  .nav-list .sub-menu { position: static; transform: none; width: 100%; min-width: 0; display: none; margin: 0 0 .35rem; border: 0; box-shadow: none; background: rgba(22,58,95,.04); }
  .nav-list li.is-open > .sub-menu, .nav-list li:focus-within > .sub-menu { display: block; }
  .mission-layout, .testimonials-grid { grid-template-columns: 1fr; }
}

.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + .85rem); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px; padding: .65rem;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: .22s ease; z-index: 50;
}
.dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.nav-item:hover > .dropdown,
.nav-item.is-open > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block; padding: .55rem .7rem; font-size: .84rem; color: var(--ink);
  border-radius: 2px; transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.dropdown a:hover { background: rgba(22,58,95,.06); color: var(--navy); transform: translateX(3px); }
.dropdown-mega {
  left: 50%; width: min(720px, 78vw); padding: 1.1rem 1.15rem 1.2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-top: 2px solid var(--gold);
}
.dropdown-mega .dd-col h5 {
  margin: 0 0 .55rem; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.dropdown-mega .dd-col a { padding: .45rem .4rem; font-size: .8rem; line-height: 1.4; }
.dropdown-mega .dd-foot {
  grid-column: 1 / -1; margin-top: .35rem; padding-top: .75rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.dropdown-mega .dd-foot p { margin: 0; color: var(--muted); font-size: .82rem; }

.header-tools { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.search-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: .2s;
}
.search-btn:hover { border-color: var(--gold); color: var(--navy-deep); }

.search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,32,53,.55); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 1.25rem 2rem; opacity: 0; visibility: hidden; transition: .25s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel {
  width: min(640px, 100%); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 1.25rem;
}
.search-panel label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.search-panel input {
  width: 100%; border: 1px solid var(--line); padding: .9rem 1rem;
  font-size: 1.05rem; outline: none;
}
.search-panel input:focus { border-color: var(--gold); }
.search-results { margin-top: .85rem; max-height: 50vh; overflow: auto; }
.search-results a {
  display: block; padding: .75rem .85rem; border-bottom: 1px solid var(--line);
  transition: .2s;
}
.search-results a:hover { background: rgba(22,58,95,.05); }
.search-results strong { display: block; color: var(--navy-deep); }
.search-results span { color: var(--muted); font-size: .82rem; }
.search-empty { color: var(--muted); padding: .75rem .35rem; font-size: .9rem; }

.nav-toggle {
  display: none; margin-left: 0; width: 44px; height: 44px; border: 0;
  background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 6px auto; background: var(--navy-deep);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .85rem 1.4rem; border-radius: 999px;
  background: var(--navy); color: #fff; border: 1px solid transparent;
  font-size: .9rem; font-weight: 500; transition: .25s ease;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.22) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .55s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline {
  background: transparent; color: var(--navy); border-color: rgba(22,58,95,.3);
}
.btn-outline:hover { background: rgba(22,58,95,.06); color: var(--navy-deep); }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .84rem; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.eyebrow {
  margin: 0 0 .7rem; text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; color: var(--gold); font-weight: 500;
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before {
  content: ""; width: 1.4rem; height: 1px; background: var(--gold);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 0 0 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 1rem; }
h3 { font-size: 1.45rem; margin: 0 0 .55rem; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 40rem; }

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 820px); display: grid; align-items: end;
  color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(105deg, rgba(8, 20, 34, 0.92) 0%, rgba(8, 20, 34, 0.78) 42%, rgba(8, 20, 34, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 20, 34, 0.45) 0%, rgba(8, 20, 34, 0.35) 40%, rgba(8, 20, 34, 0.82) 100%);
}
.hero-content {
  position: relative; z-index: 3; max-width: 1200px; width: 100%;
  margin: 0 auto; padding: 7rem 1.25rem 5.5rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero-kicker {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: .03em; margin: 0 0 .85rem; color: #f0e2c0;
  opacity: 0; animation: rise .8s ease .1s forwards;
}
.hero h1 {
  max-width: 14ch; opacity: 0; animation: rise .8s ease .25s forwards;
  color: #ffffff;
}
.hero .lead {
  color: rgba(255,255,255,.95); margin: 0 0 1.6rem; opacity: 0;
  animation: rise .8s ease .4s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .8rem;
  opacity: 0; animation: rise .8s ease .55s forwards;
}
.hero-meta {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem;
  opacity: 0; animation: rise .8s ease .7s forwards;
  font-size: .88rem; color: rgba(255,255,255,.92);
}
.hero-meta strong { color: #fff; display: block; font-size: 1.05rem; font-family: var(--font-display); }
.hero-controls {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 1.4rem;
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.hero-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); background: rgba(8,20,34,.55);
  color: #fff; font-size: 1.35rem; cursor: pointer; line-height: 1;
  backdrop-filter: blur(6px); transition: .25s;
}
.hero-arrow:hover { background: rgba(194,164,106,.9); border-color: var(--gold); color: var(--navy-deep); }
.hero-dots { display: flex; gap: 0; margin-left: .1rem; }
.hero-dots button {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; padding: 0;
  background: transparent; cursor: pointer;
}
.hero-dots button::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.48); transition: .25s;
}
.hero-dots button.is-active {
  background: transparent;
}
.hero-dots button.is-active::before { width: 12px; height: 12px; background: var(--gold); }

/* Page hero compact */
.page-hero {
  position: relative; color: #fff; padding: 5.5rem 0 3.5rem; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(10,32,53,.92), rgba(22,58,95,.75)),
    url("assets/live/office.jpg") center/cover;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: .6rem; }

/* Intro split */
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
}
.split-media {
  position: relative; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split-badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.95); color: var(--navy-deep);
  padding: 1rem 1.15rem; max-width: 220px;
}
.split-badge strong {
  display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1;
  color: var(--navy);
}

/* Practice */
.practice-toolbar {
  display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0 1.75rem;
}
.filter {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  min-height: 38px; padding: .4rem .95rem; border-radius: 999px; cursor: pointer;
  transition: .2s;
}
.filter.is-active, .filter:hover {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.practice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.practice-card {
  background: #fff; border: 1px solid var(--line); padding: 1.35rem 1.3rem 1.4rem;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  text-align: left; width: 100%;
  position: relative;
}
.practice-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.practice-card:hover::before, .practice-card.is-open::before { transform: scaleY(1); }
.practice-card:hover, .practice-card.is-open {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(194,164,106,.55);
}
.practice-card .num {
  font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; margin-bottom: .35rem;
}
.practice-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .35rem; }
.practice-card-head .num { margin: 0; }
.practice-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fbf6e7; color: #d0aa3b; font-size: 1.05rem; }
@font-face { font-family: "MAP Font Awesome"; src: url("assets/fonts/fa-solid-900.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
.fas::before { font-family: "MAP Font Awesome"; font-weight: 900; }
.far::before { font-family: "MAP Font Awesome"; font-weight: 900; }
.fa-building-columns::before { content: "\f19c"; }
.fa-arrows-to-dot::before { content: "\e4be"; }
.fa-hands-holding-circle::before { content: "\e4fb"; }
.fa-people-arrows::before { content: "\e068"; }
.fa-suitcase::before { content: "\f0f2"; }
.fa-handshake-slash::before { content: "\e060"; }
.fa-rectangle-xmark::before { content: "\f410"; }
.fa-briefcase::before { content: "\f0b1"; }
.fa-hand-holding-dollar::before { content: "\f4c0"; }
.fa-brain::before { content: "\f5dc"; }
.fa-object-ungroup::before { content: "\f248"; }
.fa-fire-flame-simple::before { content: "\f46a"; }
.fa-handshake::before { content: "\f2b5"; }
.fa-warehouse::before { content: "\f494"; }
.fa-star-half-stroke::before { content: "\f5c0"; }
.fa-magnifying-glass-dollar::before { content: "\f688"; }
.fa-building-shield::before { content: "\e4d8"; }
.fa-plane-up::before { content: "\e22d"; }
.practice-card p {
  margin: 0; color: var(--muted); font-size: .9rem;
}
.practice-more { display: inline-flex; gap: .35rem; align-items: center; margin-top: 1rem; color: var(--navy); font-weight: 600; font-size: .8rem; }
.practice-more:hover { color: #9a7940; text-decoration: underline; text-underline-offset: 3px; }
.practice-card.is-hidden,
.insight-card.is-hidden { display: none; }

/* Mission band */
.mission-band {
  background:
    linear-gradient(135deg, rgba(10,32,53,.94), rgba(22,58,95,.9)),
    url("assets/live/bg.webp") center/cover;
  color: #fff; padding: 4.5rem 0;
}
.mission-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem;
}
.mission-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 1.5rem;
}
.mission-card h3 { color: var(--gold-soft); }
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem;
}
.pillars article {
  border-top: 1px solid rgba(255,255,255,.22); padding-top: 1rem;
}
.pillars p { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }

/* Clients */
.clients {
  background: #fff; border-block: 1px solid var(--line); padding: 2.5rem 0;
}
.client-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.client-row img {
  height: 42px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75;
  transition: .3s;
}
.client-row img:hover { filter: none; opacity: 1; }

/* Testimonials */
.testimonial-shell {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: stretch;
}
.quote-panel {
  background: var(--navy-deep); color: #fff; padding: 2.2rem; position: relative; min-height: 320px;
}
.quote-panel blockquote {
  margin: 0 0 1.4rem; font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25;
}
.quote-panel figcaption strong { display: block; }
.quote-panel figcaption span { color: rgba(255,255,255,.7); font-size: .85rem; }
.carousel-controls { display: flex; gap: .5rem; margin-top: 1.5rem; }
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #fff; cursor: pointer; font-size: 1.2rem;
}
.carousel-btn:hover { background: rgba(255,255,255,.1); }
.testimonial-side {
  display: grid; gap: .8rem;
}
.side-quote {
  background: #fff; border: 1px solid var(--line); padding: 1rem 1.1rem;
  cursor: pointer; transition: .25s; text-align: left; width: 100%;
}
.side-quote.is-active, .side-quote:hover {
  border-color: var(--gold); box-shadow: var(--shadow);
}
.side-quote strong { display: block; font-size: .92rem; }
.side-quote span { color: var(--muted); font-size: .8rem; }

/* Team */
.team-showcase {
  display: grid; gap: 1.5rem;
}
.team-feature {
  display: flex; flex-direction: column; width: min(100%, 560px); margin: 0 auto; gap: 0;
  background: linear-gradient(135deg, #0a2035 0%, #163a5f 55%, #1e4a73 100%);
  color: #fff; overflow: hidden; min-height: 0;
  box-shadow: var(--shadow);
  position: relative;
}
.team-feature::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), transparent);
}
.team-feature .team-photo {
  aspect-ratio: 4 / 3; min-height: 0; position: relative;
}
.team-feature .team-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 55%, rgba(10,32,53,.35) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(194,164,106,.18), transparent 55%);
}
.team-feature .team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  filter: contrast(1.05) saturate(1.08);
  transition: transform .8s ease;
}
.team-feature:hover .team-photo img { transform: scale(1.04); }
.team-feature .team-body {
  padding: 1.5rem 1.75rem 1.8rem; display: flex; flex-direction: column; justify-content: flex-start;
  position: relative;
}
.team-feature .team-body::before {
  content: ""; position: absolute; left: 1.75rem; top: .8rem;
  width: 42px; height: 2px; background: var(--gold);
}
.team-feature .role {
  color: var(--gold-soft); font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; margin: .35rem 0 .55rem;
}
.team-feature h3 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600; margin: 0 0 .9rem; color: #fff; line-height: 1.15;
}
.team-feature .team-body > p {
  color: rgba(255,255,255,.78); font-size: 1.02rem; max-width: 34ch; margin: 0;
}
.team-feature .profile-link { align-self: flex-start; margin-top: 1.25rem; }

/* Leadership profile */
.profile-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.profile-aside { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.profile-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-deep); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.profile-aside-caption { padding: 1.4rem 1.5rem 1.6rem; }
.profile-aside-caption .role { margin: 0 0 .35rem; color: #9a7940; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.profile-aside-caption h2 { margin: 0; color: var(--navy-deep); font-family: var(--font-display); font-size: 2rem; line-height: 1.15; }
.profile-aside-caption > p:not(.role) { margin: .3rem 0 1.2rem; color: var(--muted); }
.profile-details { min-width: 0; }
.profile-about, .profile-experience { background: #fff; border: 1px solid var(--line); padding: clamp(1.35rem, 3vw, 2.2rem); }
.profile-about h2, .profile-experience h2 { margin: 0 0 1rem; color: var(--navy-deep); font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.25rem); line-height: 1.15; }
.profile-about p:not(.eyebrow) { color: var(--muted); }
.profile-about p:last-child { margin-bottom: 0; }
.profile-experience { margin-top: 1.25rem; }
.profile-experience ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.profile-experience li { border-left: 2px solid var(--gold); padding: .15rem 0 .15rem .9rem; color: var(--muted); }
.profile-back { display: inline-flex; margin-top: 1.2rem; color: var(--navy); font-weight: 600; }
.profile-back:hover { color: #9a7940; }

.team-cast {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem;
}
.team-cast .team-photo { aspect-ratio: 1 / 1; }
.team-group { display: grid; gap: .85rem; width: min(100%, 680px); margin-inline: auto; }
.team-group-title { margin: 0; color: var(--navy-deep); font: 600 1.45rem/1.2 var(--font-display); }
.team-card {
  position: relative; overflow: hidden; background: #0a2035;
  border: 0; isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: 0 28px 50px rgba(10,32,53,.28); }
.team-photo {
  aspect-ratio: 3/4; overflow: hidden; background: #0a2035; position: relative;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
  transition: transform .7s ease, filter .45s ease;
  filter: grayscale(.15) contrast(1.04);
}
.team-card:hover .team-photo img {
  transform: scale(1.08); filter: grayscale(0) contrast(1.08) saturate(1.1);
}
.team-card .team-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 3.5rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10,32,53,.55) 38%, rgba(10,32,53,.94) 100%);
  color: #fff;
  transform: translateY(6px); transition: transform .35s ease;
}
.team-card:hover .team-body { transform: none; }
.team-card .role {
  color: var(--gold-soft); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 .35rem;
}
.team-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  margin: 0 0 .4rem; color: #fff; line-height: 1.2;
}
.team-card .team-body > p {
  margin: 0; color: rgba(255,255,255,.72); font-size: .82rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s ease, opacity .35s ease, margin .35s ease;
}
.team-card:hover .team-body > p {
  max-height: 6rem; opacity: 1; margin-top: .35rem;
}
.team-card .profile-link {
  align-self: flex-start; display: inline-flex; gap: .35rem; margin-top: .55rem;
  color: var(--gold-soft); font-size: .76rem; font-weight: 600;
}
.team-card .profile-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Full team page keeps readable bios under photos */
.team-page-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.team-page-group { display: grid; gap: 1rem; }
.team-page-grid .team-card {
  display: grid; grid-template-columns: .68fr 1.32fr; background: #fff;
  border: 1px solid var(--line); box-shadow: none;
}
.team-page-grid .team-card:hover { box-shadow: var(--shadow); }
.team-page-grid .team-photo { aspect-ratio: 1; min-height: 100%; }
.team-page-grid .team-photo img { object-position: center 12%; }
.team-page-grid .team-body {
  position: static; background: transparent; color: inherit;
  padding: 1.6rem 1.5rem; transform: none;
  display: flex; flex-direction: column; justify-content: center;
}
.team-page-grid .team-card .role { color: var(--gold); }
.team-page-grid .team-card h3 { color: var(--navy-deep); font-size: 1.6rem; }
.team-page-grid .team-card .team-body > p,
.team-page-grid .team-card:hover .team-body > p {
  max-height: none; opacity: 1; margin: 0; color: var(--muted); font-size: .92rem;
}
.team-page-grid .team-card .profile-link { margin-top: 1rem; color: var(--navy); font-size: .84rem; }
.team-page-grid .team-card .profile-link:hover { color: #9a7940; }

.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}

/* Insights */
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.insight-card {
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.insight-card-link { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.insight-card img { width: 100%; height: 180px; object-fit: cover; }
.insight-card .body { padding: 1.15rem 1.2rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.insight-card time { color: var(--muted); font-size: .8rem; }
.insight-card h3 { font-size: 1.25rem; margin: .4rem 0 .7rem; }
.insight-card .tag { margin-top: auto; color: var(--navy); font-size: .82rem; }
.insight-more-button {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  margin-top: .85rem; padding: .58rem .9rem; background: var(--navy); color: #fff;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; transition: background .2s, transform .2s;
}
.insight-card-link:hover .insight-more-button, .insight-card:hover .insight-more-button { background: var(--gold); color: var(--navy-deep); transform: translateX(2px); }
.insight-card-link:focus-visible .insight-more-button, .insight-card:focus-visible .insight-more-button { background: var(--gold); color: var(--navy-deep); }
.insight-more { display: inline-flex; margin-top: .8rem; color: var(--navy); font-size: .82rem; font-weight: 600; }
.insight-more:hover { color: #9a7940; text-decoration: underline; text-underline-offset: 3px; }
.article-hero h1 { max-width: 980px; }
.article-page { max-width: 980px; }
.article-featured { display: block; width: 100%; max-height: 540px; object-fit: cover; margin: 0 auto 2rem; }
.article-copy { color: var(--ink); font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.article-copy p { margin: 0 0 1.15rem; }
.article-copy h2, .article-copy h3, .article-copy h4 { margin: 1.8rem 0 .7rem; line-height: 1.35; }
.article-copy h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.article-copy h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
.article-copy img, .article-copy video, .article-copy iframe { max-width: 100%; }
.article-copy img { height: auto; }
.article-copy table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-copy th, .article-copy td { padding: .55rem .7rem; border: 1px solid var(--line); text-align: left; }
.article-copy blockquote { margin: 1.5rem 0; padding: .25rem 1.2rem; border-left: 3px solid var(--gold); color: var(--muted); }
.article-copy a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.article-copy a:hover { color: #9a7940; }
.article-copy .et_pb_section, .article-copy .et_pb_row, .article-copy .et_pb_column { width: 100%; max-width: 100%; margin: 0; padding: 0; }
.archive-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 2rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); }
.archive-links p { margin: 0 .4rem 0 0; color: var(--muted); font-size: .88rem; }
.archive-links a { display: inline-flex; padding: .45rem .75rem; border: 1px solid var(--line); color: var(--navy); font-size: .8rem; font-weight: 600; }
.archive-links a:hover { border-color: var(--gold); color: #9a7940; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.contact-map { padding: 0 0 4rem; }
.contact-map .wrap { overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; height: clamp(280px, 42vw, 480px); border: 0; }
.contact-panel, .contact-form {
  background: #fff; border: 1px solid var(--line); padding: 1.75rem;
  box-shadow: var(--shadow);
}
.contact-panel dl { margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.contact-panel dt {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: .25rem;
}
.contact-panel dd { margin: 0; color: var(--muted); }
.field { display: grid; gap: .35rem; margin-bottom: .9rem; }
.field input, .field textarea {
  border: 1px solid var(--line); padding: .8rem .9rem; background: #fff; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: .8rem; margin-top: .75rem; }

/* CTA band */
.cta-band {
  background: var(--navy-deep); color: #fff; padding: 3.5rem 0;
}
.cta-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 .4rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.75); }

/* Footer */
.site-footer {
  background: #081827; color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem;
}
.site-footer h4 {
  font-family: var(--font-display); color: #fff; margin: 0 0 .8rem; font-size: 1.2rem;
}
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.social-links {
  display: flex; align-items: center; gap: .55rem;
}
.social-links a {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  transition: .25s; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}
.topbar .social-links a {
  width: 28px; height: 28px; border-color: rgba(255,255,255,.28); font-size: .7rem;
}
.social-links a:hover {
  background: var(--gold); border-color: var(--gold); color: var(--navy-deep);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem;
  align-items: center;
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stats strip */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
  margin-top: -1px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.stat {
  text-align: center;
  padding: .75rem .5rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat span { color: var(--muted); font-size: .88rem; }

/* Client marquee */
.clients { background: #fff; border-block: 1px solid var(--line); padding: 2.5rem 0 2.8rem; overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track img {
  height: 78px; width: auto; object-fit: contain;
  filter: none; opacity: 1; transition: transform .3s ease;
}
.marquee-track img:hover { transform: translateY(-2px) scale(1.05); }
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Scroll progress + floating actions */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--navy-soft));
  z-index: 80; pointer-events: none;
}
.float-consult {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70;
  background: var(--gold); color: var(--navy-deep);
  min-height: 48px; padding: 0 1.2rem; border-radius: 999px;
  display: inline-flex; align-items: center; font-weight: 600; font-size: .9rem;
  box-shadow: 0 12px 30px rgba(10,32,53,.25);
  transition: transform .25s, background .25s;
}
.float-consult:hover { transform: translateY(-2px); background: var(--gold-soft); }
.back-top {
  position: fixed; right: 1.25rem; bottom: 4.6rem; z-index: 70;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--navy); color: #fff; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Breadcrumbs */
.breadcrumbs {
  background: #fff; border-bottom: 1px solid var(--line);
  font-size: .82rem; color: var(--muted);
}
.breadcrumbs .wrap {
  max-width: 1200px; margin: 0 auto; padding: .7rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
}
.breadcrumbs a { color: var(--navy); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: .45; }

/* How we work */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem;
  counter-reset: step;
}
.process-card {
  background: #fff; border: 1px solid var(--line); padding: 1.4rem 1.25rem 1.5rem;
  position: relative; transition: transform .3s, box-shadow .3s;
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-card::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-size: 2rem;
  color: var(--gold); line-height: 1; margin-bottom: .7rem;
}
.process-card h3 { margin: 0 0 .45rem; font-size: 1.2rem; }
.process-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq-list { display: grid; gap: .7rem; max-width: 820px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.05rem 1.2rem;
  font-weight: 500; color: var(--navy-deep); display: flex;
  justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.25rem; color: var(--gold); flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 1.2rem 1.15rem; color: var(--muted); font-size: .95rem;
}
.faq-item[open] { border-color: rgba(194,164,106,.55); box-shadow: 0 10px 28px rgba(10,32,53,.06); }

/* Footer newsletter */
.footer-news {
  margin-top: 1rem; display: flex; gap: .45rem; flex-wrap: wrap;
}
.footer-news input {
  flex: 1; min-width: 160px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: #fff; padding: .65rem .8rem;
}
.footer-news input::placeholder { color: rgba(255,255,255,.45); }
.footer-news button {
  border: 0; background: var(--gold); color: var(--navy-deep);
  padding: .65rem 1rem; cursor: pointer; font-weight: 600; font-size: .84rem;
}
.footer-news-note { margin: .45rem 0 0; font-size: .75rem; color: rgba(255,255,255,.45); }

/* Interaction and small-screen refinements */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
button, a { -webkit-tap-highlight-color: transparent; }
.nav-toggle { border-radius: 4px; }
.nav-toggle:hover, .nav-toggle:focus-visible { background: rgba(22,58,95,.07); }
.field input:focus-visible, .field textarea:focus-visible,
.footer-news input:focus-visible, .search-panel input:focus-visible {
  border-color: var(--gold);
  outline-offset: 2px;
}
.hero-arrow { min-width: 38px; min-height: 38px; }
.hero-dots button, .back-top { min-width: 44px; min-height: 44px; }
.faq-item summary:focus-visible { outline-offset: -3px; }

@media (max-width: 520px) {
  .topbar-inner { padding: .55rem 1rem; gap: .35rem; }
  .topbar-inner > span { width: 100%; }
  .topbar-inner > span:last-child { gap: .4rem !important; }
  .brand { gap: .4rem; }
  .brand img { height: 48px; max-width: 150px; }
  .header-tools { gap: .2rem; }
  .search-btn { width: 42px; height: 42px; }
  .hero-content { padding: 5rem 1rem 4.5rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: .25rem; }
  .stat { padding: .85rem .4rem; }
  .dropdown-mega { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; }
  .float-consult { right: .75rem; bottom: .75rem; min-height: 44px; padding: 0 .9rem; }
  .back-top { right: .75rem; bottom: 4rem; }
}

@media (min-width: 761px) {
  .home-page .brand img { height: 90px; max-width: 285px; }
}
@media (max-width: 760px) {
  .home-page .brand img { height: 62px; max-width: 190px; }
  .clients { padding: 2rem 0 2.2rem; }
  .marquee-track img { height: 64px; }
  .team-cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; width: 100%; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .hero-controls { gap: .25rem; padding-inline: 1rem; }
  .hero-dots button { width: 34px; min-width: 34px; }
}

@media (max-width: 1100px) {
  .dropdown-mega { width: min(640px, 86vw); grid-template-columns: repeat(2, 1fr); }
  .brand-text { display: none; }
}
@media (max-width: 1380px) and (min-width: 1101px) {
  .header-inner { gap: .7rem; }
  .brand-text { display: none; }
  .brand img { height: 62px; max-width: 205px; }
  .nav { gap: .82rem; }
  .nav > a, .nav-link { font-size: .84rem; }
  .header-tools { gap: .35rem; }
  .header-cta { padding-inline: .85rem; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(243,246,250,.98); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: .35rem;
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s, opacity .3s, visibility .3s;
    max-height: min(78vh, 640px); overflow: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-item { width: 100%; }
  .nav > a, .nav-link { width: 100%; justify-content: space-between; padding: .55rem 0; }
  .dropdown, .dropdown-mega {
    position: static; transform: none; width: 100%; min-width: 0;
    box-shadow: none; border: 0; background: rgba(22,58,95,.04);
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none; padding: .35rem .4rem .55rem .7rem; margin: 0 0 .35rem;
  }
  .nav-item.is-open > .dropdown,
  .nav-item.is-open > .dropdown-mega { display: grid; }
  .dropdown-mega { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
}
@media (max-width: 980px) {
  .split, .mission-grid, .testimonial-shell, .contact-grid, .footer-grid, .profile-layout {
    grid-template-columns: 1fr;
  }
  .practice-grid, .insights-grid, .team-grid, .pillars, .stats-row, .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-feature { grid-template-columns: 1fr; min-height: 0; }
  .team-feature .team-photo { min-height: 320px; aspect-ratio: 16/11; }
  .team-cast { grid-template-columns: 1fr 1fr; }
  .team-page-grid { grid-template-columns: 1fr; }
  .team-page-grid .team-card { grid-template-columns: .68fr 1.32fr; }
  .brand img { height: 64px; max-width: 210px; }
  .header-inner { min-height: 84px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(243,246,250,.98); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: .35rem;
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .3s, opacity .3s, visibility .3s;
    max-height: min(78vh, 640px); overflow: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-item { width: 100%; }
  .nav > a, .nav-link { width: 100%; justify-content: space-between; padding: .55rem 0; }
  .dropdown, .dropdown-mega {
    position: static; transform: none; width: 100%; min-width: 0;
    box-shadow: none; border: 0; background: rgba(22,58,95,.04);
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none; padding: .35rem .4rem .55rem .7rem; margin: 0 0 .35rem;
  }
  .nav-item.is-open > .dropdown,
  .nav-item.is-open > .dropdown-mega { display: grid; }
  .dropdown-mega { grid-template-columns: 1fr 1fr; }
  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown { transform: none; }
  .header-cta { display: none; }
  .practice-grid, .insights-grid, .team-grid, .pillars, .process-grid { grid-template-columns: 1fr; }
  .team-cast { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .team-page-grid .team-card { grid-template-columns: 1fr; }
  .team-page-grid .team-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .team-feature .team-body { padding: 1.75rem 1.35rem 2rem; }
  .brand img { height: 56px; max-width: 180px; }
  .brand-text strong { font-size: 1.1rem; }
  .header-inner { min-height: 76px; padding: .4rem 1rem; }
  .hero-content { padding-top: 6rem; }
}

