:root {
  --dark: #1f2024;
  --dark-deep: #191a1f;
  --warm: #dbc8be;
  --text-light: #f5ede8;
  --text-muted: #d8ccc7;
  --ink: #25252a;
  --site-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--text-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.875;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.site-width {
  width: min(var(--site-width), calc(100% - 96px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 96px));
}

.section-dark {
  background: var(--dark);
}

.section-warm {
  background: var(--warm);
  color: var(--ink);
}

.site-header {
  background: var(--dark-deep);
  padding: 29px 0 24px;
}

.brand {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--text-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.main-nav a:hover {
  color: #fff;
}

.hero {
  padding: 48px 0 55px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: var(--dark-deep);
}

.hero-image {
  height: 480px;
}

.hero-copy {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 480px;
  padding: 48px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 14px;
  color: var(--warm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 51px);
  font-weight: 400;
  line-height: 1.2;
}

.nowrap {
  white-space: nowrap;
}

.hero p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.profile {
  padding: 58px 0 64px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 37% 1fr;
  gap: 94px;
  align-items: start;
}

.portrait {
  aspect-ratio: 553 / 681;
}

.bio {
  padding-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.42;
  text-align: justify;
}

.bio p {
  margin: 0 0 22px;
}

.section-title {
  padding: 0 0 46px;
  text-align: center;
}

.section-title h2,
.services-intro h2,
.contact-info h2 {
  margin: 0;
  color: var(--warm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.35;
}

.section-title h2 {
  color: var(--ink);
}

.services-intro {
  padding: 72px 0 46px;
}

.centered {
  text-align: center;
}

.services-intro p {
  margin: 4px 0 0;
}

.services-list {
  padding: 0 0 72px;
}

.services-list p {
  margin: 0 0 20px;
}

.services-list h3 {
  margin: 20px 0 14px;
  color: var(--warm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.practice-list {
  margin: 0;
  padding-left: 24px;
  color: var(--warm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.875;
}

.practice-list ul {
  margin: 0 0 8px;
  padding-left: 28px;
  color: var(--text-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.contact {
  padding: 58px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  align-items: stretch;
  gap: 72px;
}

.contact-form-wrap {
  padding: 0 34px 42px 0;
}

.contact-form h2 {
  margin: 0 0 24px;
  color: var(--warm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.form-row {
  margin-bottom: 14px;
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9b9999;
  border-radius: 0;
  background: transparent;
  color: var(--text-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  padding: 10px 4px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #a9a6a5;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--warm);
  outline-offset: 2px;
}

.disclaimer {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 18px 0 8px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.disclaimer input {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  accent-color: var(--warm);
}

.form-error {
  min-height: 18px;
  margin: 0 0 12px;
  color: #05c8a1;
  font-size: 12px;
  line-height: 1.35;
}

button {
  min-width: 110px;
  border: 0;
  background: var(--warm);
  color: var(--dark-deep);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  padding: 10px 28px;
}

button:hover {
  background: #eee0d9;
}

.contact-info {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 437px;
  padding: 36px 0;
  text-align: left;
}

.contact-info a,
.contact-info p,
.contact-info address {
  margin: 8px 0 0;
  color: var(--text-light);
  font-size: 15px;
}

.contact-info address {
  font-style: normal;
  line-height: 1.875;
}

.site-footer {
  background: var(--dark-deep);
  padding: 24px 0;
  color: var(--text-light);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 840px) {
  .site-width,
  .narrow {
    width: min(100% - 32px, var(--site-width));
  }

  .hero-grid,
  .profile-grid,
  .contact-grid,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .hero-copy {
    min-height: 340px;
    height: 340px;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .profile-grid {
    gap: 34px;
  }

  .bio {
    font-size: 18px;
  }

  .contact-form-wrap {
    padding-right: 0;
  }
}
