/* Home: the existing palette and photographs, with a simpler reading order. */
body[data-route="home"] .section {
  padding-block: clamp(64px, 6.5vw, 92px);
}

.home-hero {
  background: var(--ivory);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-block: 48px;
}

.home-hero-copy h1 {
  max-width: 560px;
  margin-block: 20px 24px;
  font-size: clamp(3.5rem, 6.1vw, 5.2rem);
  line-height: 1.04;
}

.home-hero-location {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 0.94rem;
}

.home-hero-summary {
  max-width: 490px;
  margin-bottom: 30px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-hero-photo {
  display: block;
  width: 100%;
  max-width: 450px;
  justify-self: end;
  aspect-ratio: 0.76;
  overflow: hidden;
  border-radius: 8px;
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

body[data-route="home"] .microcopy {
  font-size: 0.82rem;
  line-height: 1.65;
}

.home-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}

.home-section-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.home-section-heading > p {
  max-width: 360px;
  margin-bottom: 4px;
  font-size: 0.94rem;
}

.home-practices {
  background: var(--white);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.practice-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  color: var(--body);
  background: var(--paper);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.practice-card:hover {
  border-color: var(--coral-dark);
  background: var(--ivory);
}

.practice-card .icon-disc {
  grid-row: 1 / 4;
  margin: 0;
}

.practice-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
}

.practice-card p {
  margin-bottom: 20px;
  font-size: 0.94rem;
}

.practice-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: end;
  gap: 14px;
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.practice-card-link img,
.business-practice-link img {
  flex-shrink: 0;
}

.business-practice {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  padding: 32px;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.business-practice:hover {
  background: var(--navy-deep);
}

.business-practice .eyebrow {
  margin-bottom: 8px;
  color: #ffb9a4;
}

.business-practice h3 {
  color: var(--white);
  font-size: 1.9rem;
}

.business-practice p:last-child {
  margin-bottom: 0;
  color: #e5e5ed;
  font-size: 0.94rem;
}

.business-practice img {
  filter: brightness(0) invert(1);
}

.business-practice-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  font-weight: 700;
}

.home-profile {
  background: var(--sand);
}

.home-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.home-profile-photo {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
}

.home-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-profile-copy h2 {
  max-width: 560px;
}

.home-profile-copy p {
  font-size: 1rem;
}

.home-profile-copy .home-profile-lead {
  margin-block: 26px 20px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.4;
}

.home-process {
  background: var(--paper);
}

.home-process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-process-steps li {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
}

.step-number {
  display: block;
  margin-bottom: 20px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 2.1rem;
}

.home-process-steps h3 {
  font-size: 1.7rem;
}

.home-process-steps p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.home-process-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.home-process-note img {
  flex-shrink: 0;
}

.home-editorial .article-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.home-editorial .article-image {
  margin-bottom: 0;
  border-radius: 8px;
}

.home-article-copy h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.home-article-copy h3 a {
  text-decoration: none;
}

.home-contact {
  background: var(--sand);
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.home-contact-copy h2 {
  max-width: 500px;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
}

.home-contact-copy > p {
  max-width: 440px;
}

.home-contact-location {
  margin-top: 28px;
  color: var(--coral-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.home-contact-channels {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3.2vw, 44px);
  background: var(--paper);
}

.home-contact-channels h3 {
  font-size: 2rem;
}

.home-contact-channels > p:not(.eyebrow):not(.microcopy) {
  font-size: 0.96rem;
}

.home-contact-channels .button {
  width: 100%;
}

.home-email {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 0.86rem;
}

.home-email a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.home-email img {
  flex-shrink: 0;
}

.home-contact-form {
  grid-column: 1 / -1;
  width: min(100%, 700px);
  justify-self: center;
}

.home-contact-form[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) min(44vw, 260px);
    gap: 0 24px;
    padding-block: 24px 36px;
  }

  .home-hero-copy {
    display: contents;
  }

  .home-hero-intro {
    grid-area: 1 / 1;
    align-self: center;
  }

  .home-hero-copy h1 {
    margin-block: 14px;
    font-size: clamp(1.75rem, 5.5vw, 3.2rem);
    line-height: 1.08;
  }

  .home-hero-location {
    margin-bottom: 0;
    font-size: clamp(0.85rem, 2vw, 0.96rem);
    line-height: 1.55;
  }

  .home-hero-photo {
    grid-area: 1 / 2;
    aspect-ratio: 852 / 1280;
  }

  .home-hero-copy > .button-row {
    grid-area: 2 / 1 / auto / -1;
    margin-top: 22px;
  }

  .home-hero-copy > .home-hero-summary {
    grid-area: 3 / 1 / auto / -1;
    max-width: 660px;
    margin: 20px 0 0;
    font-size: 1rem;
  }

  .home-hero-copy > .microcopy {
    grid-area: 4 / 1 / auto / -1;
    margin-top: 14px;
  }

  .home-section-heading {
    display: block;
  }

  .home-section-heading > p {
    max-width: 560px;
    margin-top: 18px;
  }

  .practice-card {
    gap: 14px;
    padding: 24px;
  }

  .business-practice {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .business-practice-link {
    grid-column: 2;
  }

  .home-profile-grid {
    gap: 32px;
  }

  .home-process-steps {
    gap: 24px;
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-contact-copy > p,
  .home-contact-copy h2 {
    max-width: 600px;
  }
}

@media (max-width: 680px) {
  body[data-route="home"] {
    font-size: 16px;
  }

  .home-hero-grid {
    column-gap: 16px;
  }

  .home-hero-intro .eyebrow {
    font-size: 0.625rem;
    line-height: 1.6;
    letter-spacing: 0.045em;
  }

  .home-hero-copy h1 {
    font-size: clamp(1.65rem, 7vw, 2.7rem);
  }

  .home-hero .button {
    min-height: 52px;
  }

  .home-section-heading {
    margin-bottom: 28px;
  }

  .home-section-heading h2 {
    font-size: 2.3rem;
    line-height: 1.12;
  }

  .practice-grid,
  .home-profile-grid,
  .home-process-steps,
  .home-editorial .article-feature {
    grid-template-columns: 1fr;
  }

  .practice-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0 16px;
    padding: 24px 20px;
  }

  .practice-card .icon-disc {
    width: 42px;
    height: 42px;
  }

  .practice-card h3 {
    font-size: 1.6rem;
  }

  .business-practice {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 24px;
  }

  .business-practice-icon {
    display: none;
  }

  .business-practice-link {
    grid-column: 1;
    justify-content: space-between;
    min-height: 44px;
  }

  .home-profile-photo {
    width: min(100%, 420px);
    justify-self: center;
  }

  .home-process-steps li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 18px;
  }

  .step-number {
    grid-row: 1 / 3;
    font-size: 1.8rem;
  }

  .home-process-steps h3 {
    font-size: 1.55rem;
  }

  .home-process-steps p {
    grid-column: 2;
  }

  .home-process-note {
    align-items: start;
  }

  .home-contact-copy h2 {
    font-size: 2.65rem;
  }
}
