/* UDAC trades theme. Brand colors come from settings.json (brand.*) via
   --brand-ink / --brand-accent / --brand-accent-on-dark; everything else is
   derived here. Mobile first. */
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/publicsans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: var(--brand-ink, #121F27);
  --ink-2: color-mix(in srgb, var(--ink) 86%, #fff);
  --accent: var(--brand-accent, #22663D);
  --accent-dk: var(--brand-accent-on-dark, #4FA36C);
  --paper: #FBFCFC;
  --steel: #E8ECEE;
  --line: #D2D9DC;
  --slate: #56656C;
  --on-ink: #F4F6F7;
  --on-ink-muted: #A9B6BC;
  --err: #A12222;
  --display: "Montserrat", "Arial Black", Arial, sans-serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  --bar: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
h3 { font-size: 1.15rem; font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent-dk); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 14px; }

/* Eyebrow: the logo's "— SERVICES LLC —" rule device. */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 700 .8125rem/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--on-ink-muted); margin: 0 0 18px; }
.eyebrow::before, .eyebrow::after { content: ""; height: 2px; width: 22px; background: currentColor; }
.eyebrow-dark { color: var(--slate); }

/* Header */
.site-header { background: var(--ink); color: var(--on-ink); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; text-decoration: none; margin-right: auto; }
.brand-mark { width: 54px; height: auto; display: block; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-top { font: 800 1.12rem/1 var(--display); letter-spacing: .02em; }
.brand-sub { font: 600 .6875rem/1 var(--display); letter-spacing: .14em; white-space: nowrap; margin-top: 4px; color: var(--on-ink-muted); }
.nav { display: none; }
.nav a { color: var(--on-ink); text-decoration: none; font: 600 .9rem/1 var(--display); }
.nav a:hover { color: var(--accent-dk); }
.header-call { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; color: var(--on-ink); text-decoration: none; font: 700 .9rem/1 var(--display); border: 2px solid rgba(244,246,247,.35); padding: 0 12px; border-radius: 4px; white-space: nowrap; }
.header-call-label { display: none; }

/* Hero: the signature. A 6/12-pitch roofline with a chimney and the
   brand shamrock, drawn once on load. */
.hero { position: relative; background: var(--ink); color: var(--on-ink); padding: 18px 0 56px; overflow: hidden; }
.roof { display: block; width: min(100%, 1000px); margin: 0 auto; height: auto; padding: 0 8px; }
.roof-line { fill: none; stroke: var(--on-ink); stroke-width: 12; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 0; }
.roof-shamrock { transform-box: fill-box; transform-origin: 50% 90%; }
.hero-body { text-align: center; margin-top: -4px; }
.hero .eyebrow { justify-content: center; }
.hero h1 { font-size: clamp(2.35rem, 11.5vw, 5.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; margin: 0 0 .4em; }
.hl { display: block; }
.hl + .hl { color: var(--accent-dk); }
.hero-lead { max-width: 40ch; margin: 0 auto 1.4em; color: var(--on-ink-muted); font-size: 1.05rem; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto 18px; }
.hero-hours { font: 600 .82rem/1.5 var(--display); letter-spacing: .04em; color: var(--on-ink-muted); margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 4px; font: 700 1rem/1 var(--display); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-line { border-color: rgba(244,246,247,.5); color: var(--on-ink); }
.btn-line:hover { border-color: var(--on-ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Bands */
.band { padding: 64px 0; }
.band-steel { background: var(--steel); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink a { color: var(--on-ink); }

.services { display: grid; gap: 0; }
.service { border-top: 4px solid var(--ink); padding: 22px 0 30px; }
.service h3 { font-size: clamp(1.9rem, 8vw, 2.7rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: .3em; }
.service-head { font-weight: 600; color: var(--accent); margin-bottom: .5em; }
.service p { max-width: 46ch; }
.service-link { font: 700 .95rem/1 var(--display); text-decoration: none; display: inline-block; padding: 14px 0; border-bottom: 2px solid currentColor; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 28px; }
.step { counter-increment: step; display: grid; align-content: start; grid-template-columns: 56px 1fr; column-gap: 16px; }
.step::before { content: counter(step); grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font: 800 1.3rem/1 var(--display); clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%); padding-top: 8px; }
.step h3 { margin: 4px 0 .3em; }
.step p { margin: 0; color: var(--slate); }

.places { list-style: none; margin: 0 0 20px; padding: 0; }
.places li { font: 800 clamp(1.5rem, 6.5vw, 2.4rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.places li + li { margin-top: .08em; }
.places-label { font: 700 .8rem/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin: 0 0 24px; }
.area-base { color: var(--slate); max-width: 52ch; }
.registration { display: inline-block; margin: 8px 0 0; padding: 12px 14px; border: 2px solid var(--ink); font: 600 .82rem/1.4 var(--display); letter-spacing: .02em; }

/* Trust section (v1.7.0): bold band under the home hero, on/off in settings. */
.trust { background: var(--steel); border-top: 6px solid var(--accent); padding: 48px 0 56px; }
.trust-inner { display: grid; gap: 28px; }
.trust .eyebrow { margin-bottom: 14px; }
.trust-line { margin: 0; max-width: 20ch; font: 800 clamp(1.8rem, 7vw, 2.9rem)/1.1 var(--display); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.trust-line strong { font-weight: 800; color: var(--accent); }
.trust-about + .call-band { padding-top: 48px; }
.trust-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust-points li { position: relative; padding: 16px 16px 16px 50px; background: #fff; border: 1px solid var(--line); border-radius: 4px; font: 600 1rem/1.4 var(--display); color: var(--ink); }
.trust-points li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 8px; height: 15px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: translateY(-62%) rotate(45deg); }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
.contact-intro p:not(.eyebrow) { color: var(--on-ink-muted); }
.contact-intro a { color: var(--on-ink); }
.form-card { background: var(--paper); color: var(--ink); border-radius: 6px; padding: 22px 18px; }
.form-card a { color: var(--accent); }

/* Hero form (v1.4.0): directly under the hero copy on phones, the hero's
   right column on desktop. Never animated in: a form must be usable at once. */
.hero-form { margin-top: 36px; text-align: left; }
.form-title { font-size: 1.45rem; margin: 0 0 .25em; color: var(--ink); }
.form-sub { font-size: .95rem; color: var(--slate); margin: 0 0 18px; }
.form-sub a { font-weight: 600; }

/* Form (markup from src/form.html, unchanged for SMS compliance) */
.contact-form { margin: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font: 600 .92rem/1.3 var(--display); margin-bottom: 6px; }
.req, .opt { font: 400 .85em var(--body); color: var(--slate); }
input[type=text], input[type=tel], input[type=email], select, textarea { width: 100%; min-height: 50px; padding: 12px 13px; font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 4px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
textarea { resize: vertical; min-height: 110px; }
/* SMS consent: quiet (smaller, slate) but always visible for A2P review.
   The whole grey box is the tap target: the label's overlay toggles the box,
   the checkbox and the policy links sit above it. */
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; background: var(--steel); padding: 12px; border-radius: 4px; }
.consent input { position: relative; z-index: 1; width: 24px; height: 24px; margin: 0; flex: 0 0 auto; accent-color: var(--accent); cursor: pointer; }
.consent label { font: 400 .8rem/1.5 var(--body); color: var(--slate); margin: 0; cursor: pointer; }
.consent label a { position: relative; z-index: 1; }
.consent-note { font: 600 .9rem/1.45 var(--body); color: var(--ink); margin: 4px 0 8px; }
.consent .opt { font-size: 1em; font-weight: 600; }
.contact-form .btn { width: 100%; background: var(--accent); color: #fff; }
.contact-form .btn:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; }
/* v1.8.0: field errors and the confirmation that replaces a sent form. */
input[aria-invalid="true"] { border-color: var(--err); }
.field-hint { margin: -2px 0 8px; font-size: .88rem; line-height: 1.45; color: var(--slate); }
.form-done { border-left: 0; padding: 4px 0 6px; scroll-margin-bottom: calc(var(--bar) + 16px + env(safe-area-inset-bottom)); }
.form-done-title { font-size: 1.6rem; color: var(--accent); margin: 0 0 .4em; outline: none; }
.form-done p { margin: 0 0 .6em; }
.form-done-more { color: var(--slate); font-size: .95rem; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; scroll-margin-bottom: calc(var(--bar) + 16px + env(safe-area-inset-bottom)); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--err); }

/* Inner pages (contact, privacy, SMS terms, 404) */
main > .section { padding: 48px 0 64px; }
main > .section h1 { font-size: clamp(2rem, 8vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.prose h2 { font-size: 1.2rem; text-transform: none; letter-spacing: 0; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.meta { color: var(--slate); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 48px 0 24px; font-size: .92rem; border-top: 1px solid rgba(244,246,247,.08); }
.footer-grid { display: grid; gap: 22px; }
.site-footer p { margin: 0 0 .35em; }
.site-footer a { color: var(--on-ink); }
.site-footer p a { display: inline-block; padding: 10px 0; }
.footer-mark { width: 110px; height: auto; display: block; margin-bottom: 14px; }
.footer-name { color: var(--on-ink); font: 700 1rem/1.3 var(--display); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { padding: 10px 0; }
.fine { font-size: .8rem; margin-top: 28px !important; }

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.25fr; background: var(--ink); border-top: 1px solid rgba(244,246,247,.12); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; align-items: center; justify-content: center; min-height: var(--bar); font: 700 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.action-ghost { flex-direction: column; gap: 6px; color: var(--on-ink); }
.action-ghost + .action-ghost { border-left: 1px solid rgba(244,246,247,.14); }
.action-ghost svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-dk); stroke-width: 2; stroke-linejoin: round; }
.action-est { background: var(--accent); color: #fff; font-size: .9rem; letter-spacing: .08em; }

/* Mid-page call button: the number itself is the button. */
.call-band { background: var(--paper); padding: 8px 0 56px; text-align: center; }
.call-band-label { font: 700 .76rem/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--slate); margin: 0 0 14px; }
.call-big { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 520px; margin: 0 auto; min-height: 76px; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); color: var(--ink); text-decoration: none; font: 800 clamp(1.7rem, 8vw, 2.6rem)/1 var(--display); letter-spacing: -.01em; }
.call-big svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; flex: 0 0 auto; }
.call-big:hover { color: var(--accent); }
.call-band-note { margin: 14px 0 0; color: var(--slate); font-size: .92rem; }
.more-link { margin: 8px 0 0; }
.more-link a { display: inline-block; padding: 15px 0; font: 700 .95rem/1 var(--display); }

/* Inner page heads (services, about) */
.page-head { background: var(--ink); color: var(--on-ink); padding: 40px 0 44px; }
.page-head h1 { font-size: clamp(2.2rem, 10vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin: 0; }
.page-lead { color: var(--on-ink-muted); margin: 16px 0 0; max-width: 46ch; }
.services-page { display: grid; gap: 56px; }
.service-full { border-top: 4px solid var(--ink); padding-top: 22px; }
.service-full h2 { margin-bottom: .25em; }
.service-full p { max-width: 58ch; }
.service-full h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 1.6em; }
.tell-us { padding-left: 1.2em; margin: 0 0 1.4em; }
.tell-us li { margin-bottom: .35em; }
.about p { font-size: 1.08rem; max-width: 62ch; }

/* Service headings link to their own page (v1.6.0). */
.service h3 a, .service-full h2 a { display: inline-block; min-height: 44px; padding: 5px 0; color: inherit; text-decoration: none; }
.service-full h2 a { padding: 8px 0; }
.service h3 a:hover, .service-full h2 a:hover { color: var(--accent); }

/* One page per service (v1.6.0): copy, then the short form beside it on desktop. */
.service-page { display: grid; gap: 40px; }
.service-blurb { font-size: 1.12rem; max-width: 52ch; }
.service-sub { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin: 1.8em 0 .6em; }
.service-copy > p:not(.registration) { max-width: 58ch; }
.service-others { margin-top: 28px; font-weight: 600; }
.service-form .form-card { background: #fff; border: 1px solid var(--line); }


/* v1.9.0 (Sweeney bake-off option C). brand.headingCase "sentence". */
.case-sentence .hero h1 { text-transform: none; letter-spacing: -.035em; line-height: 1.02; }
.case-sentence .form-title { text-transform: none; letter-spacing: -.01em; }

/* Services as one written estimate sheet (servicesSheet.show). */
.sheet { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--ink); padding: 28px 20px 24px; }
.sheet-head h2 { text-transform: none; font-size: clamp(1.7rem, 6vw, 2.4rem); letter-spacing: -.02em; margin: 0 0 .25em; }
.sheet-head p { color: var(--slate); margin: 0; }
.sheet-groups { display: grid; gap: 32px; margin-top: 28px; }
.sheet-group h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.sheet-group h3 a { display: inline-block; min-height: 44px; padding: 8px 0 0; color: inherit; text-decoration: none; }
.sheet-group h3 a:hover { color: var(--accent); }
.items { list-style: none; margin: 0 0 6px; padding: 0; }
.items li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.item-name { font: 700 1rem/1.3 var(--display); }
.item-name small { display: block; font: 400 .92rem/1.4 var(--body); color: var(--slate); margin-top: 3px; }
.item-val { font: 600 .92rem/1.3 var(--body); color: var(--accent); white-space: nowrap; text-align: right; }
.sheet-foot { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--slate); font-size: .95rem; }

/* Owner photo in the trust section (trust.photo). */
.trust-head.has-photo { display: grid; gap: 20px; align-items: center; }
.trust-photo { margin: 0; display: grid; gap: 10px; justify-items: start; }
.trust-photo img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.trust-photo figcaption { font: 600 .95rem/1.3 var(--display); color: var(--ink); }

/* Full logo in the footer (logo.footerFile). */
.footer-logo { width: 190px; height: auto; display: block; margin-bottom: 16px; }

/* Load sequence: roof draws, shamrock lands, headline settles. */
@media (prefers-reduced-motion: no-preference) {
  .roof-line { stroke-dashoffset: 1; animation: draw 1.15s cubic-bezier(.6,.05,.25,1) .1s forwards; }
  .roof-shamrock { opacity: 0; animation: land .5s cubic-bezier(.16,1,.3,1) 1.2s forwards; }
  .hero-body > * { opacity: 0; transform: translateY(10px); animation: rise .6s ease-out forwards; }
  .hero-body > :nth-child(1) { animation-delay: .35s; }
  .hero-body > :nth-child(2) { animation-delay: .5s; }
  .hero-body > :nth-child(3) { animation-delay: .7s; }
  .hero-body > :nth-child(4) { animation-delay: .85s; }
  .hero-body > :nth-child(5) { animation-delay: 1s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes land { from { opacity: 0; transform: scale(.4) rotate(-18deg); } to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
  .services { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-page { grid-template-columns: 1fr 1fr; gap: 48px; }
  /* v1.8.4: three services never leave one alone on a row; one column until there is room for three. */
  .services:has(> :nth-child(3):last-child), .services-page:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
  .call-band { padding: 16px 0 80px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; }
  .step::before { grid-row: auto; margin-bottom: 14px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form-card { padding: 30px; }
  .trust-head.has-photo { grid-template-columns: auto 1fr; gap: 28px; }
  .trust-photo { justify-items: center; text-align: center; }
  .trust-photo img { width: 148px; height: 148px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .form-status { scroll-margin-bottom: 16px; }
  .nav { display: flex; gap: 26px; }
  .services:has(> :nth-child(3):last-child), .services-page:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .services:has(> :nth-child(3):last-child) .service h3, .services-page:has(> :nth-child(3):last-child) .service-full h2 { font-size: 1.9rem; }
  .header-call-label { display: inline; }
  .header-call { border-color: var(--accent-dk); }
  .hero { padding: 26px 0 84px; }
  .band { padding: 96px 0; }
  .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; margin-top: 12px; }
  .hero-grid .hero-body { text-align: left; margin-top: 0; }
  .hero-grid .eyebrow { justify-content: flex-start; }
  .hero-grid h1 { font-size: clamp(2.8rem, 4.6vw, 4rem); }
  .hero-grid .hero-lead { margin-left: 0; }
  .hero-grid .hero-actions { justify-content: flex-start; }
  .trust { padding: 72px 0 76px; }
  .trust-inner { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
  /* v1.11.0: photo and no points: copy left, owner photo right, sized to the headline. */
  .trust-inner:has(> .trust-head.has-photo:only-child) { grid-template-columns: 1fr; }
  .trust-head.has-photo:only-child { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
  .trust-head.has-photo:only-child .trust-photo { order: 2; justify-self: center; gap: 16px; }
  .trust-head.has-photo:only-child .trust-photo img { width: 300px; height: 300px; border-width: 6px; box-shadow: 0 0 0 3px var(--accent); }
  .trust-head.has-photo:only-child .trust-photo figcaption { font-size: 1.05rem; }
  .hero-form { margin-top: 0; }
  .hero-form .form-card { padding: 28px; }
  .service-page { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
  .service-form .form-card { padding: 28px; }
  .sheet { padding: 44px 44px 32px; }
  .sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
  .sheet-groups { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 36px; }
}

/* v1.12.0: emitted only when about.photo or about.hideTrust is enabled. */
.about-with-photo { display: grid; gap: 28px; align-items: start; }
.about-photo { margin: 0; display: grid; gap: 10px; min-width: 0; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: 6px; }
.about-photo figcaption { font: 600 .95rem/1.3 var(--display); color: var(--ink); }
.about-text { min-width: 0; }
.about-no-trust + .call-band { padding-top: 48px; }
@media (min-width: 960px) {
  .about-with-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; }
  .about-text { grid-column: 1; grid-row: 1; }
  .about-photo { grid-column: 2; grid-row: 1; }
}

/* Opt-in home hero controls. The legacy headline stays unchanged elsewhere. */
.hero h1.has-accent .hl { color: inherit; }
.hero h1.has-accent .hl-accent { color: var(--accent-dk); }
.hero-body:has(.hero-actions.has-estimate) { min-width: 0; }
.hero-actions.has-estimate { max-width: 100%; }
.hero-actions.has-estimate .btn {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  padding: 12px 16px;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.25;
}
@media (min-width: 720px) {
  .hero-actions.has-estimate .btn { flex: 1 1 0; width: auto; }
}


/* Opt-in masthead (v1.14.0, Sweeney logo option D): a Home button replaces
   the header wordmark, the full logo sits centered above the home headline
   and at the top of every inner page, and the header stays on screen. */
.site-header { position: sticky; top: 0; z-index: 50; }
.brand { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; color: var(--on-ink); text-decoration: none; font: 700 .9rem/1 var(--display); border: 2px solid rgba(244,246,247,.35); padding: 0 12px; border-radius: 4px; white-space: nowrap; margin-right: auto; }
.home-icon { flex: 0 0 18px; }
.hero-logo { display: block; width: min(82vw, 340px); height: auto; margin: 16px auto 36px; }
.hero-body { margin-top: 0; }
.page-logo { display: block; width: min(60vw, 240px); height: auto; margin: 0 auto 32px; }
@media (min-width: 720px) {
  .brand { border-color: var(--accent-dk); }
  .hero-logo { width: 520px; margin: 16px auto 48px; }
  .page-logo { width: 300px; margin-bottom: 36px; }
}

/* Opt-in look "gunmetal" (v1.14.0, Sweeney logo option F): brushed-steel
   background, corrugated-metal strips, riveted panels, Anton block headlines.
   Fonts are self-hosted (SIL Open Font License), no Google request. */
@font-face { font-family: "Anton"; src: url("/fonts/anton.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("/fonts/robotocondensed.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --ink: #1a1f22;
  --gun: #23292d;
  --accent: #2B7346;
  --accent-dk: #63B783;
  --steel: #DFE3E4;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --cond: "Roboto Condensed", "Arial Narrow", sans-serif;
  --brushed: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), linear-gradient(160deg, #2a3135 0%, #1a1f22 55%, #151a1c 100%);
  --corrugated: repeating-linear-gradient(90deg, #3a4246 0 6px, #586267 6px 10px, #2c3337 10px 18px);
  --rivets: radial-gradient(circle at 12px 12px, #6b767b 3px, transparent 4px), radial-gradient(circle at calc(100% - 12px) 12px, #6b767b 3px, transparent 4px), radial-gradient(circle at 12px calc(100% - 12px), #6b767b 3px, transparent 4px), radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #6b767b 3px, transparent 4px);
}
body { font-family: var(--body); font-size: 1.05rem; }
.site-header { background: #151a1c; border-bottom: 3px solid var(--accent); }
.brand-top { font: 400 1.5rem/1 var(--display); letter-spacing: .06em; }
.brand-sub { font: 700 .7rem/1 var(--cond); letter-spacing: .24em; }
/* Masthead Home button: match the Call button. Anton has no bold, so 700 smeared. */
.brand:has(.home-icon) { font: 700 .9rem/1 var(--cond); text-transform: uppercase; letter-spacing: .06em; border-radius: 0; }
.nav a { font: 700 .92rem/1 var(--cond); text-transform: uppercase; letter-spacing: .14em; }
.header-call { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 0 !important; }

.hero { background: var(--brushed); padding-bottom: 72px; border-bottom: 22px solid transparent; border-image: var(--corrugated) 22; }
.roof-line { stroke: #d5dadc; stroke-width: 12; }
.hero .eyebrow { font: 700 .9rem/1 var(--cond); letter-spacing: .32em; color: var(--accent-dk); }
.hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; font-size: clamp(3rem, 14vw, 6.4rem); text-shadow: 0 3px 0 rgba(0,0,0,.45); }
.hero-lead { color: #c3cacd; }
.hero-hours { font: 700 .85rem/1.5 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.btn { font: 700 1.05rem/1 var(--cond); text-transform: uppercase; letter-spacing: .1em; border-radius: 0; }
.btn-solid { background: var(--accent); box-shadow: inset 0 -4px 0 rgba(0,0,0,.35); }
.btn-line { border: 2px solid #aab3b7; }

.form-card { background-color: #eef0f0; background-image: var(--rivets); border: 3px solid #4a5458; border-radius: 0; padding-top: 30px; }
.form-title { font: 400 2rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.field label { font: 700 .95rem/1.3 var(--cond); text-transform: uppercase; letter-spacing: .08em; }
.form-card input, .form-card select, .form-card textarea { border: 2px solid #9aa4a8 !important; border-radius: 0 !important; background: #fff; }
.consent { border-radius: 0; background: #dde1e2; }
.contact-form .btn { box-shadow: inset 0 -4px 0 rgba(0,0,0,.35); }

.eyebrow { font-family: var(--cond); }
.trust { background-color: var(--steel); background-image: repeating-linear-gradient(180deg, rgba(0,0,0,.025) 0 1px, transparent 1px 3px); border-top: 0; }
.trust-line { font: 400 clamp(2.3rem, 8.5vw, 3.8rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.trust-photo img { border-radius: 0 !important; border: 8px solid #4a5458 !important; outline: 2px solid #8d979b; }
.band h2, .sheet-head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.3rem, 8vw, 3.4rem); letter-spacing: .015em; }
.sheet { border-radius: 0 !important; border: 3px solid #4a5458 !important; background-color: #fff; background-image: var(--rivets); }
.sheet-group h3, .step h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .02em; }
.item-name { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.band-steel { background: var(--brushed); color: #eef0f0; border-top: 18px solid transparent; border-image: var(--corrugated) 18; }
.band-steel h2, .band-steel h3 { color: #fff; }
.band-steel .step p, .band-steel .eyebrow { color: #aeb7bb; }
.step::before { border-radius: 0 !important; background: var(--accent) !important; font-family: var(--display); font-weight: 400; font-size: 1.6rem; box-shadow: inset 0 -4px 0 rgba(0,0,0,.35); }
.places li { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: .01em; }
.site-footer { background: var(--brushed); border-top: 14px solid transparent; border-image: var(--corrugated) 14; }
.action-bar a { font-family: var(--cond); text-transform: uppercase; }

/* fixes after first look */
.case-sentence .hero h1 { text-transform: uppercase; letter-spacing: .01em; line-height: .95; font-size: clamp(2.8rem, 12.5vw, 5.4rem); }
.case-sentence .form-title { text-transform: uppercase; letter-spacing: .02em; }
.consent label { font: 400 .85rem/1.5 var(--body); text-transform: none; letter-spacing: 0; }

/* inner pages */
.page-head { background: var(--brushed); color: #fff; border-bottom: 14px solid transparent; border-image: var(--corrugated) 14; }
.case-sentence .page-head h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; font-size: clamp(2.5rem, 10vw, 4.4rem); }
.page-head .eyebrow { color: var(--accent-dk); }
