/* Homepage. Shared tokens, header, and footer live in style.css.
   Every section uses one 7/5 grid with one column gap (--split-gap), so right-hand elements share an edge. */

/* Editorial hero: headline and lede on the left, a numbered practice index on the right */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  column-gap: var(--split-gap);
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(3.5rem, 7vw, 5rem);
  border-bottom: 1px solid var(--rule);
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4.6vw + .5rem, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero .lede {
  max-width: 34rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  color: var(--muted);
  text-wrap: pretty;
}

.hero-index {
  display: block;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.hero-index li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  padding: 1.15rem 0 1.2rem;
  border-bottom: 1px solid var(--rule);
  color: var(--soft);
  font-size: .95rem;
  line-height: 1.5;
}

.hero-index li::before {
  content: none;
}

/* The hero's own hairline closes the list; a second rule here would stack. */
.hero-index li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-index strong {
  display: block;
  margin-bottom: .2rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
}

.index-num {
  padding-top: .3rem;
  color: var(--soft);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.hero .actions {
  align-items: center;
  gap: 1.75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.arrow-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.arrow-link:hover,
.arrow-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}

/* Text on the left, a supporting panel on the right (Practice; About and Contact) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem var(--split-gap);
  align-items: start;
}

.panel {
  padding: 1.5rem 1.75rem 1.75rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.focus h3 {
  font-size: 1rem;
  letter-spacing: .01em;
}

.focus ul {
  margin-top: .75rem;
  font-size: 1rem;
}

.contact h2 {
  font-size: 1.375rem;
  letter-spacing: -.005em;
}

.contact p {
  margin-top: .6rem;
  font-size: 1rem;
}

.contact .actions {
  margin-top: 1.25rem;
}

.elsewhere {
  color: var(--soft);
}

/* Clients: list columns sit on the same 7/5 grid */
.client-list {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: .7rem var(--split-gap);
  margin-top: 1.5rem;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .hero,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .client-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Stacked under the actions, a dark rule reads as a hard stop. */
  .hero-index {
    margin-top: 2.5rem;
    border-top-color: var(--rule);
  }
}
