:root {
  --paper: #f8f7f4;
  --paper-2: #f2f0eb;
  --ink: #171717;
  --muted: #5f6263;
  --line: #d3d0c9;
  --gold: #bd8b44;
  --dark: #191a1a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

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

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  width: 235px;
  border-right: 1px solid var(--line);
  background: rgba(248, 247, 244, .96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0 110px;
}

.brand {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.brand-name {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.05;
}

.brand-line {
  margin-top: 20px;
  color: #4e5455;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

.index-nav {
  width: 100%;
  padding-left: 42px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
}

.rail {
  width: 1px;
  height: 96px;
  margin: 0 0 66px 76px;
  background: #a9aaa6;
}

.nav-title {
  margin-bottom: 22px;
  color: #404445;
}

.index-nav a {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 17px 0;
}

.index-nav a.active::before {
  content: "";
  position: absolute;
  left: -18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.index-nav span {
  color: #6b6d6e;
}

.sidebar-foot {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}

.sidebar-foot p {
  margin: 6px 0;
}

.sidebar-foot span {
  display: block;
  width: 34px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--gold);
}

main {
  margin-left: 235px;
  min-height: 100vh;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(440px, 1fr);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy {
  padding: 160px 70px 80px;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(248,247,244,.94) 78%, rgba(248,247,244,.2) 100%);
  z-index: 1;
}

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

h1 {
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: .98;
  letter-spacing: 0;
}

.gold-rule {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 48px;
  background: var(--gold);
}

.hero-copy p {
  max-width: 405px;
  margin-bottom: 52px;
  color: #4f5556;
  font-size: 15px;
}

.text-link,
.small-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 11px;
  font-weight: 800;
}

.text-link span,
.small-link span {
  font-size: 18px;
  letter-spacing: 0;
}

.hero-image {
  min-height: 640px;
  background:
    linear-gradient(90deg, rgba(248,247,244,.96) 0%, rgba(248,247,244,.52) 18%, rgba(248,247,244,0) 42%),
    url("assets/courthouse-hero.png") center right / cover no-repeat;
  filter: grayscale(1) sepia(.13) contrast(.94) brightness(1.05);
  transform: scale(1.03);
}

.section {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.section-intro h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: .98;
  letter-spacing: 0;
  margin-bottom: 26px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 34px;
  font-size: 11px;
  font-weight: 600;
}

.kicker i,
.matter i {
  display: block;
  width: 62px;
  height: 1px;
  background: #979993;
}

.practice {
  min-height: 420px;
  display: grid;
  grid-template-columns: 200px repeat(4, minmax(155px, 1fr));
  padding: 70px 58px 72px;
  column-gap: 36px;
}

.practice-card {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.practice-card .number {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.practice-card h3 {
  margin-bottom: 24px;
  font-size: 15px;
}

.practice-card p {
  min-height: 116px;
  color: var(--muted);
  font-size: 12px;
}

.small-link {
  gap: 14px;
  font-size: 10px;
}

.attorneys {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 70px;
  padding: 78px 58px 70px;
}

.attorneys .section-intro p,
.matters .section-intro p,
.contact .section-intro p {
  max-width: 220px;
  margin: 40px 0 46px;
  font-size: 12px;
}

.attorney {
  display: grid;
  grid-template-columns: 112px 190px 1fr 120px;
  gap: 38px;
  align-items: center;
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.attorney:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.portrait {
  width: 112px;
  aspect-ratio: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.25), rgba(0,0,0,.05)),
    radial-gradient(circle at 50% 31%, #2b2f30 0 10%, transparent 11%),
    linear-gradient(70deg, transparent 38%, #161819 39% 63%, transparent 64%),
    linear-gradient(180deg, #ececea 0%, #d5d5d2 100%);
  filter: grayscale(1);
}

.portrait-two {
  background:
    radial-gradient(circle at 50% 31%, #202426 0 10%, transparent 11%),
    linear-gradient(72deg, transparent 34%, #121415 35% 66%, transparent 67%),
    linear-gradient(180deg, #efefed 0%, #d2d2cf 100%);
}

.portrait-three {
  background:
    radial-gradient(circle at 50% 29%, #202426 0 9%, transparent 10%),
    linear-gradient(70deg, transparent 38%, #191b1c 39% 63%, transparent 64%),
    linear-gradient(180deg, #f0f0ee 0%, #d4d4d1 100%);
}

.attorney h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.attorney div span {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 800;
}

.attorney p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.matters {
  display: grid;
  grid-template-columns: 250px repeat(3, 1fr);
  gap: 44px;
  padding: 74px 58px 72px;
}

.matter {
  min-height: 210px;
  padding-left: 46px;
  border-left: 1px solid var(--line);
}

.matter h3 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.matter p {
  max-width: 220px;
  color: #343839;
  font-size: 12px;
  font-weight: 500;
}

.matter span {
  display: block;
  margin: 34px 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.matter i {
  width: 26px;
  background: var(--gold);
}

.stats {
  min-height: 230px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 48px 90px;
  color: #fff;
  background:
    linear-gradient(rgba(19,20,20,.9), rgba(19,20,20,.94)),
    url("assets/courthouse-hero.png") center / cover no-repeat;
}

.stats div {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.28);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.stats span {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 270px repeat(3, 1fr);
  gap: 50px;
  padding: 70px 58px;
}

.contact-card {
  min-height: 205px;
  padding-left: 52px;
  border-left: 1px solid var(--line);
}

.icon {
  margin-bottom: 22px;
  color: #3f4748;
  font-size: 18px;
}

.icon.mail {
  margin-top: 34px;
}

.contact-card h3 {
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 800;
}

.contact-card p {
  color: #303435;
  font-size: 12px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  font-size: 12px;
  font-weight: 700;
}

footer {
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 88px;
  color: #fff;
  background: var(--dark);
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 22px;
}

@media (max-width: 1080px) {
  .sidebar {
    position: static;
    width: auto;
    min-height: auto;
    flex-direction: row;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .index-nav,
  .sidebar-foot {
    display: none;
  }

  main {
    margin-left: 0;
  }

  .hero,
  .practice,
  .attorneys,
  .matters,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 70px 34px 34px;
  }

  .hero-image {
    min-height: 390px;
  }

  .practice,
  .attorneys,
  .matters,
  .contact {
    padding: 54px 34px;
  }

  .practice-card,
  .matter,
  .contact-card {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .attorney {
    grid-template-columns: 92px 1fr;
    gap: 22px;
  }

  .portrait {
    width: 92px;
  }

  .attorney p,
  .attorney .small-link {
    grid-column: 2;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
    padding: 50px 24px;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 40px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 54px;
  }

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

  .stats div {
    border-right: 0;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 24px 34px;
  }
}
