:root {
  --paper: #f4f1ea;
  --ink: #1b1b18;
  --muted: #68665e;
  --line: #cbc7bd;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", 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: 16px;
  line-height: 1.55;
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: .6rem .8rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
}

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

.site-header,
.site-footer {
  width: min(100% - 3rem, 1440px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header { padding-block: 1.5rem; }

.brand-lockup {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  font-weight: 400;
  text-decoration: none;
}

.brand-lockup__name { letter-spacing: -.08em; line-height: .76; }

.brand-lockup__law {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  width: 100%;
  margin-top: .9em;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .09em;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1;
}

.brand-lockup__law span { padding-left: .3em; }
.brand-lockup__law i { height: 1px; flex: 1; background: currentColor; }
.brand-lockup--small { min-width: 4.5rem; font-size: 1.55rem; white-space: nowrap; }
.brand-lockup--small .brand-lockup__law { gap: .45em; margin-top: .7em; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.nav-list a,
.text-link {
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
}

.hero {
  min-height: min(760px, calc(100vh - 80px));
  width: min(100% - 3rem, 1100px);
  margin-inline: auto;
  display: grid;
  align-content: center;
  justify-items: center;
  padding-block: 6rem;
  text-align: center;
}

.eyebrow,
.detail-label {
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.brand-lockup--hero { width: min(100%, 44rem); margin-top: .4rem; font-size: clamp(4.4rem, 14vw, 11.5rem); }

.hero-copy {
  max-width: 38rem;
  margin: 3rem auto 1.8rem;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.text-link { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: .35rem; }

.content-wrap { width: min(100% - 3rem, 1100px); margin-inline: auto; }

.content-section {
  display: block;
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  scroll-margin-top: 1rem;
}

.section-content { max-width: 42rem; }
.section-content h2 { margin: -.3rem 0 1.25rem; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.section-content p { margin: 0; font-size: 1.03rem; }
.email-link { display: inline-block; margin-top: 1.5rem; font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2rem); text-underline-offset: .25em; }

.contact-details { display: grid; gap: 1.5rem; }
.contact-details address { font-style: normal; }
.contact-details a { text-underline-offset: .25em; }
.practice-list, .team-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.practice-list li { border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.team-card { padding: 1.25rem; border: 1px solid var(--line); }
.team-name { font-family: var(--serif); font-size: 1.5rem !important; }

.site-footer { margin-top: 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; letter-spacing: .02em; }
.site-footer p { margin: 0; }
.site-footer a { text-underline-offset: .25em; }

@media (max-width: 640px) {
  .site-header { align-items: flex-start; }
  .nav-list { justify-content: flex-start; gap: .3rem .8rem; }
  .site-header, .site-footer { width: min(100% - 2rem, 1440px); }
  .hero, .content-wrap { width: min(100% - 2rem, 1100px); }
  .hero { min-height: 72vh; padding-block: 4rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .35rem; }
}

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