:root {
  --ink: #1a2118;
  --olive: #3f4734;
  --olive-deep: #2c3326;
  --navy: #17325a;
  --brass: #8d7349;
  --cream: #f4f0e7;
  --paper: #fbf9f5;
  --white: #fffcf8;
  --line: #e3dcd0;
  --muted: #5e6558;
  --danger: #7a2e24;
  --header: 4.5rem;
  --sans: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--olive-deep);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 0.9rem;
  z-index: 10;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 249, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wordmark-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.wordmark-firm {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 1.5rem;
}

.header-phone {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--navy);
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--brass);
}

.site-nav a:hover {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.nav-toggle:focus-visible,
.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.2fr);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.4rem);
  max-width: 8ch;
}

.lede {
  font-size: 1.2rem;
  max-width: 28ch;
  color: var(--olive);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
  max-height: 42rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--olive);
  color: var(--cream);
  text-decoration: none;
  padding: 0.85rem 1.15rem;
  border: 0;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.button:hover {
  background: var(--navy);
  color: var(--cream);
}

.text-link {
  color: var(--ink);
  text-underline-offset: 0.25em;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.practices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.practice {
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}

.practice-index {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--brass);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.practice h3 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.practice p {
  color: var(--muted);
}

.photo-band {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.15fr;
  gap: 0.55rem;
}

.photo-band img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.flag {
  background: var(--cream);
}

.flag img {
  width: min(860px, 100%);
  margin-inline: auto;
}

.visit {
  background: var(--olive-deep);
  color: var(--cream);
}

.visit h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.visit a {
  color: var(--cream);
}

.visit-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.visit .button {
  background: var(--cream);
  color: var(--olive-deep);
}

.visit .button:hover {
  background: white;
  color: var(--navy);
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  max-width: 14ch;
}

.page-hero p {
  margin-top: 1rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.about-layout,
.contact-layout,
.admissions-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.bio-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.bio-nav a {
  color: var(--ink);
  text-underline-offset: 0.25em;
}

.bio {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.bio-photo {
  margin: 0 0 1rem;
}

.bio-photo img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
}

.bio-section {
  display: grid;
  grid-template-columns: 12rem minmax(0, 40rem);
  gap: 0.75rem 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 1rem);
}

.bio-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.bio-section h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 2rem 0 0.75rem;
}

.bio-section .prose > h3:first-child {
  margin-top: 0.35rem;
}

.prose h3 + p {
  margin-top: 0;
}

.bio-lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--olive-deep);
}

.facts {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.facts div {
  padding-left: 1rem;
  border-left: 2px solid var(--line);
}

.facts dt {
  font-weight: 600;
}

.facts dd {
  margin: 0;
  color: var(--muted);
}

.tidy-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.tidy-list li + li {
  margin-top: 0.35rem;
}

.tidy-list-columns {
  columns: 2;
  column-gap: 2rem;
}

.tidy-list-columns li {
  break-inside: avoid;
}

.bio-cta {
  margin-top: 2.25rem !important;
}

.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.prose p + p {
  margin-top: 1.15rem;
}

.prose {
  max-width: 40rem;
}

.split-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.split-lists h2,
.memberships h2 {
  font-size: 1.7rem;
  margin-bottom: 0.9rem;
}

.split-lists ul,
.memberships ul {
  margin: 0;
  padding-left: 1.1rem;
}

.split-lists li + li,
.memberships li + li {
  margin-top: 0.45rem;
}

.memberships {
  margin-top: 2.5rem;
}

.figure-stack {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 4rem;
}

.figure-stack img {
  width: 100%;
  background: var(--cream);
}

.contact-layout {
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1fr);
  padding-bottom: 4.5rem;
}

.address {
  font-style: normal;
}

.address p + p,
.address a {
  display: block;
}

.address .label {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.85rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfc6b6;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.75rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.check input {
  width: auto;
  margin-top: 0.3rem;
}

.form-note,
.form-thanks {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-error {
  color: var(--danger);
  font-size: 0.92rem;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.legal {
  padding-bottom: 4.5rem;
  max-width: 46rem;
}

.legal h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.7rem;
}

.legal p {
  margin-bottom: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-tools {
    margin-left: auto;
  }

  .site-nav {
    display: none;
    margin-left: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.2rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
  }

  .hero,
  .practices,
  .photo-band,
  .visit-grid,
  .about-layout,
  .bio-section,
  .contact-layout,
  .split-lists {
    grid-template-columns: 1fr;
  }

  .tidy-list-columns {
    columns: 1;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo img {
    max-height: 18rem;
    min-height: 14rem;
  }

  .photo-band img {
    height: 12rem;
  }

  .about-photo {
    order: -1;
  }
}

@media print {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header {
    position: static;
  }

  .nav-toggle,
  .skip {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 1.35rem;
  }

  .site-nav a {
    padding: 0;
  }

  .header-tools {
    margin-left: 1.5rem;
  }

  .bio-section,
  .practice,
  .facts div,
  img {
    break-inside: avoid;
  }
}

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