/* Shared AHAH primitives: page layouts compose these rather than redefining them. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); }
body { margin: 0; background: var(--surface); color: var(--text); font: var(--weight-body) var(--type-body)/var(--leading-body) var(--font-sans); }
body, a, button, input, textarea { letter-spacing: 0; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, p, li, a, summary { overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--green); text-wrap: balance; }
h1, h2 { font-family: var(--font-serif); font-weight: 700; }
h1 { font-size: var(--type-display); line-height: 1.06; }
h2 { font-size: var(--type-heading); line-height: 1.15; }
h3 { font-size: var(--type-subheading); line-height: 1.3; font-weight: var(--weight-heading); }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus { outline: none; } /* Skip link moves focus to content; controls retain visible rings. */
::selection { color: var(--cream); background: var(--green); }
.container { width: min(var(--content-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); }
.split > *, .actions > *, .header-inner > *, .site-footer > * { min-width: 0; }
.section { padding-block: var(--section-space); }
.eyebrow { font-size: var(--type-label); font-weight: var(--weight-heading); line-height: 1.4; color: var(--accent-text); margin-bottom: var(--space-4); }
.section-heading { margin-bottom: var(--space-6); }
.section-heading h2 { max-width: 32ch; }
.surface-inverse { --focus: var(--cream); color: var(--text-inverse); background: var(--green); }
.surface-inverse :is(h2, h3) { color: var(--text-inverse); }
.surface-inverse .eyebrow { color: var(--inverse-accent); }
.reassurance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 0; padding: var(--space-5) 0; list-style: none; }
.reassurance-grid li { display: flex; align-items: center; justify-content: center; padding-inline: var(--space-4); font: var(--weight-heading) 1.125rem/1.4 var(--font-sans); text-align: center; text-wrap: balance; }
.reassurance-grid li + li { border-left: 1px solid var(--inverse-line); }
.icon { display: block; width: var(--icon-size); height: var(--icon-size); flex: 0 0 var(--icon-size); fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: var(--space-3); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: var(--control-height); min-width: 0; max-width: 100%; padding: 13px 19px; border: 1px solid transparent; border-radius: var(--radius); font: var(--weight-control) var(--type-control)/1.4 var(--font-sans); text-align: center; text-decoration: none; transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease; }
.button > span { min-width: 0; }
.button-primary { color: var(--cream); background: var(--green); border-color: var(--green); }
.button-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.button-secondary { color: var(--green); background: transparent; border-color: var(--green); }
.button-secondary:hover { background: var(--paper); }
.button-inverse { color: var(--green); background: var(--cream); border-color: var(--cream); }
.button-inverse:hover { background: var(--inverse-muted); border-color: var(--inverse-muted); }
.button-inverse-secondary { color: var(--white); background: rgb(var(--hero-overlay-rgb) / .28); border-color: rgba(255,255,255,.72); }
.button-inverse-secondary:hover { background: rgb(var(--hero-overlay-rgb) / .65); border-color: var(--white); }
.button-compact { min-height: var(--control-height-compact); padding: 9px 15px; font-size: var(--type-control-compact); }
.button:active { filter: brightness(.96); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; max-width: 100%; font-size: var(--type-body-small); font-weight: var(--weight-heading); text-decoration-thickness: 1px; }
.text-link > span { min-width: 0; }
.text-link:hover { color: var(--accent-text); }
.surface-inverse .text-link:hover { color: var(--inverse-accent); }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 12px; color: var(--cream); background: var(--green); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: var(--border); }
.header-inner { min-height: 88px; display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4) var(--space-5); padding-block: var(--space-4); }
.brand { display: block; width: 330px; flex: 0 1 330px; min-width: 180px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; gap: var(--space-5); align-items: center; margin-left: auto; }
.main-nav a { display: flex; align-items: center; min-height: 44px; font-size: var(--type-label); font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: var(--accent-text); }
.header-call { flex: 0 0 auto; }
.mobile-call { display: none; }
/* Homepage-style full-width photographic hero, shared by service pages. */
.hero-background { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(730px, calc(100svh - 130px)); color: var(--white); }
.hero-media { position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-background::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--hero-overlay-rgb) / .92) 0%, rgb(var(--hero-overlay-rgb) / .84) 40%, rgb(var(--hero-overlay-rgb) / .76) 56%, rgb(var(--hero-overlay-rgb) / .25) 78%, rgb(var(--hero-overlay-rgb) / .08) 100%); }
.hero-content { padding-block: 64px 58px; }
.hero-copy { max-width: 680px; }
.hero-background h1 { color: var(--white); }
.hero-background .eyebrow { color: var(--inverse-accent); }
.hero-background .hero-lead { max-width: 590px; font-size: 1.375rem; line-height: 1.45; }
.hero-background .hero-location, .hero-background .hero-reassurance { color: rgba(255,255,255,.88); }
@media (max-width: 1100px) {
  .hero-background::before { background: linear-gradient(180deg, rgb(var(--hero-overlay-rgb) / .88) 0%, rgb(var(--hero-overlay-rgb) / .8) 52%, rgb(var(--hero-overlay-rgb) / .7) 100%); }
}
@media (max-width: 680px) {
  .hero-background { min-height: 0; align-items: stretch; }
  .hero-content { padding-block: 38px 34px; }
  .hero-media img { object-position: 68% center; }
  .hero-background .hero-lead { font-size: 1.125rem; line-height: 1.45; }
}
.steps { margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: var(--space-4); margin-top: var(--space-5); }
.steps li > div { min-width: 0; }
.step-number { display: flex; align-items: center; justify-content: center; flex: 0 0 2rem; min-height: 2rem; border: var(--border); border-radius: 50%; font-size: var(--type-label); color: var(--green); background: var(--paper); }
.steps h3 { margin-bottom: var(--space-2); font-size: var(--type-body); }
.steps p { color: var(--text-secondary); }
.disclosures details { border-top: var(--border); }
.disclosures details:last-child { border-bottom: var(--border); }
.disclosures summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); min-height: 76px; padding-block: var(--space-5); cursor: pointer; font-weight: var(--weight-heading); color: var(--green); }
.disclosures summary > span:first-child { min-width: 0; }
.disclosures summary::-webkit-details-marker { display: none; }
.disclosures summary:hover { color: var(--accent-text); }
.disclosures details p { padding-bottom: var(--space-5); color: var(--text-secondary); }
.disclosures .icon-minus, .disclosures details[open] .icon-plus { display: none; }
.disclosures details[open] .icon-minus { display: block; }
/* Reused homepage closing/footer composition; no separate service-page footer. */
.closing-section, .footer-surface { --focus: var(--white); color: var(--white); background: var(--ink); }
.closing-section { border-top: 8px solid var(--terracotta); }
.closing-inner { width: min(var(--content-width), calc(100% - 48px)); min-height: 510px; display: flex; flex-direction: column; justify-content: center; margin-inline: auto; padding-block: 70px; }
.closing-inner .section-number { margin-bottom: 14px; color: var(--inverse-accent); font-size: var(--type-label); font-weight: var(--weight-control); text-transform: uppercase; }
.closing-inner h2 { max-width: 850px; color: var(--white); font-size: 3.875rem; line-height: 1.08; }
.closing-inner > p:not(.section-number) { max-width: 720px; margin: 22px 0 28px; color: rgba(255,255,255,.78); font-size: 1.25rem; }
.closing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); max-width: 100%; }
.button-closing { color: var(--green); background: var(--cream); }
.button-closing:hover { background: var(--inverse-muted); }
.closing-email { min-height: 54px; max-width: 100%; display: inline-flex; align-items: center; color: var(--white); font-weight: var(--weight-heading); }
.site-footer { width: min(var(--content-width), calc(100% - 48px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 42px; margin-inline: auto; padding-block: 34px; border-top: 1px solid rgba(255,255,255,.2); }
.footer-brand { display: block; max-width: 330px; }
.site-footer img { width: min(330px, 100%); height: auto; filter: brightness(0) invert(1); opacity: .94; }
.site-footer p { color: rgba(255,255,255,.62); font-size: .875rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; grid-column: 1 / -1; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; color: rgba(255,255,255,.74); font-size: .875rem; }
.site-footer nav a:hover, .closing-email:hover { color: var(--white); text-decoration-thickness: 2px; }
.site-footer .service-links { grid-column: 1 / -1; justify-self: start; margin: 0; }
@media (min-width: 981px) {
  .closing-inner { align-items: center; text-align: center; }
  .closing-inner h2, .closing-inner > p { width: 100%; }
  .closing-actions { justify-content: center; }
  .site-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
  .footer-brand { justify-self: start; }
  .site-footer p { max-width: 360px; justify-self: center; text-align: center; }
  .site-footer nav { grid-column: auto; justify-self: end; }
}
@media (max-width: 1100px) { .brand { flex-basis: 280px; } .main-nav { gap: var(--space-4); } }
@media (max-width: 960px) { .main-nav { display: none; } .header-call { margin-left: auto; } }
@media (max-width: 720px) {
  .reassurance-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .reassurance-grid li + li { border-left: 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .header-inner { min-height: 76px; gap: var(--space-2) var(--space-3); padding-block: var(--space-3); }
  .brand { flex: 1 1 210px; max-width: 290px; }
  .header-call { padding-inline: var(--space-3); }
  .desktop-number { display: none; }
  .mobile-call { display: inline; }
  .actions .button { width: 100%; }
  .steps { margin-top: var(--space-5); }
}
@media (max-width: 680px) {
  .closing-inner { width: calc(100% - 34px); min-height: 420px; padding-block: 50px; }
  .closing-inner h2 { font-size: 2.8125rem; }
  .closing-inner > p:not(.section-number) { font-size: 1.125rem; }
  .closing-actions { align-items: flex-start; flex-direction: column; width: 100%; }
  .button-closing { width: 100%; }
  .closing-email { font-size: .9375rem; }
  .site-footer { width: calc(100% - 34px); grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
  .site-footer img { width: 240px; }
  .site-footer nav { grid-column: 1; }
}
@media (max-width: 370px) { .header-inner { column-gap: var(--space-2); } .brand { flex-basis: 180px; } .header-call { padding-inline: var(--space-2); gap: var(--space-2); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
@media print { .skip-link, .main-nav, .header-call { display: none; } .site-header { position: static; } .container { width: 100%; } .section { padding-block: 24px; } .surface-inverse { print-color-adjust: exact; -webkit-print-color-adjust: exact; } details > p { display: block !important; } }
