:root {
  --navy: #002952;
  --blue: #4e95d9;
  --purple: #a02b93;
  --ink: #243848;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: white;
  font: 100%/1.55 var(--sans);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #cf741f; outline-offset: 5px; }
.frame { width: min(87%, 1440px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .6rem; left: 1rem; padding: .7rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead { background: white; color: var(--navy); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 86px; }
.brand { display: flex; flex: none; align-items: center; margin-left: -12px; }
.brand img { display: block; width: clamp(215px, 20vw, 265px); height: auto; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.25rem; border: 1px solid #9aacba; font-size: .88rem; text-decoration: none; }
.nav-contact:hover { background: #eef3f7; }
h1, h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-weight: 400; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #d1e2e8; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(238,245,247,.96) 0%,rgba(238,245,247,.88) 32%,rgba(234,243,245,.54) 50%,transparent 72%); }
.hero-inner { padding-block: clamp(60px, 7vw, 112px); }
h1 { font-size: clamp(3.4rem, 5.65vw, 6rem); line-height: 1.02; letter-spacing: -.053em; }
.hero p { max-width: 450px; margin: 1.5rem 0 1.6rem; font-size: clamp(1.04rem, 1.25vw, 1.22rem); line-height: 1.55; color: #163952; }
.button { display: inline-block; padding: .82rem 1.18rem; background: var(--navy); color: white; text-decoration: none; font-size: .9rem; font-weight: 600; }
.button:hover { background: #144469; }
.practices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8.25vw, 148px); padding-block: clamp(46px, 5.1vw, 84px); }
.practice { --accent: var(--blue); border-top: 3px solid var(--accent); padding-top: clamp(18px, 2.1vw, 32px); scroll-margin-top: 24px; }
.advisory { --accent: var(--purple); }
h2 { font-size: clamp(2rem, 3.1vw, 3.35rem); line-height: 1.12; letter-spacing: -.04em; }
.practice p, .about p { margin: 1.1rem 0 0; line-height: 1.62; max-width: 63ch; font-size: clamp(1rem, 1.09vw, 1.14rem); }
.practice ul { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.practice li { padding: .53rem 0 .53rem 1.08rem; border-bottom: 1px solid #e4e9ec; position: relative; font-size: clamp(.94rem, 1.02vw, 1.05rem); }
.practice li:last-child { border-bottom: 0; }
.practice li::before { content: ""; position: absolute; top: 1.14em; left: 0; width: 5px; height: 5px; background: var(--accent); }
.about { background: #f0f4f6; }
.about-inner { display: grid; grid-template-columns: .8fr 1.35fr; gap: 72px; align-items: start; padding-block: clamp(46px, 5.3vw, 84px); }
.about p:first-child { margin-top: 0; }
footer { background: var(--navy); color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2.4rem; padding-block: clamp(42px, 4.2vw, 64px) 1.5rem; }
footer h2 { color: white; font-size: clamp(1.7rem, 2.25vw, 2.7rem); }
.email { display: inline-block; margin-top: .9rem; font-size: clamp(1.06rem, 1.5vw, 1.4rem); text-underline-offset: .25em; text-decoration-thickness: 1px; }
.email:hover { color: #c8e2ff; }
address { align-self: end; font-style: normal; color: #e1eaf2; font-size: .94rem; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid #496781; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.15rem; color: #dfebf5; }
.footer-bottom small, .footer-bottom a { font-size: .8rem; }
.footer-bottom a { text-decoration: none; }
@media (min-width: 1900px) {
  .hero-photo { object-fit: cover; object-position: center 52%; }
  .hero-inner { padding-block: 112px; }
}
@media (max-width: 760px) {
  .frame { width: min(89%, 620px); }
  .masthead-inner { min-height: 68px; gap: .75rem; }
  .brand { margin-left: -11px; }
  .brand img { width: clamp(170px, 47vw, 211px); }
  .nav-contact { padding-inline: .9rem; }
  .hero { display: flex; flex-direction: column; background: #e9f1f4; }
  .hero-inner { order: -1; padding-block: 2.4rem 2rem; }
  .hero-photo { position: static; z-index: auto; display: block; height: clamp(142px, 31vw, 220px); object-position: 80% 52%; }
  .hero::after { display: none; }
  h1 { font-size: clamp(2.6rem, 8.2vw, 3.65rem); }
  .hero p { margin: .95rem 0 1.15rem; max-width: 36ch; }
  .button { padding: .72rem 1rem; }
  .practices { grid-template-columns: 1fr; gap: 2.25rem; padding-block: 2.5rem; }
  .practice { padding-top: 1.15rem; }
  .practice p, .about p { margin-top: .9rem; }
  .practice ul { margin-top: .75rem; }
  .about-inner { grid-template-columns: 1fr; gap: 1.2rem; padding-block: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.65rem; }
}
