:root {
  --ink: #11151c;
  --navy: #0c233f;
  --blue: #164b73;
  --teal: #14736f;
  --gold: #c49a4a;
  --rust: #9c4f2f;
  --ivory: #f6f1e8;
  --paper: #fffdf8;
  --muted: #657080;
  --line: rgba(17, 21, 28, 0.14);
  --white: #ffffff;
  --max: 1200px;
  --header: 78px;
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
}

body.is-loaded .site-header {
  transform: translateY(0);
  opacity: 1;
}

body.is-nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 44px);
  color: var(--navy);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(17, 21, 28, 0.08);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 520ms ease, transform 520ms ease, background 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--paper);
  background: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: 1.08rem;
}

.brand em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.header-actions > a:first-child {
  color: var(--muted);
  font-size: 0.78rem;
}

.header-cta,
.button,
.search-shell button,
.footer-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta {
  padding: 0 16px;
  color: var(--paper);
  background: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  padding: clamp(34px, 6vw, 80px) clamp(18px, 5vw, 70px);
  overflow: hidden;
  color: var(--white);
}

.hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.08) translateY(calc(var(--hero-shift, 0) * 1px));
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 25, 46, 0.96) 0%, rgba(9, 25, 46, 0.72) 42%, rgba(9, 25, 46, 0.28) 100%),
    linear-gradient(0deg, rgba(9, 25, 46, 0.82), rgba(9, 25, 46, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding-bottom: 28px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease 120ms, transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.eyebrow,
.section-kicker {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 0;
  max-width: 790px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.4rem;
  font-weight: 400;
  line-height: 0.95;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
  line-height: 1.6;
}

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

.button {
  min-width: 168px;
  padding: 0 20px;
  font-weight: 850;
}

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.search-shell button:hover,
.search-shell button:focus-visible,
.footer-form button:hover,
.footer-form button:focus-visible {
  transform: translateY(-2px);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(24px, 5vw, 70px);
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr);
  gap: 10px 14px;
  width: min(340px, calc(100% - 36px));
  padding: 22px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--navy);
  border-left: 4px solid var(--gold);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms ease 360ms, transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 360ms;
}

body.is-loaded .hero-content,
body.is-loaded .hero-panel {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .hero > img {
  transform: scale(1.02) translateY(calc(var(--hero-shift, 0) * 1px));
}

.hero-panel strong {
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 0.9;
}

.hero-panel span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.quick-search,
.intro,
.service-section,
.industries,
.team,
.insights,
.recognition,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-right: clamp(18px, 4vw, 34px);
  padding-left: clamp(18px, 4vw, 34px);
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.intro,
.service-section,
.industries,
.team,
.insights,
.recognition {
  position: relative;
  overflow: hidden;
}

.intro::before,
.service-section::before,
.team::before,
.insights::before,
.recognition::before {
  position: absolute;
  top: 0;
  left: clamp(18px, 4vw, 34px);
  width: min(180px, 28vw);
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.intro.is-visible::before,
.service-section.is-visible::before,
.team.is-visible::before,
.insights.is-visible::before,
.recognition.is-visible::before {
  transform: scaleX(1);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease,
    box-shadow 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal[data-reveal="left"] {
  transform: translateX(-34px);
}

.scroll-reveal[data-reveal="right"] {
  transform: translateX(34px);
}

.scroll-reveal[data-reveal="scale"] {
  transform: translateY(24px) scale(0.96);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.quick-search label {
  color: var(--navy);
  font-weight: 850;
}

.search-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.search-shell input {
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  outline: 0;
}

.search-shell button {
  min-height: 52px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(44px, 7vw, 86px);
}

.intro h2,
.section-heading h2 {
  margin: 10px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-section,
.industries,
.team,
.insights,
.recognition {
  padding-top: clamp(52px, 7vw, 86px);
  padding-bottom: clamp(52px, 7vw, 86px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(260px, 0.5fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.5;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-bar button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
}

.filter-bar button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 296px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease,
    box-shadow 180ms ease;
}

.service-card.is-hidden {
  display: none;
}

.service-card:hover {
  background: var(--ivory);
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(17, 21, 28, 0.08);
}

.service-card span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.service-card h3,
.team h3,
.featured-insight h3 {
  margin: 22px 0 0;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.58rem;
  font-weight: 400;
  line-height: 1.1;
}

.service-card p,
.team p,
.featured-insight p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-card a,
.featured-insight a {
  width: fit-content;
  margin-top: auto;
  color: var(--blue);
  font-weight: 850;
}

.industries {
  background: var(--navy);
  color: var(--white);
  max-width: none;
}

.industries .section-heading,
.industries .industry-list {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.industries h2 {
  color: var(--white);
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.industry-list a {
  min-height: 116px;
  display: flex;
  align-items: center;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-family: Georgia, serif;
  font-size: 1.28rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.industry-list a:hover,
.industry-list a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(6px);
}

.industry-list a:nth-child(3n) {
  border-right: 0;
}

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

.team-grid article {
  padding: 28px;
  background: var(--ivory);
  border: 1px solid rgba(17, 21, 28, 0.08);
  border-radius: 6px;
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease;
}

.team-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(17, 21, 28, 0.1);
}

.avatar {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 24px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.team-grid span,
.featured-insight span,
.insight-list span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.78fr);
  gap: 22px;
}

.featured-insight {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  color: var(--white);
  background: linear-gradient(135deg, var(--ivory), var(--white));
  border-left: 5px solid var(--gold);
}

.featured-insight h3 {
  max-width: 720px;
  font-size: 3.55rem;
}

.insight-list {
  display: grid;
  gap: 12px;
}

.insight-list a {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 112px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 850;
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background 180ms ease;
}

.insight-list a:hover,
.insight-list a:focus-visible {
  background: var(--ivory);
  border-color: rgba(196, 154, 74, 0.48);
  transform: translateX(6px);
}

.recognition {
  border-top: 1px solid var(--line);
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: var(--line);
}

.recognition-grid strong {
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--navy);
  background: var(--paper);
  text-align: center;
  transition: color 180ms ease, background 180ms ease;
}

.recognition-grid strong.is-visible {
  animation: recognitionGlow 900ms ease both;
}

@keyframes recognitionGlow {
  0% {
    background: var(--paper);
  }

  42% {
    background: #efe4cf;
  }

  100% {
    background: var(--paper);
  }
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-top: 42px;
  padding-bottom: 42px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--ink);
  max-width: none;
}

.site-footer > * {
  max-width: 360px;
}

.footer-brand .brand-mark {
  background: var(--gold);
  color: var(--ink);
}

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

.site-footer p,
.site-footer address {
  margin: 18px 0 0;
  font-style: normal;
  line-height: 1.6;
}

.site-footer address strong,
.footer-form label {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--gold);
}

.footer-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 12px;
}

.footer-form input {
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  outline: 0;
}

.footer-form button {
  min-height: 46px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--gold);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 18px;
    left: 18px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(17, 21, 28, 0.16);
    transform: translateY(-140%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .hero {
    min-height: 760px;
    align-items: center;
  }

  .hero h1 {
    font-size: 4.7rem;
  }

  .intro h2,
  .section-heading h2 {
    font-size: 3.2rem;
  }

  .featured-insight h3 {
    font-size: 2.75rem;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }

  .quick-search,
  .intro,
  .section-heading,
  .insight-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .industry-list a:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .industry-list a:nth-child(2n) {
    border-right: 0;
  }

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

@media (max-width: 640px) {
  :root {
    --header: 68px;
  }

  .site-header {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand em,
  .header-actions > a:first-child {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: calc(100vh - var(--header));
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .intro h2,
  .section-heading h2 {
    font-size: 2.45rem;
  }

  .featured-insight h3 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .quick-search,
  .search-shell,
  .service-grid,
  .industry-list,
  .team-grid,
  .recognition-grid,
  .footer-form div {
    grid-template-columns: 1fr;
  }

  .industry-list a,
  .industry-list a:nth-child(2n),
  .industry-list a:nth-child(3n) {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .site-header,
  .hero-content,
  .hero-panel,
  .hero > img,
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
