:root {
  --ink: #071b3a;
  --ink-deep: #041329;
  --blue: #174b9c;
  --blue-bright: #2769cf;
  --orange: #f58220;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: rgba(7, 27, 58, 0.15);
  --muted: #5d6a7d;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 128px;
}

.kicker,
.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker-light {
  color: #8eb4f2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  transition: height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  height: 74px;
  background: rgba(4, 19, 41, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 34px;
  color: var(--white);
  background: var(--blue);
  border-bottom: 4px solid var(--orange);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-name {
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 300;
  letter-spacing: 0.18em;
}

.brand-name strong {
  font-weight: 760;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.site-nav a {
  position: relative;
}

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

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

.nav-cta {
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 7px auto;
  background: var(--white);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  height: min(900px, 100svh);
  color: var(--white);
  background: var(--ink-deep);
  overflow: hidden;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
  animation: hero-settle 1.4s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 16, 35, 0.98) 0%, rgba(4, 19, 41, 0.88) 38%, rgba(4, 19, 41, 0.2) 72%),
    linear-gradient(0deg, rgba(3, 16, 35, 0.82) 0%, transparent 42%);
}

.hero-grid {
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, black, transparent 74%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-top: 84px;
}

.hero .eyebrow {
  color: #9fc0f6;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(3.45rem, 7.6vw, 7.2rem);
  line-height: 0.92;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 0.89rem;
  font-weight: 740;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  gap: 24px;
  color: var(--white);
  background: var(--orange);
}

.button-primary:hover {
  background: #df6f12;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(7, 27, 58, 0.18);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-footer p {
  margin: 0;
}

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

.section-index {
  position: absolute;
  top: 126px;
  left: max(24px, calc((100vw - 1180px) / 2));
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.intro {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: clamp(50px, 9vw, 120px);
  padding-top: 210px;
}

.intro-heading h2 {
  max-width: 680px;
}

.intro-copy {
  align-self: end;
  padding-left: 34px;
  border-left: 2px solid var(--orange);
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

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

.section-topline {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 76px;
}

.section-topline > p {
  max-width: 440px;
  margin: 0 0 8px auto;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.expertise-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0 24px;
  min-height: 390px;
  padding: 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: color 240ms ease, background 240ms ease, transform 240ms ease;
}

.expertise-item:hover {
  z-index: 1;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-4px);
}

.expertise-number {
  padding-top: 9px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.expertise-item h3 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
}

.expertise-item > p,
.expertise-item > ul {
  grid-column: 2;
}

.expertise-item > p {
  color: var(--muted);
  transition: color 240ms ease;
}

.expertise-item:hover > p {
  color: rgba(255, 255, 255, 0.72);
}

.expertise-item ul {
  margin: auto 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.86rem;
  font-weight: 650;
}

.expertise-item li {
  position: relative;
  margin-top: 6px;
  padding-left: 18px;
}

.expertise-item li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  content: "+";
}

.approach {
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.approach-backdrop {
  position: absolute;
  right: -0.08em;
  bottom: -0.3em;
  color: rgba(255, 255, 255, 0.025);
  font-size: min(34vw, 560px);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 1;
  user-select: none;
}

.approach-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(60px, 10vw, 140px);
}

.approach-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.approach-intro h2 {
  margin-bottom: 34px;
}

.approach-intro > p:last-child {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.68);
}

.approach-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.approach-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding-block: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-steps span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.approach-steps h3 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.approach-steps p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
}

.sectors {
  padding-top: 210px;
}

.sectors-heading {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 72px;
}

.sectors-heading h2 {
  max-width: 900px;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sector-card {
  min-height: 340px;
  padding: 34px 28px;
  background: var(--paper);
  transition: background 200ms ease, transform 200ms ease;
}

.sector-card:hover {
  z-index: 1;
  background: var(--white);
  transform: translateY(-5px);
}

.sector-card > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 80px;
  color: var(--blue);
  border: 1px solid var(--blue);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.sector-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.12;
}

.sector-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.firm {
  padding-block: 140px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.firm-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(60px, 10vw, 140px);
}

.firm-statement {
  position: relative;
}

.firm-statement::after {
  display: block;
  width: 90px;
  height: 4px;
  margin-top: 44px;
  background: var(--orange);
  content: "";
}

.firm-copy {
  color: var(--muted);
}

.firm-copy .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.52rem;
  line-height: 1.5;
}

.firm-copy blockquote {
  margin: 46px 0 0;
  padding: 28px 0 0 30px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.55;
}

.contact {
  color: var(--white);
  background: var(--blue);
  overflow: hidden;
}

.contact-lines {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(120deg, transparent 49.8%, white 50%, transparent 50.2%),
    linear-gradient(60deg, transparent 49.8%, white 50%, transparent 50.2%);
  background-size: 180px 180px;
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(70px, 12vw, 150px);
  align-items: end;
}

.contact-action > p {
  max-width: 500px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.75);
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 18px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 760;
  word-break: break-word;
  transition: border-color 180ms ease, color 180ms ease;
}

.email-link:hover {
  color: #ffd0a8;
  border-color: var(--orange);
}

.site-footer {
  padding-block: 42px;
  color: var(--white);
  background: var(--ink-deep);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 3px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

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

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .section {
    padding-block: 96px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 100px 32px 60px;
    background: var(--ink-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
  }

  .site-nav .nav-cta {
    margin-top: 20px;
    font-family: var(--sans);
    font-size: 0.9rem;
  }

  .hero {
    min-height: 760px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 16, 35, 0.96) 0%, rgba(4, 19, 41, 0.68) 72%, rgba(4, 19, 41, 0.4) 100%),
      linear-gradient(0deg, rgba(3, 16, 35, 0.88) 0%, transparent 56%);
  }

  .hero h1 {
    max-width: 720px;
  }

  .section-index {
    top: 96px;
    left: max(20px, calc((100vw - 760px) / 2));
  }

  .intro,
  .section-topline,
  .approach-layout,
  .sectors-heading,
  .firm-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro,
  .sectors {
    padding-top: 160px;
  }

  .intro-copy {
    max-width: 680px;
  }

  .section-topline > p {
    margin-left: 0;
  }

  .approach-intro {
    position: static;
  }

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

  .sector-card {
    min-height: 300px;
  }

  .sector-card > span {
    margin-bottom: 58px;
  }
}

@media (max-width: 660px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 72px;
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }

  .section {
    padding-block: 80px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 72px;
    padding-inline: 16px;
  }

  .brand-name {
    font-size: 0.84rem;
    letter-spacing: 0.12em;
  }

  .hero {
    height: auto;
    min-height: 760px;
  }

  .hero-content {
    align-self: start;
    padding-top: 155px;
  }

  .hero h1 {
    margin-bottom: 26px;
    font-size: clamp(3.05rem, 15vw, 4.6rem);
    line-height: 0.97;
  }

  .hero-copy {
    max-width: 94%;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-footer {
    bottom: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding-top: 16px;
    font-size: 0.67rem;
  }

  .hero-location {
    display: none;
  }

  .section-index {
    top: 80px;
    left: 16px;
  }

  .intro,
  .sectors {
    padding-top: 135px;
  }

  .intro-copy {
    padding-left: 22px;
  }

  .section-topline {
    gap: 30px;
    margin-bottom: 50px;
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .expertise-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 12px;
    min-height: 360px;
    padding: 32px 24px;
  }

  .expertise-item h3 {
    font-size: 2rem;
  }

  .approach-layout,
  .firm-layout,
  .contact-layout {
    gap: 54px;
  }

  .approach-steps li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

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

  .sector-card {
    min-height: auto;
  }

  .sector-card > span {
    margin-bottom: 42px;
  }

  .firm {
    padding-block: 90px;
  }

  .firm-copy .lead {
    font-size: 1.3rem;
  }

  .firm-copy blockquote {
    padding-left: 20px;
    font-size: 1.12rem;
  }

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

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
