:root {
  --ink: #171a1d;
  --charcoal: #242223;
  --stone: #deded9;
  --stone-light: #ebeae5;
  --paper: #f5f2eb;
  --white: #f7f5f0;
  --navy: #253b58;
  --dark-muted: #c6c1bb;
  --dark-line: #777371;
  --max: 1180px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville,
    "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 28px;
  top: 14px;
  z-index: 10;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 9px 14px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px max(4vw, calc((100vw - var(--max)) / 2));
  background: var(--charcoal);
  color: var(--white);
}

.brand {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 30px;
  color: var(--dark-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: var(--white);
}

.hero,
.introduction,
.practice,
.request,
.site-footer {
  padding-left: max(4vw, calc((100vw - var(--max)) / 2));
  padding-right: max(4vw, calc((100vw - var(--max)) / 2));
}

.hero {
  min-height: 390px;
  padding-top: 52px;
  padding-bottom: 78px;
  background: var(--charcoal);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 25px;
  color: #aaa5a0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(54px, 5.8vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 span {
  display: inline-block;
  margin-top: 0.28em;
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(39px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.introduction {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(56px, 9vw, 130px);
  align-items: center;
  min-height: 480px;
  padding-top: 82px;
  padding-bottom: 88px;
  background: var(--stone);
}

.introduction-copy {
  max-width: 650px;
}

.introduction-copy p {
  margin-bottom: 20px;
  color: #313230;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  border: 1px solid var(--ink);
  padding: 12px 23px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus {
  background: var(--ink);
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 132px;
  gap: 34px;
  align-items: center;
}

.contact-panel h2 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel p,
.site-footer address {
  margin: 0 0 10px;
  font-size: 14px;
  font-style: normal;
}

.contact-panel img {
  display: block;
  width: 132px;
  height: 186px;
  object-fit: cover;
}

.practice {
  padding-top: 84px;
  padding-bottom: 30px;
  background: var(--charcoal);
  color: var(--white);
}

.practice > h2 {
  margin-bottom: 48px;
}

.services {
  margin-left: clamp(0px, 5vw, 84px);
}

.service {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(42px, 8vw, 115px);
  padding: 36px 0 42px;
  border-bottom: 1px solid var(--dark-line);
}

.service p {
  max-width: 650px;
  margin-bottom: 18px;
  color: var(--dark-muted);
}

.service .credential {
  color: var(--white);
  font-weight: 600;
}

.request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(48px, 10vw, 150px);
  align-items: center;
  min-height: 390px;
  padding-top: 76px;
  padding-bottom: 82px;
  background: var(--stone-light);
}

.request > div {
  max-width: 650px;
}

.request p {
  max-width: 610px;
  color: #4e4d49;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
}

.request strong {
  color: var(--ink);
}

.button-dark {
  min-width: 210px;
  margin-top: 0;
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus {
  background: transparent;
  color: var(--navy);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 42px;
  background: var(--stone-light);
  color: var(--navy);
  border-top: 1px solid #c7c6c0;
}

.site-footer h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.site-footer address {
  justify-self: end;
  color: #454c55;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    padding-top: 27px;
  }

  nav {
    flex-direction: column;
    gap: 7px;
    text-align: right;
  }

  .hero {
    min-height: 340px;
    padding-top: 40px;
    padding-bottom: 62px;
  }

  .introduction {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .contact-panel {
    max-width: 480px;
  }

  .services {
    margin-left: 0;
  }

  .service {
    grid-template-columns: 0.65fr 1.35fr;
    gap: 36px;
  }

  .request {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .button-dark {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header {
    display: block;
  }

  nav {
    margin-top: 20px;
    text-align: left;
  }

  .hero {
    min-height: 310px;
  }

  h1 {
    font-size: clamp(47px, 14vw, 66px);
  }

  .contact-panel {
    grid-template-columns: 1fr 105px;
    gap: 22px;
  }

  .contact-panel img {
    width: 105px;
    height: 148px;
  }

  .practice {
    padding-top: 62px;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 30px 0 34px;
  }

  .service h3 br {
    display: none;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer address {
    justify-self: start;
  }
}
