@font-face {
  font-family: DM;
  src: url(fonts/dm-sans.ttf) format("truetype");
  font-display: swap;
}
:root {
  --ink: #2c3537;
  --action: #405b59;
  --rule: #c8cdca;
  color: var(--ink);
  background: #fff;
  font: 100%/1.6 DM, Arial, sans-serif;
}
* { box-sizing: border-box }
body, h1, h2, h3, p { margin: 0 }
.wrap { width: min(88%, 69rem); margin-inline: auto }
a { color: inherit; text-underline-offset: .24em }
a:focus-visible { outline: 3px solid var(--action); outline-offset: 4px }
.masthead, nav, footer, footer div { display: flex; align-items: center }
.masthead, footer { justify-content: space-between; gap: 1.25rem }
.masthead { padding-block: 1.2rem; border-bottom: 1px solid var(--rule) }
.identity, .signature { font-size: 1.23rem; letter-spacing: -.025em }
nav, footer div { gap: clamp(1rem, 2.5vw, 2.2rem); flex-wrap: wrap }
nav a, footer a, .identity { text-decoration: none }
nav a:hover, footer a:hover, .identity:hover { text-decoration: underline }
.cover {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-areas: "heading portrait" "intro portrait" "action portrait";
  align-content: center;
  column-gap: 6%;
  padding-top: clamp(1.75rem, 3.5vw, 3.5rem);
}
.cover-heading { grid-area: heading; align-self: end }
.portrait { grid-area: portrait; width: min(100%, 25rem); height: auto; justify-self: center; align-self: end }
.cover .lead { grid-area: intro; align-self: center }
.cover .action { grid-area: action; place-self: start; margin-bottom: clamp(2rem, 4vw, 4rem) }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 400 }
h1 { font-size: clamp(3.25rem, 5.8vw, 5.6rem); line-height: 1.08; letter-spacing: -.055em }
.role { margin-top: .35rem; font-size: clamp(1.25rem, 1.9vw, 1.65rem) }
.lead { max-width: 39ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; margin: 1.55rem 0 }
.action { display: inline-block; padding: .8rem 1.3rem; background: var(--action); color: white; border-radius: 4px; text-decoration: none }
.action:hover { background: #304744 }
h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.16; letter-spacing: -.045em }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em }
.split, .profile-grid, .contact { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.35fr); gap: 6%; padding-block: clamp(2.6rem, 5.2vw, 5rem) }
.index { border-top: 1px solid var(--rule) }
.consult .wrap { border-bottom: 1px solid var(--rule) }
.prose, .entries p, .profile p, .contact p { font-size: 1.08rem; max-width: 56ch }
.prose p + p, .profile p + p { margin-top: .85rem }
.entries article { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; align-items: center }
.practice-icon { width: 100%; height: auto }
.entries p { grid-column: 1 / -1 }
.entries article + article { border-top: 1px solid var(--rule); padding-top: 1.5rem; margin-top: 1.5rem }
.entries p, .contact p { margin-top: .6rem }
.profile-grid { border-block: 1px solid var(--rule); align-items: start }
.contact { align-items: center }
address { font-style: normal; font-size: clamp(1.05rem, 2vw, 1.6rem); color: var(--action) }
address a { display: table; overflow-wrap: anywhere; max-width: 100% }
address a + a { margin-top: .45rem }
footer { border-top: 1px solid var(--rule); padding-block: 1.4rem; flex-wrap: wrap }
footer div { font-size: .92rem }
.skip { position: absolute; transform: translateY(-160%); padding: .6rem; background: white }
.skip:focus { transform: none }
@media (max-width: 650px) {
  .masthead { align-items: flex-start; flex-direction: column; gap: .55rem; padding-block: .9rem }
  nav { gap: .35rem 1rem; font-size: .92rem }
  nav a { padding-block: .2rem }
  .split, .profile-grid, .contact { grid-template-columns: 1fr; gap: 1.25rem }
  .cover {
    grid-template-columns: minmax(0, 1fr) 39%;
    grid-template-areas: "heading heading" "intro intro" "action portrait";
    column-gap: .6rem;
  }
  .cover-heading { align-self: center }
  .portrait { max-width: 11rem; justify-self: end }
  .cover .action { align-self: center; margin-bottom: 1rem; padding-inline: 1rem; text-align: center }
  .cover .lead { margin: 1rem 0 .35rem }
  h1 { font-size: clamp(2.25rem, 8.6vw, 3.25rem) }
  .role { font-size: 1.05rem }
  .entries article { grid-template-columns: 2.4rem 1fr; column-gap: .95rem }
}
