.wac-form-status { padding: 16px; border: 2px solid currentColor; }
.wac-form input, .wac-form textarea { font-size: 16px; }
.wac-disclaimer-text { line-height: 1.6; }
.wac-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.wac-form fieldset { min-width: 0; }

/* Keep content readable when users enlarge text or override text spacing. */
.wac-site :is(h1, h2, h3, h4, p, li, blockquote, a, button, legend) {
  overflow-wrap: anywhere;
}
.wac-site :is(h1, h2, h3, h4) { hyphens: auto; }
.wac-top { height: auto; min-height: 140px; flex-wrap: wrap; }
.wac-header-right { flex: 1 1 580px; min-width: 0; }
.wac-nav { flex-wrap: wrap; }
.wac-nav > a, .wac-dropdown > a, .wac-call a {
  min-height: 44px;
  line-height: 1.5;
}
.wac-practices { height: auto; padding-bottom: 54px; }
.wac-testimonial-band { height: auto; min-height: 610px; }
.wac-boutique { padding-top: 100px; }
/* Limit prose, not the full two-column page layout. */
.wac-content :is(p, li, blockquote) { max-width: 75ch; }
.wac-boutique p, .wac-testimonial-band blockquote { max-width: 70ch; }
.wac-content p, .wac-tax-copy p, .wac-defense-feature p {
  line-height: 1.6;
  margin-bottom: 2.4em;
}
.wac-breadcrumb {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 1296px;
  width: 90%;
}
.wac-breadcrumb > li { display: flex; align-items: center; min-height: 44px; max-width: 100%; }
.wac-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

.wac-content.wac-testimonials, .wac-testimonials-breadcrumb { max-width: 1120px; }
.wac-testimonials > h1 { margin-bottom: 40px; }
.wac-testimonial {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 48px;
  margin: 0;
  padding: 40px 0;
  border-top: 1px solid var(--sage);
}
.wac-content.wac-testimonials blockquote {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  max-width: none;
  min-width: 0;
}
.wac-testimonials blockquote p {
  font-size: 1.67rem;
  line-height: 1.7;
  margin: 0 0 1.5em;
}
.wac-testimonials blockquote p:last-child { margin-bottom: 0; }
.wac-testimonial figcaption {
  grid-column: 1;
  grid-row: 1;
  color: var(--charcoal-deep);
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 1.67rem;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.wac-slant-button, .wac-form button { max-width: calc(100% - 12px); }
.wac-office > *, .wac-profile-grid > *, .wac-contact-inner > * { min-width: 0; }
.wac-office strong, .wac-footer { font-size: 1.34rem; }
.wac-contact-panel > p, .wac-form label, .wac-form legend,
.wac-required, .wac-disclaimer-text { font-size: 1.34rem; }

/* Opaque labels retain contrast even when the underlying photographs brighten. */
.wac-practice-card span { background: var(--charcoal-deep); text-shadow: none; }
.wac-hero {
  background-image: linear-gradient(rgb(34 59 66 / .88), rgb(34 59 66 / .88)), url("source-images/hero-coast-reference.jpg");
  background-position: center;
  background-size: cover;
}
.wac-hero::before, .wac-contact-band::before,
.wac-tax-feature::before, .wac-defense-feature::before { content: none; }
.wac-tax-feature { background: linear-gradient(90deg, var(--paper) 73%, rgb(136 176 161) 73%); }
.wac-tax-copy { background: var(--paper); }
.wac-defense-feature { background: linear-gradient(90deg, rgb(136 176 161) 27%, var(--soft-paper) 27%); }
.wac-defense-feature > div { background: var(--soft-paper); }
.wac-contact-band {
  background-image: linear-gradient(rgb(29 57 66 / .9), rgb(29 57 66 / .9)), url("source-images/contact-background-reference.jpg");
  background-position: center;
  background-size: cover;
}

/* The light inner ring and dark outer ring cover both light and dark surfaces. */
.wac-site :is(a, button, input, textarea, select, summary):focus-visible {
  box-shadow: 0 0 0 3px var(--paper);
  outline: 3px solid rgb(17 37 39);
  outline-offset: 3px;
}
#main-content:focus { outline: none; }
.wac-dropdown { display: flex; align-items: center; }
.wac-dropdown-toggle {
  background: transparent;
  border: 1px solid var(--sage-pale);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin-left: 4px;
}
.wac-dropdown > div { width: max-content; max-width: min(300px, 85vw); }
.wac-dropdown [hidden] { display: none !important; }
.wac-dropdown[data-enhanced] > div:not([hidden]) { display: block; }
.wac-dropdown > div a { min-width: 44px; }
@media (max-width: 1100px) {
  .wac-top { justify-content: center; gap: 16px; }
  .wac-logo { align-self: center; }
  .wac-header-right { align-items: center; flex-basis: 100%; }
  .wac-nav { justify-content: center; }
}
@media (max-width: 860px) {
  .wac-breadcrumb { width: 100%; padding-inline: 20px; }
  .wac-testimonial { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; }
  .wac-testimonial figcaption { grid-column: 1; grid-row: 1; }
  .wac-content.wac-testimonials blockquote { grid-column: 1; grid-row: 2; }
  .wac-top { min-height: 85px; }
  .wac-tax-feature, .wac-defense-feature,
  .wac-defense-feature > div { background: var(--paper); }
  .wac-hero { background-image: none; background-color: var(--charcoal); }
  .wac-testimonial-band { min-height: 0; }
  .wac-practice-card { min-height: 170px; height: auto; }
  .wac-practice-card img { height: 170px; }
  .wac-practice-card span { position: relative; top: auto; transform: none; }
  .wac-mobile-actions { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5em), 1fr)); }
}
@media (forced-colors: active) {
  .wac-hero, .wac-tax-feature, .wac-defense-feature, .wac-contact-band { background-image: none; }
  .wac-site :is(a, button, input, textarea, select, summary):focus-visible { outline-color: Highlight; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
