/* WordPress-only adjustments (main.css and tree.css stay in step with the Version B mockup) */

/* logged-in admin bar sits over the fixed rail on desktop */
@media (min-width: 1024px) {
  .admin-bar .rail { top: 32px; }
}

/* Services & fees, Insurance and Contact are separate blocks but read as one soil-coloured band:
   neighbouring roots bands drop the padding between them (the sections' own margins space them, as in the mockup) */
.band--roots + .band--roots { padding-top: 0; }
.band--roots:has(+ .band--roots) { padding-bottom: 0; }

/* uploaded headshot (the placeholder circle until then): shown whole, so a cut-out photo whose head
   breaks out of its circle keeps its shape and transparent background */
.headshot--photo { display: block; height: auto; border-radius: 0; background: none; }

/* contact form honeypot: off-screen, not display:none (some bots skip hidden fields) */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* text pages (privacy policy etc.): the page background, a readable measure, plain headings and lists */
.band--page { padding: clamp(88px, 13vh, 150px) 0; }
.prose { max-width: calc(720px + 2 * var(--gutter)); }
.prose h1 { margin-bottom: .6em; }
.prose h2 { font-family: var(--font-head); font-size: clamp(22px, 2vw, 26px); font-weight: var(--head-weight); line-height: 1.25; margin: 2em 0 .6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--copper); text-decoration: underline; text-underline-offset: 2px; }
.footer__legal a { color: inherit; }

/* a field that failed the check (the phone number): thicker underline; the message itself is in the status line */
.field input[aria-invalid] { border-bottom-width: 3px; }
.field__msg { font-weight: 600; }
.field__msg:empty { display: none; }
.field__req { font-weight: 500; }
