:root {
  --red: #225187;
  --red-dark: #225187;
  --ink: #111111;
  --graphite: #282828;
  --muted: #60646c;
  --line: #d8dadd;
  --paper: #ffffff;
  --soft: #f3f4f4;
  --mist: #eef3f5;
  --sage: #dfe8e0;
  --gold: #d5ad63;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 40px 66px;
  align-items: center;
  gap: 0 28px;
  min-height: 106px;
  padding: 0 clamp(18px, 4vw, 48px);
  color: #fff;
  background: transparent;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.topbar.is-scrolled,
.topbar.is-open,
.topbar.is-menu-open,
.inner-page .topbar {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.topbar.is-menu-open .utility-nav {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
  grid-column: 1;
  grid-row: 2;
  height: 66px;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.site-nav {
  display: flex;
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-start;
  gap: clamp(16px, 1.8vw, 30px);
  font-size: 15px;
  font-weight: 700;
}

.utility-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.utility-links,
.utility-context {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
}

.utility-nav a {
  opacity: 0.84;
}

.utility-nav a:hover {
  color: var(--red);
  opacity: 1;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after,
.nav-dropdown > summary::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transition: right 160ms ease;
}

.site-nav a:hover::after,
.nav-dropdown:hover > summary::after,
.nav-dropdown[open] > summary::after {
  right: 0;
}

.site-nav a.active::after,
.nav-dropdown.active > summary::after {
  right: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown[open] {
  z-index: 30;
}

.nav-dropdown > summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::before {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  order: 2;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  display: none;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 0;
  min-width: 470px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  max-height: min(70vh, 680px);
  overflow-y: auto;
  transform: translateX(-50%);
}

.dropdown-menu.service-menu {
  grid-template-columns: minmax(220px, 1fr);
  min-width: 280px;
}

.nav-dropdown.mega-menu .dropdown-menu {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  min-width: min(880px, 76vw);
}

.nav-dropdown.people-menu .dropdown-menu {
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  min-width: min(660px, 70vw);
}

.nav-dropdown.industry-mega .dropdown-menu {
  position: fixed;
  top: 106px;
  left: 0;
  display: none;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  width: 100vw;
  min-width: 0;
  max-height: none;
  min-height: 320px;
  padding: 30px clamp(32px, 5vw, 88px) 58px;
  border-bottom: 0;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
  transform: none;
}

.nav-dropdown.industry-mega:hover .dropdown-menu,
.nav-dropdown.industry-mega[open] .dropdown-menu {
  display: grid;
}

.nav-dropdown.industry-mega .dropdown-menu::before {
  display: none;
}

.dropdown-mega-title {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
}

.nav-dropdown.industry-mega .dropdown-menu > a {
  min-height: 54px;
  padding: 12px 0;
  border: 0;
  color: #3f4145;
  font-size: 15px;
  font-weight: 700;
}

.nav-dropdown.industry-mega .dropdown-menu > a:hover {
  color: var(--red-dark);
  background: transparent;
}

.nav-dropdown.industry-mega .industry-submenu summary {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
  gap: 8px;
  min-height: 54px;
  padding: 12px 0;
  border: 0;
  color: #3f4145;
  font-size: 15px;
  font-weight: 700;
}

.nav-dropdown.industry-mega .industry-submenu {
  width: 100%;
  min-width: 0;
}

.nav-dropdown.industry-mega .industry-submenu[open] > summary {
  color: var(--red-dark);
  background: transparent;
}

.nav-dropdown.industry-mega .industry-submenu summary::after {
  border-left-color: var(--red);
}

.dropdown-section {
  display: grid;
  align-content: start;
}

.dropdown-menu .dropdown-heading {
  min-height: 38px;
  padding: 9px 12px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.industry-submenu {
  position: relative;
}

.industry-submenu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.industry-submenu summary::-webkit-details-marker {
  display: none;
}

.industry-submenu summary::after {
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid currentColor;
  content: "";
}

.industry-submenu[open] > summary {
  color: #fff;
  background: var(--red);
}

.industry-flyout {
  position: static;
  display: none;
  grid-template-columns: 1fr;
  width: 100%;
  min-height: 0;
  padding: 8px 0 12px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.industry-submenu[open] > .industry-flyout {
  display: grid;
}

.industry-flyout a {
  min-height: 34px;
  padding: 5px 0;
  border: 0;
  color: #3f4145;
  font-size: 15px;
  font-weight: 700;
}

.industry-flyout a:hover {
  color: var(--red-dark);
  background: transparent;
}

.industry-flyout .industry-overview {
  color: var(--red-dark);
  font-weight: 800;
}

.industry-flyout-title {
  display: none;
}

.nav-dropdown.industry-mega .industry-submenu--two-columns .industry-flyout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 72px);
  row-gap: 4px;
}

.nav-dropdown.industry-mega .industry-flyout a {
  min-height: 38px;
  padding: 6px 0;
  border: 0;
  color: #3f4145;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.nav-dropdown.industry-mega .industry-flyout a:hover {
  color: var(--red-dark);
  background: transparent;
}

.nav-dropdown.industry-mega .industry-submenu--two-columns .industry-flyout .industry-overview {
  grid-column: 1 / -1;
  color: var(--red-dark);
  font-weight: 800;
}

.dropdown-menu::before {
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 16px;
  content: "";
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown[open] .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  min-height: 44px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  color: #fff;
  background: var(--red);
}

.header-actions {
  display: flex;
  grid-column: 3;
  grid-row: 2;
  align-items: center;
  gap: 12px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.work-link {
  padding: 12px 16px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #1a1a1a;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 54%, rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  padding-top: 50px;
  color: #fff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(52px, 8vw, 70px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 540px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.primary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 800;
}

.primary-button {
  padding: 14px 20px;
  border: 0;
  color: #fff;
  background: var(--red);
  cursor: pointer;
}

.primary-button.dark {
  background: var(--ink);
}

.text-button {
  color: currentColor;
  border-bottom: 2px solid currentColor;
}

.text-button.red {
  color: var(--red);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 4vw, 48px);
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 34px;
  height: 2px;
  background: currentColor;
}

.advisor {
  padding: 74px clamp(18px, 5vw, 64px);
  background: var(--soft);
}

.advisor > * {
  max-width: var(--max);
  margin-inline: auto;
}

.advisor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.advisor-intro h2,
.band h2,
.section-heading h2,
.results h2,
.career-contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero {
  max-width: var(--max);
  margin-inline: auto;
  padding: 154px clamp(18px, 5vw, 64px) 76px;
}

.page-hero.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: end;
}

.page-hero h1 {
  max-width: 880px;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 92px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.page-hero aside {
  padding: 28px;
  color: #fff;
  background: var(--graphite);
}

.page-hero aside strong {
  display: block;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.page-hero aside span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.directory,
.service-library,
.service-detail-grid,
.case-stack,
.career-lanes,
.contact-layout {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 clamp(18px, 5vw, 64px) 88px;
}

.service-library {
  padding-bottom: 88px;
}

.service-viewbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.service-viewbar h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
}

.service-viewbar .is-hidden,
.service-detail-grid article.is-hidden {
  display: none;
}

.directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

.directory article {
  min-height: 230px;
  padding: 28px;
  background: var(--mist);
}

.directory span,
.service-detail-grid article > span {
  color: var(--red);
  font-weight: 800;
}

.directory h2,
.service-detail-grid h2,
.case-stack h2,
.career-lanes h2,
.contact-layout h2 {
  margin: 10px 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

.directory p,
.service-detail-grid p,
.case-stack p,
.career-lanes p,
.contact-layout p {
  color: var(--muted);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-grid.is-filtered {
  grid-template-columns: minmax(0, 1fr);
}

.service-detail-grid article,
.career-lanes article {
  padding: 30px;
  border-top: 4px solid var(--red);
  background: var(--soft);
}

.service-detail-grid h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.service-detail-grid ul {
  margin: 22px 0 0;
  padding-left: 20px;
  font-weight: 800;
}

.case-stack {
  display: grid;
  gap: 20px;
}

.case-stack article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--soft);
}

.case-stack dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.case-stack dt {
  color: var(--red);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.95;
}

.case-stack dd {
  margin: 0 0 14px;
  color: var(--graphite);
  font-weight: 800;
}

.career-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.career-lanes a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--red);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 28px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--soft);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
}

.contact-form .wide,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-layout aside {
  padding: 30px;
  color: #fff;
  background: var(--graphite);
}

.contact-layout aside p {
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.advisor-intro p,
.results-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}

.advisor-panel {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 4vw, 42px);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.choice-grid label:has(input:checked) {
  border-color: var(--red);
  box-shadow: inset 4px 0 0 var(--red);
}

.choice-grid input {
  accent-color: var(--red);
}

.recommendation {
  margin-top: 34px;
  padding: 26px clamp(20px, 4vw, 38px);
  color: #fff;
  background: var(--graphite);
}

.recommendation span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.recommendation h3 {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

.recommendation p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.band {
  padding: 76px clamp(18px, 5vw, 64px);
  color: #fff;
  background: var(--ink);
}

.band-header,
.section-heading,
.results,
.insights,
.career-contact {
  max-width: var(--max);
  margin-inline: auto;
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 38px;
}

.sector-list a {
  min-height: 96px;
  display: flex;
  align-items: end;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

.sector-list a:hover {
  background: var(--red);
}

.services,
.insights {
  padding: 86px clamp(18px, 5vw, 64px);
}

.service-grid {
  max-width: var(--max);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article,
.insight-grid article {
  border-top: 4px solid var(--red);
  padding: 22px;
  background: var(--mist);
}

.service-grid span {
  color: var(--red);
  font-weight: 800;
}

.service-grid h3,
.insight-grid h3 {
  min-height: 62px;
  margin: 14px 0 10px;
  font-size: 23px;
  line-height: 1.12;
}

.service-grid p,
.insight-grid p {
  color: var(--muted);
}

.service-grid a {
  color: var(--red);
  font-weight: 800;
}

.results {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(28px, 7vw, 86px);
  padding: 86px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-stack {
  display: grid;
  gap: 16px;
}

.impact-stack article {
  padding: 26px;
  background: #fff;
  border-left: 6px solid var(--red);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.impact-stack p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
}

.impact-stack strong {
  display: block;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 0.96;
}

.impact-stack span {
  color: var(--graphite);
  font-weight: 700;
}

.section-heading.inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.search-field {
  display: grid;
  gap: 8px;
  min-width: min(320px, 100%);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-field input,
.subscribe-form input,
.search-modal input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.insight-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.insight-grid article.is-hidden {
  display: none;
}

.insight-grid a {
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.career-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.career-contact article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.career-contact article:first-child {
  background: var(--sage);
}

.career-contact article:last-child {
  color: #fff;
  background: var(--red-dark);
}

.career-contact article:last-child .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 24px;
}

.subscribe-form button {
  border: 0;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.search-modal {
  width: min(760px, calc(100% - 32px));
  border: 0;
  padding: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.search-modal::backdrop {
  background: rgba(0, 0, 0, 0.58);
}

.search-modal form {
  display: flex;
  justify-content: end;
}

.search-modal label {
  display: grid;
  gap: 12px;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
}

.search-modal input {
  font-size: 18px;
  font-weight: 500;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.popular-searches button {
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  background: #111;
  color: #fff;
  /*font-size: 13px;*/
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
}

.footer p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 920px) and (min-width: 541px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 0 12px;
    padding: 0 18px;
  }

  .brand {
    gap: 7px;
    font-size: 14px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 10px;
    font-size: 12px;
  }

  .utility-links,
  .utility-context {
    gap: 12px;
  }

  .utility-nav {
    font-size: 9px;
  }

  .work-link {
    padding: 10px 11px;
    font-size: 10px;
  }
}

@media (max-width: 540px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
    grid-template-rows: 72px auto;
    min-height: 72px;
    padding: 0 clamp(18px, 4vw, 32px);
  }

  .brand,
  .header-actions {
    grid-row: 1;
  }

  .brand {
    height: 72px;
  }

  .nav-toggle {
    display: block;
    color: inherit;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav,
  .header-actions,
  .utility-nav {
    display: none;
  }

  .topbar.is-open .site-nav,
  .topbar.is-open .header-actions,
  .topbar.is-open .utility-nav {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .topbar.is-open .site-nav {
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
  }

  .topbar.is-open .utility-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    font-size: 12px;
  }

  .topbar.is-open .utility-links,
  .topbar.is-open .utility-context {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown summary {
    width: fit-content;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: none;
    transform: none;
  }

  .nav-dropdown.mega-menu .dropdown-menu,
  .nav-dropdown.people-menu .dropdown-menu {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .nav-dropdown.industry-mega .dropdown-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-height: 0;
    padding: 22px 18px 32px;
    border-bottom-width: 3px;
    box-shadow: none;
  }

  .dropdown-mega-title {
    font-size: 22px;
  }

  .dropdown-menu::before {
    display: none;
  }

  .industry-flyout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 0 12px;
  }

  .advisor-grid,
  .results,
  .career-contact,
  .page-hero.split,
  .case-stack article,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .sector-list,
  .service-grid,
  .career-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-heading.inline {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 86vh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.38)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 40%);
  }

  h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  .choice-grid,
  .sector-list,
  .service-grid,
  .subscribe-form,
  .directory,
  .service-detail-grid,
  .career-lanes,
  .contact-form,
  .dropdown-menu {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 128px;
  }

  .sector-list a {
    min-height: 68px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== Full-width mega menus (same pattern as Industries) ===== */
.nav-dropdown.full-mega .dropdown-menu {
  position: fixed;
  top: 106px;
  left: 0;
  display: none;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  align-content: start;
  column-gap: clamp(24px, 4vw, 64px);
  width: 100vw;
  min-width: 0;
  min-height: 280px;
  max-height: calc(100vh - 106px);
  padding: 30px clamp(32px, 5vw, 88px) 52px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
  transform: none;
}

.nav-dropdown.full-mega:hover .dropdown-menu,
.nav-dropdown.full-mega[open] .dropdown-menu {
  display: grid;
}

.nav-dropdown.full-mega .dropdown-menu::before {
  display: none;
}

.nav-dropdown.full-mega .dropdown-menu > a,
.nav-dropdown.full-mega .dropdown-section a {
  min-height: 46px;
  padding: 11px 0;
  border: 0;
  color: #3f4145;
  font-size: 15px;
  font-weight: 700;
}

.nav-dropdown.full-mega .dropdown-menu > a:hover,
.nav-dropdown.full-mega .dropdown-section a:hover {
  color: var(--red-dark);
  background: transparent;
}

.nav-dropdown.full-mega.about-mega .dropdown-menu {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(20px, 2.6vw, 44px);
}

.nav-dropdown.full-mega .dropdown-section {
  align-content: start;
  gap: 2px;
}

.nav-dropdown.full-mega .dropdown-section a {
  min-height: 38px;
  padding: 6px 0;
  font-size: 14px;
}

.nav-dropdown.full-mega .dropdown-section .dropdown-heading {
  min-height: 0;
  margin-bottom: 8px;
  padding: 4px 0 10px;
  border-bottom: 2px solid var(--red);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1100px) and (min-width: 541px) {
  .nav-dropdown.full-mega .dropdown-menu,
  .nav-dropdown.full-mega.about-mega .dropdown-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .nav-dropdown.full-mega .dropdown-menu,
  .nav-dropdown.full-mega.about-mega .dropdown-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-height: 0;
    max-height: none;
    padding: 22px 18px 32px;
    box-shadow: none;
  }

  .nav-dropdown.full-mega.about-mega .dropdown-menu {
    grid-template-columns: 1fr;
  }
}

/* ===== Heading entrance animation ===== */
.js [data-heading-anim] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Sub-pages: fast drop-in from above */
.js [data-heading-anim="down"] {
  transform: translateY(-26px);
  transition-duration: 0.4s;
}

.js [data-heading-anim].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-heading-anim] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Social icons ===== */
.utility-social { display: flex; align-items: center; gap: 12px; }
.utility-nav .utility-social a { display: grid; place-items: center; width: 24px; height: 24px; }
.utility-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Mobile header fix ===== */
@media (max-width: 540px) {
  .topbar { grid-template-rows: 72px auto auto auto; }

  /* Open menu: each block gets its own row so nothing sits on top of the logo */
  .topbar.is-open { max-height: 100vh; overflow-y: auto; overscroll-behavior: contain; }
  .topbar.is-open .utility-nav { grid-row: 2; }
  .topbar.is-open .site-nav { grid-row: 3; }
  .topbar.is-open .header-actions { grid-row: 4; padding: 16px 0 24px; }

  .topbar.is-open .utility-nav { order: 0; border-bottom: 1px solid var(--line); }
  .topbar.is-open .utility-context { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }

  /* Bigger social icons for touch */
  .utility-social { gap: 14px; }
  .utility-nav .utility-social a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; opacity: 1; }
  .utility-social svg { width: 22px; height: 22px; }

  /* Hamburger -> X */
  .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle span { transition: transform 200ms ease; }
  .topbar.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .topbar.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  /* Menu text always dark on the white open panel */
  .topbar.is-open { color: var(--ink); }
}

/* ===== Hero slider ===== */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }

/* Every slide fades; the zoom resets only after the fade-out finishes */
.hero-slides .hero-image {
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.9s ease, transform 0s linear 0.9s;
  will-change: opacity, transform;
}

.hero-slides:not(.is-ready) .hero-image:first-child { opacity: 1; }

.hero-slides .hero-image.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1.12);
  transition: opacity 0.9s ease, transform 9.8s linear;
}

/* Title swap (used by the slider) */
.js [data-heading-anim].is-leaving {
  opacity: 0;
  transform: translateY(-14px);
  transition-duration: 0.25s;
}

.hero-controls {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 7vw, 96px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-dots { display: flex; gap: 8px; }

.hero-dot {
  position: relative;
  width: 28px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-dot::before { content: ""; position: absolute; inset: -14px -3px; } /* bigger tap area */
.hero-dot.is-active { background: #fff; }

@media (max-width: 640px) {
  .hero { padding-bottom: 96px; } /* keeps the arrows clear of the buttons */
  .hero-controls { bottom: 22px; gap: 10px; }
  .hero-arrow { width: 42px; height: 42px; }
  .hero-dots { gap: 6px; }
  .hero-dot { width: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides .hero-image,
  .hero-slides .hero-image.is-active { transform: none; transition: opacity 0.3s ease; }
}
