@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --cream: #F7F2EA;
  --paper: #FDFBF7;
  --ink: #2A241E;
  --ink-soft: #5A5348;
  --rust: #9C4229;
  --sage: #5C6B4F;
  --rule: #D9CAB0;
  --max: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--rust); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

h1, h2, h3 {
  font-family: 'Public Sans', -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header / letterhead */
header.site-head {
  padding: 34px 0 0;
  border-bottom: 1px solid var(--rule);
}
header.site-head .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 22px;
}
.mark {
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  display: block;
  width: 300px;
  max-width: 60vw;
  height: auto;
}
.mark .firm {
  display: block;
  font-family: 'Public Sans', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.mark .firm em { font-style: normal; color: var(--rust); }
.mark .tag {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
}
nav.primary {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
nav.primary a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 3px;
  margin-right: 26px;
  border-bottom: 2px solid transparent;
}
nav.primary a:last-child { margin-right: 0; }
nav.primary a:hover, nav.primary a[aria-current="page"] {
  border-bottom-color: var(--rust);
}
.phone-pill {
  color: var(--ink-soft);
  font-size: 14px;
  white-space: nowrap;
}
.phone-pill a { color: var(--rust); text-decoration: none; font-weight: 600; }

/* Hero banner photo */
.hero-banner {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center 35%;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 50px);
  max-width: 32ch;
}
.hero .lede {
  max-width: var(--max);
  font-size: 19px;
  color: var(--ink-soft);
  margin-top: 18px;
}
.contour {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px 0 8px;
}

/* Sections */
section { padding: 44px 0; }
section + section { border-top: 1px solid var(--rule); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 27px; }
.section-head .note { color: var(--ink-soft); font-size: 15px; }

.lead-text {
  max-width: var(--max);
  color: var(--ink-soft);
}

/* Attorney focus cards */
.attorney-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.attorney-card {
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.attorney-card img {
  width: 100%;
  aspect-ratio: 170 / 227;
  object-fit: cover;
  border: 1px solid var(--rule);
  margin-bottom: 14px;
}
.attorney-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}
.attorney-card .role {
  color: var(--sage);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .attorney-cards { grid-template-columns: 1fr; max-width: 260px; }
}

/* Practice areas list */
.areas-list { list-style: none; margin: 0; padding: 0; }
.areas-list li {
  border-top: 1px solid var(--rule);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}
.areas-list li:last-child { border-bottom: 1px solid var(--rule); }
.areas-list h3 {
  font-size: 20px;
  font-weight: 500;
}
.areas-list .kicker {
  color: var(--sage);
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}
.areas-list p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 62ch;
}
@media (max-width: 640px) {
  .areas-list li { grid-template-columns: 1fr; gap: 8px; }
}

/* People / bios */
.people {
  display: grid;
  gap: 40px;
}
.person {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.person:last-child { border-bottom: none; padding-bottom: 0; }
.person .initial,
.person-photo {
  width: 160px;
  height: 213px;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.person .initial {
  border-radius: 50%;
  width: 92px;
  height: 92px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Public Sans', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--rust);
}
.person h3 { font-size: 22px; margin-bottom: 4px; }
.person .role { color: var(--sage); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.person p { color: var(--ink-soft); margin: 0 0 12px; }
.person p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .person { grid-template-columns: 1fr; }
  .person .initial { margin-bottom: 6px; }
}

/* Offices / contact */
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.office {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 26px 26px 24px;
}
.office h3 { font-size: 18px; margin-bottom: 10px; }
.office address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 640px) {
  .offices { grid-template-columns: 1fr; }
}

.contact-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.contact-strip div {
  margin-right: 40px;
}
.contact-strip div .label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.contact-strip div a {
  font-family: 'Public Sans', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
}
.contact-strip div a:hover { color: var(--rust); }

/* Contact form */
.contact-form {
  max-width: 520px;
  margin-top: 8px;
}
.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label {
  font-size: 14px;
  color: var(--ink-soft);
}
.form-row input,
.form-row textarea {
  font-family: 'Public Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 10px 12px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--rust);
  outline-offset: 1px;
}
.contact-form button {
  font-family: 'Public Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--rust);
  border: none;
  border-radius: 2px;
  padding: 12px 26px;
  cursor: pointer;
}
.contact-form button:hover { opacity: 0.9; }

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 30px 0 46px;
  margin-top: 20px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}
footer a { color: var(--ink-soft); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rust);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Mobile refinements */
@media (max-width: 640px) {
  header.site-head .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  nav.primary {
    row-gap: 8px;
  }
  nav.primary a {
    margin-right: 20px;
  }
  .hero-banner {
    max-height: 160px;
  }
  .headline-break {
    display: none;
  }
}
