:root {
  --bg: #f7f7f3;
  --paper: #ffffff;
  --wash: #edece6;
  --ink: #151513;
  --muted: #64625b;
  --faint: rgba(21, 21, 19, 0.12);
  --strong: #111111;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", Times, 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;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--strong);
  color: #fff;
}

.topbar {
  width: min(var(--max), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: center;
  gap: 30px;
}

.brand img {
  width: 166px;
}

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}

.site-nav a,
.topbar-cta,
.btn {
  text-decoration: none;
}

.topbar-cta {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}

.menu-toggle {
  display: none;
}

.hero,
.section,
.quick-contact,
.footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: min(760px, calc(100dvh - 150px));
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  padding: 34px 0 58px;
}

.label {
  margin: 0 0 26px;
  color: #33332f;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 610px;
  margin-bottom: 26px;
  font-size: clamp(40px, 5vw, 60px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4.25vw, 52px);
}

h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
}

.hero-copy > p:not(.label),
.section-head p:not(.label),
.bio p,
.contact-info p,
.practice-list p,
.steps p,
.faq p {
  color: var(--muted);
  font-size: 15px;
}

.hero-copy > p:not(.label),
.section-head {
  max-width: 660px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 21px;
  border: 1px solid var(--strong);
  background: var(--strong);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.btn-ghost {
  background: transparent;
  color: var(--strong);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.portrait {
  position: relative;
  margin: 0;
  max-height: 700px;
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 50% 34%;
}

.portrait figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 250px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 12px;
}

.hero-detail {
  position: absolute;
  left: -48px;
  bottom: -34px;
  width: min(230px, 42%);
  margin: 0;
  border: 12px solid var(--bg);
  background: var(--bg);
}

.hero-detail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% 52%;
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.quick-contact a {
  display: grid;
  gap: 8px;
  padding: 24px 24px 24px 0;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.1;
}

.quick-contact a + a {
  padding-left: 24px;
  border-left: 1px solid var(--faint);
}

.quick-contact span {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.photo-band {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 0.78fr 0.78fr;
  gap: 18px;
  padding: 52px 0 0;
}

.photo-card {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--wash);
}

.photo-card-large {
  min-height: 430px;
}

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

.photo-card:nth-child(2) img {
  object-position: 50% 62%;
}

.photo-card:nth-child(3) img {
  object-position: 50% 44%;
}

.photo-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 86px 0;
  border-bottom: 1px solid var(--faint);
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(42px, 7vw, 88px);
}

.practice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--faint);
  border-left: 1px solid var(--faint);
}

.practice-list article {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.42);
  border-right: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.practice-list span {
  display: block;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 12px;
}

.case-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.85fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.case-copy p:not(.label) {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
}

.case-visuals {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 16px;
  align-items: end;
}

.case-visuals img {
  width: 100%;
  object-fit: cover;
}

.case-visuals img:first-child {
  aspect-ratio: 4 / 5;
  object-position: 50% 62%;
}

.case-visuals img:last-child {
  aspect-ratio: 4 / 3;
}

.case-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 4px 0 0;
  border-top: 1px solid var(--faint);
  border-left: 1px solid var(--faint);
}

.case-points div {
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.case-points dt {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.1;
}

.case-points dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.bio {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  background: linear-gradient(var(--wash), var(--wash)) center / 100vw 100% no-repeat;
}

.bio-image {
  max-height: 520px;
  overflow: hidden;
}

.bio-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 50% 32%;
}

.process {
  display: grid;
  gap: 42px;
}

.process-photo {
  margin: 0;
  max-height: 420px;
  overflow: hidden;
}

.process-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 50% 45%;
}

.compact {
  max-width: 780px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--faint);
  border-left: 1px solid var(--faint);
}

.steps li {
  padding: 28px;
  min-height: 210px;
  border-right: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.steps strong {
  display: block;
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  background: linear-gradient(var(--wash), var(--wash)) center / 100vw 100% no-repeat;
}

.location-section p:not(.label) {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
}

.location-photo {
  margin: 0;
  max-height: 560px;
  overflow: hidden;
}

.location-photo img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: 50% 50%;
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(36px, 7vw, 90px);
}

.faq-list {
  border-top: 1px solid var(--faint);
}

details {
  border-bottom: 1px solid var(--faint);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}

details p {
  max-width: 620px;
  margin-bottom: 24px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(38px, 7vw, 92px);
  border-bottom: 0;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}

.contact-lines a {
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
  text-decoration: none;
}

address {
  margin: 0 0 18px;
  color: var(--muted);
  font-style: normal;
}

.note {
  max-width: 540px;
}

.contact-form {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--faint);
}

.contact-form label,
legend {
  color: #34342f;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--faint);
  background: #fbfbf8;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--strong);
}

fieldset {
  display: flex;
  gap: 18px;
  margin: 8px 0 10px;
  padding: 0;
  border: 0;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0;
  text-transform: none;
}

fieldset input {
  width: auto;
}

.error,
.success,
.privacy {
  margin: 0;
  font-size: 13px;
}

.error {
  min-height: 18px;
  color: #9a3324;
}

.success {
  color: #215f3a;
}

.privacy {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--faint);
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .topbar {
    width: min(var(--max), calc(100% - 32px));
    grid-template-columns: 1fr auto;
    min-height: 70px;
  }

  .brand img {
    width: 150px;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    place-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--faint);
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--ink);
  }

  .site-nav,
  .topbar-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
    padding-bottom: 18px;
  }

  .hero,
  .section,
  .quick-contact,
  .photo-band,
  .footer {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero,
  .split,
  .case-flow,
  .bio,
  .location-section,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .photo-band,
  .practice-list,
  .case-points,
  .steps,
  .quick-contact {
    grid-template-columns: 1fr;
  }

  .photo-band {
    padding-top: 36px;
  }

  .photo-card,
  .photo-card-large {
    min-height: 290px;
  }

  .case-points {
    margin-top: 0;
  }

  .quick-contact a,
  .quick-contact a + a {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--faint);
  }

  .quick-contact a:first-child {
    border-top: 0;
  }

  .section {
    padding: 62px 0;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(37px, 11vw, 42px);
  }

  h2 {
    font-size: 34px;
  }

  .actions,
  .footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .portrait img {
    min-height: 360px;
    max-height: 430px;
  }

  .hero-detail {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    justify-self: end;
    width: min(150px, 44%);
    margin: -42px 14px 0 0;
    border-width: 8px;
  }

  .practice-list article,
  .case-points div,
  .steps li,
  .contact-form {
    padding: 22px;
  }

  .case-visuals {
    grid-template-columns: 1fr;
  }

  .process-photo img,
  .location-photo img {
    min-height: 300px;
  }

  fieldset {
    flex-direction: column;
    gap: 8px;
  }
}
