/* Wilson Haag fixes on top of the handoff's stylesheets, which stay verbatim. Linked last on every page. */

/* Home "How we help" row: card-refinements.css turned each service into its own outlined card with gaps,
   but the grid kept site.css's top and bottom rules, so a second line ran along every card edge and across the gaps. */
.services-grid{border-top:0;border-bottom:0}

/* Mobile menu: a phone icon before each office number (drawn by location-mobile.js), the office name above both. */
.mobile-menu-phones a{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}
.mobile-menu-phones a>span{grid-column:1/-1}
.mobile-menu-phones .phone-icon{color:var(--accent)}

/* Mobile header: the menu button and the open menu's close button without their outlines (Walt, 2026-11-18). */
@media(max-width:760px){.menu-toggle{border:0}}
.mobile-close{border:0}

/* Logo: the handoff gave it a fixed 39 px height, so wherever its width shrank (178 px on a phone) it was squeezed
   to about two-thirds of its real width, and even at full width it was drawn ~15% narrow. The file is 572x82;
   the height now follows the width, and the img's width/height attributes carry the true shape. */
.brand img{height:auto}

/* Our Firm "A firm that gets to know your world": the sentence sat at the far right with a wide gap after the heading.
   It now starts on the same column as the text in the sections below it (content-cohesion.css .editorial-grid). */
@media(min-width:1001px){.section-intro{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.65fr);gap:72px}}
@media(min-width:761px) and (max-width:1000px){.section-intro{display:grid;grid-template-columns:1fr 1.6fr;gap:36px}}

/* Two reading cards side by side on any page (the Contact page's offices; markup.io #7). These rules are copied from
   service-visuals.css, which only the service pages load; on those pages they are the same values, so nothing changes. */
.paired-service-sections{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:32px;padding-bottom:32px}
.paired-service-sections>.service-reading-card{padding:36px;border:1px solid var(--line);background:var(--surface);border-top:3px solid var(--accent)}
.service-reading-card .editorial-grid{display:block;padding:0;max-width:none}
.service-reading-card .editorial-heading{margin-bottom:24px}
.service-reading-card .editorial-heading h2{font-size:32px}
.service-reading-card .editorial-body p{font-size:15px;line-height:1.8}
.service-reading-card .editorial-body p:last-child{margin-bottom:0}
@media(max-width:760px){.paired-service-sections{grid-template-columns:1fr;padding-top:24px;padding-bottom:24px;gap:18px}.paired-service-sections>.service-reading-card{padding:28px 24px}.service-reading-card .editorial-heading h2{font-size:29px}}

/* Links inside FAQ answers look like the links in body text (content-cohesion.css .editorial-body a). The handoff's
   FAQs had no links, so it had no rule for them and they rendered as plain grey text. */
.faq-answer a:not(.button){color:var(--accent);text-decoration:underline;text-underline-offset:4px}

/* ---- Modern Web Guidance audit, quick fixes (2026-11-19; docs/modern-web-guidance-audit-wilsonhaag.md in rankdna) ---- */

/* #1 Form field edges: --line was 1.2-1.6:1 against the field and the form panel (3:1 needed). --muted is 5.2-9.1:1. */
.field input,.field select,.field textarea,.search-label input{border-color:var(--muted)}

/* #2 Button focus ring: light teal was 2.1:1 on white in the light theme. --accent is the dark teal in light mode
   (7.7:1) and the light teal in dark mode (8.9:1), so one value passes in both. */
.button:focus-visible{outline-color:var(--accent)}

/* #12 Breadcrumbs are an ordered list; the "/" separators are drawn by CSS and not read aloud. */
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:12px;align-items:center;list-style:none;margin:0;padding:0}
.breadcrumb li{display:flex;gap:12px;align-items:center}
.breadcrumb li+li::before{content:'/';content:'/' / ''}

/* #16 The FAQ "+ / -" sign is decoration: keep it on screen, out of the question's spoken name. */
summary:after{content:'+';content:'+' / ''}
details[open] summary:after{content:'−';content:'−' / ''}
.cohesive-faq summary:after{content:'+';content:'+' / ''}
.cohesive-faq details[open] summary:after{content:'−';content:'−' / ''}

/* #30 The skip link's target takes focus without drawing a ring around the whole page. */
main[tabindex="-1"]:focus{outline:none}

/* #21 The pressed team filter was shown by a fill alone (2.45:1 in dark mode, and gone in Windows high contrast):
   it is also underlined now. In forced-colors mode the pressed state and card hover/focus use system colors. */
.team-filters button[aria-pressed=true]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
@media (forced-colors:active){
  .team-filters button[aria-pressed=true]{background:Highlight;color:HighlightText;border-color:Highlight;forced-color-adjust:none}
  .service-card:hover,.service-card:focus-within,.interactive-card:hover,.interactive-card:focus-within,.location-services>a:hover,.location-services>a:focus-visible,.services-grid>.service:hover,.services-grid>.service:focus-within{border-color:Highlight}
}

/* #3 waves.css loads at the end of <body> so it never blocks the first paint. Until it arrives, each wave line is
   clipped to nothing (its own nth-child rule in waves.css is more specific and replaces this). Without this default,
   clip-path:var(--curve) would be invalid and every line would paint as a solid bar. */
.wave-line{--curve:inset(50% 0 50% 0)}

/* Contact form (audit #4-#7): required marks, per-field errors, the sensitive-data note, the honeypot, and a status
   line that reads differently for errors. --danger is 5.9:1 (light) and 7.5:1 (dark) on the form panel. */
:root{--danger:#b42318}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--danger:#ff8a80}}
:root[data-theme=dark]{--danger:#ff8a80}
.field label{display:block}
.field .req{color:var(--danger)}
.field-note{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
.field-error{font-size:13px;line-height:1.4;color:var(--danger);margin:0}
.field-error::before{content:'! ';font-weight:700}
.field [aria-invalid=true]{border-color:var(--danger);border-width:2px}
.form-status.is-error{color:var(--danger)}
.form-status.is-error::before{content:'! ';font-weight:700}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Logo (2026-11-19, Walt): the client's own artwork in two versions, color for the light theme and dark for the dark
   theme, replacing the old single logo that site.css tinted with a filter. Both are in the markup (header, footer and
   the mobile menu's copy of the header); only the one for the current theme is displayed, so only it is read aloud. */
.brand img{filter:none}
.brand .logo-dark{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .brand .logo-light{display:none}:root:not([data-theme=light]) .brand .logo-dark{display:block}}
:root[data-theme=dark] .brand .logo-light{display:none}
:root[data-theme=dark] .brand .logo-dark{display:block}
/* reCAPTCHA badge: hidden as Google permits, because the contact form shows Google's disclosure line under the
   button (.recaptcha-note). visibility, not display:none, which would stop reCAPTCHA working. */
.grecaptcha-badge{visibility:hidden}
.contact-form .recaptcha-note{margin-top:14px}
.recaptcha-note a{text-decoration:underline;text-underline-offset:3px}
/* Footer: the stacked logo (logo-stacked-color / -dark), centred with the tagline in its column. */
.footer-brand{display:flex;flex-direction:column;align-items:center;text-align:center}
.footer-brand .brand{width:190px;margin:0 auto}
.footer-brand .brand img{width:100%;height:auto}
.footer-brand .footer-tagline{margin-left:auto;margin-right:auto}
/* Our Firm "A firm that gets to know your world": the button sits at the far right of the sentence's row
   (markup.io #27), so the sentence keeps its column and the band is one line on desktop. */
.intro-side{display:flex;align-items:center;justify-content:space-between;gap:36px;flex-wrap:wrap}
.intro-side .button{flex:none;margin:0}
@media(max-width:760px){.intro-side{align-items:flex-start;gap:22px}}
@media(min-width:1001px){.intro-side{flex-wrap:nowrap}.intro-side p{flex:1 1 0;min-width:0}}
/* Dropdown carets: drawn by us so they can sit 23px in from the right (Chrome's own arrow ignores padding).
   Light and dark chevrons use the theme's --ink colour (#17191a / #f4f5f5). */
.field select{-webkit-appearance:none;appearance:none;padding-right:44px;background-repeat:no-repeat;background-position:right 23px center;background-size:12px 8px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2317191a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f4f5f5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}}
:root[data-theme=dark] .field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f4f5f5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
@media (forced-colors:active){.field select{-webkit-appearance:auto;appearance:auto;background-image:none;padding-right:13px}}
