:root {
   --vabi-87b: 'DM Serif Display', Georgia, serif;
   --vabi-e0c: 'Manrope', sans-serif;
   --vabi-fd8: 'IBM Plex Mono', monospace;
   --radius-control: 2px;
   --radius-widget: 10px;
   --header-height: 6rem;
   --header-compact: 4.75rem;
   --z-header: 30;
   --z-chat: 45;
   --z-consent: 50;
   --consent-height: 0px;
   --focus-ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--oxblood);
}

.cookie-banner__inner > * { min-width: 0; }
.cookie-banner__actions { flex-wrap: wrap; }
details:not([open]) > :not(summary) { display: none !important; }
@media print { main details:not([open]) > :not(summary) { display: block !important; } }
[hidden] { display: none !important; }
.grid > *, .split > *, .cluster > *, .shell > * { min-width: 0; }
h1, h2, h3, h4, a, button, label, summary { overflow-wrap: anywhere; }
button, input, select, textarea { max-width: 100%; }
button, [role='button'], summary, select { min-height: 44px; }
a, button, summary, input, select, textarea { transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out); }

a:hover { text-decoration-color: var(--gold); }
a:active { color: var(--ink); background-color: rgba(181,138,66,.14); }
a:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 4px; background-color: var(--paper); color: var(--oxblood); }
button:hover { border-color: var(--oxblood); background-color: var(--cream); }
button:active { box-shadow: inset 0 0 0 2px var(--oxblood); }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { min-height: 44px; text-decoration: none; font-weight: 700; }
.skip-link:hover { background: var(--ink); color: var(--paper); }
.skip-link:active { background: var(--paper); color: var(--oxblood); }
.skip-link:focus-visible { color: var(--paper); background: var(--oxblood); outline: 3px solid var(--gold); }

.site-header { position: sticky; top: 0; z-index: var(--z-header); width: 100%; background: var(--paper); border-bottom: 1px solid var(--line); transition: background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }
.header-inner { max-width: calc(var(--shell) + 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-height); padding: .8rem var(--gutter); }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 0; flex: 0 0 auto; text-decoration: none; }
.brand img { height: 2.1rem; width: auto; max-width: 100%; }
.brand:hover { opacity: .85; box-shadow: 0 2px 0 var(--gold); }
.brand:active { background: var(--cream); box-shadow: 0 3px 0 var(--oxblood); }
.brand:focus-visible { background: var(--paper); outline: 3px solid var(--oxblood); outline-offset: 5px; }
.site-nav { display: flex; align-items: center; gap: clamp(.5rem, 1.8vw, 2rem); }
.nav-list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; min-width: 0; }
.nav-link, .nav-services > summary { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .65rem .85rem; font-size: var(--text-sm); font-weight: 600; line-height: 1.45; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-services > summary:hover { color: var(--oxblood); background: var(--cream); border-bottom-color: var(--gold); }
.nav-link:active, .nav-services > summary:active { color: var(--paper); background: var(--oxblood); border-bottom-color: var(--oxblood); }
.nav-link:focus-visible, .nav-services > summary:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; background: var(--cream); }
.nav-link[aria-current='page'] { border-bottom-color: var(--oxblood); color: var(--oxblood); }
.nav-services > summary { list-style: none; cursor: pointer; }
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary .icon { width: .85rem; height: .85rem; }
.nav-services[open] > summary { background: var(--cream); border-bottom-color: var(--oxblood); }
.nav-service-list { position: absolute; top: calc(100% + .8rem); left: 0; width: min(24rem, calc(100vw - 2rem)); padding: .5rem; margin: 0; list-style: none; background: var(--paper); border: var(--border); border-top: 3px solid var(--oxblood); box-shadow: var(--shadow-soft); }
.nav-service-list li { margin: 0; }
.nav-service-list a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 44px; padding: .85rem 1rem; border-bottom: var(--border); text-decoration: none; font-size: var(--text-sm); line-height: 1.5; }
.nav-service-list li:last-child a { border-bottom: 0; }
.nav-service-list a:hover { background: var(--cream); color: var(--oxblood); }
.nav-service-list a:active { background: var(--oxblood); color: var(--paper); }
.nav-service-list a:focus-visible { outline-offset: -3px; background: var(--cream); }
.nav-toggle { display: none; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; padding: .65rem .85rem; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; font-size: .85rem; font-weight: 600; }
.nav-toggle:hover { background: var(--cream); border-color: var(--oxblood); }
.nav-toggle:active { background: var(--oxblood); color: var(--paper); }
.nav-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.nav-toggle[aria-expanded='true'] { color: var(--paper); background: var(--oxblood); }
.site-header.is-condensed, .site-header.is-scrolled, .site-header[data-condensed='true'] { background: var(--paper); border-bottom-color: var(--line); box-shadow: 0 3px 14px rgba(43,23,23,.06); }
.site-header.is-condensed .header-inner, .site-header.is-scrolled .header-inner, .site-header[data-condensed='true'] .header-inner { min-height: var(--header-compact); }
.home-page .site-header, body[data-page='home'] .site-header { position: absolute; top: 0; background: transparent; border-bottom-color: transparent; }
.home-page .site-header .brand, body[data-page='home'] .site-header .brand { padding: .5rem .8rem; background: var(--paper); }
.home-page .site-header.is-condensed, .home-page .site-header.is-scrolled, body[data-page='home'] .site-header.is-condensed, body[data-page='home'] .site-header.is-scrolled { position: fixed; background: var(--paper); border-bottom-color: var(--line); }

.button, .btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 48px; padding: .85rem 1.3rem; border: 1px solid var(--oxblood); border-radius: var(--radius-control); color: var(--paper); background: var(--oxblood); font-size: var(--text-sm); font-weight: 600; line-height: 1.5; text-align: left; text-decoration: none; }
.button:hover, .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 3px 0 var(--gold); }
.button:active, .btn:active { background: var(--black); color: var(--paper); transform: translateY(1px); box-shadow: none; }
.button:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; background: var(--oxblood); color: var(--paper); }
.button--outline, .button--secondary { background: transparent; color: var(--oxblood); }
.button--outline:hover, .button--secondary:hover { background: var(--oxblood); color: var(--paper); }
.button--outline:active, .button--secondary:active { background: var(--ink); color: var(--paper); }
.button--light { color: var(--oxblood); background: var(--paper); border-color: var(--paper); }
.button--light:hover { color: var(--ink); background: var(--cream); border-color: var(--gold); }
.button--light:active { color: var(--paper); background: var(--ink); }
.button--small { min-height: 44px; padding: .6rem .95rem; }
.button:disabled, .btn:disabled { cursor: not-allowed; opacity: .6; transform: none; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; padding: .5rem 0; color: var(--oxblood); text-decoration: none; border-bottom: 1px solid var(--oxblood); line-height: 1.5; font-weight: 600; }
.text-link:hover { border-bottom-color: var(--gold); background: var(--paper); }
.text-link:active { background: var(--cream); border-bottom-width: 2px; }
.text-link:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 4px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; min-width: 44px; padding: .7rem; background: transparent; border: 1px solid var(--line); border-radius: 2px; font-size: .8rem; }
.icon-button:hover { background: var(--cream); border-color: var(--oxblood); }
.icon-button:active { background: var(--oxblood); color: var(--paper); }
.icon-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.service-list > li { margin: 0; border-bottom: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr) minmax(0, .8fr) auto; align-items: start; gap: var(--space-5); padding: 2rem 0; min-width: 0; }
a.service-row { text-decoration: none; }
.service-row > * { min-width: 0; }
.service-row__number { color: var(--oxblood); font-family: var(--vabi-fd8); font-size: var(--text-xs); padding-top: .35rem; }
.service-row__title { font-family: var(--vabi-87b); font-weight: 400; font-size: var(--text-xl); line-height: 1.15; margin: 0; }
.service-row__description { font-size: var(--text-sm); color: var(--muted); margin: 0; }
.service-row > .icon { margin-top: .3rem; }
a.service-row:hover { background: var(--paper); box-shadow: inset 3px 0 0 var(--gold); }
a.service-row:active { background: var(--cream); box-shadow: inset 3px 0 0 var(--oxblood); }
a.service-row:focus-visible { outline-offset: -3px; background: var(--paper); }
.evidence-note { padding: 1.5rem 1.75rem; border-left: 2px solid var(--gold); background: var(--paper); }
.evidence-note p:last-child { margin-bottom: 0; }
.figure { margin: 0; min-width: 0; }
.figure img { width: 100%; object-fit: cover; }
.figure figcaption, .image-caption { padding: .8rem 0; font-size: var(--text-xs); line-height: 1.6; color: var(--muted); border-bottom: var(--border); }
.figure-link { display: block; min-height: 44px; padding: 0; text-decoration: none; }
.figure-link:hover { box-shadow: 0 0 0 3px var(--gold); }
.figure-link:active { box-shadow: 0 0 0 3px var(--oxblood); }
.figure-link:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 5px; }
.figure-caption-overlay { color: var(--paper); background: #2b1717; padding: 1rem 1.25rem; font-size: var(--text-sm); line-height: 1.6; }
@supports (backdrop-filter: blur(8px)) { .figure-caption-overlay { background: rgba(43,23,23,.9); backdrop-filter: blur(8px); } }
.badge, .tag { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--line); color: var(--oxblood); font: 400 var(--text-xs)/1.5 var(--vabi-fd8); }
a.tag, button.tag { text-decoration: none; background: transparent; }
a.tag:hover, button.tag:hover { background: var(--paper); border-color: var(--oxblood); }
a.tag:active, button.tag:active { background: var(--oxblood); color: var(--paper); }
a.tag:focus-visible, button.tag:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); text-align: left; }
.spec-table caption { text-align: left; padding: 1rem 0; color: var(--oxblood); font-family: var(--vabi-fd8); font-size: var(--text-xs); }
.spec-table th, .spec-table td { vertical-align: top; padding: 1rem 1.2rem 1rem 0; border-bottom: var(--border); overflow-wrap: anywhere; }
.spec-table th { color: var(--oxblood); font-weight: 600; }
.spec-table thead th { border-top: 2px solid var(--oxblood); font-family: var(--vabi-fd8); font-size: var(--text-xs); }
.spec-table tbody th { width: 32%; }

.inquiry-form, .data-request-form { min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.form-field, .field { min-width: 0; margin-bottom: 1.4rem; }
.form-grid .form-field, .form-grid .field { margin-bottom: 0; }
.form-field--full, .field--full { grid-column: 1 / -1; }
.form-field label, .field label, .form-label { display: block; margin-bottom: .55rem; font: 500 var(--text-sm)/1.6 var(--vabi-fd8); color: var(--ink); }
.form-field input, .form-field select, .form-field textarea, .field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink); line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); background-color: var(--white); }
input:active, select:active, textarea:active { border-color: var(--oxblood); box-shadow: inset 0 0 0 1px var(--oxblood); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; border-color: var(--oxblood); background-color: var(--paper); }
.form-field textarea, .field textarea { min-height: 10rem; resize: vertical; }

.form-hint, .field-hint { display: block; margin-top: .5rem; color: var(--muted); font-size: var(--text-xs); line-height: 1.65; }
.form-error, .field-error { color: var(--danger); font-size: var(--text-sm); margin: .45rem 0 0; font-weight: 600; }
[aria-invalid='true'] { border-color: var(--danger) !important; box-shadow: inset 3px 0 0 var(--danger); }
.form-consent, .checkbox-field { display: flex; align-items: flex-start; gap: .8rem; min-height: 44px; margin-block: 1.4rem; }
.form-consent input, .checkbox-field input { appearance: auto; flex: 0 0 auto; width: 1.25rem; min-height: 1.25rem; margin: .3rem 0 0; accent-color: var(--oxblood); }
.form-consent label, .checkbox-field label { flex: 1; min-height: 44px; padding-block: .15rem; font-size: var(--text-sm); line-height: 1.65; cursor: pointer; }
.form-consent label:hover, .checkbox-field label:hover { color: var(--oxblood); background: var(--paper); }
.form-consent label:active, .checkbox-field label:active { background: var(--cream); }
.form-consent a, .checkbox-field a { text-underline-offset: .2em; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.form-actions p { font-size: var(--text-xs); margin: 0; max-width: 36ch; }
.form-status { margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--oxblood); background: var(--paper); overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status--success { border-color: var(--success); }
.form-status--error { border-color: var(--danger); }
.form-error-summary { padding: 1.25rem; border: 1px solid var(--danger); margin-bottom: 1.5rem; color: var(--danger); }
.form-error-summary a { display: inline-block; padding-block: .5rem; min-height: 44px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.disclosure { border-bottom: 1px solid var(--line); }
.disclosure > summary, .faq-item > summary { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 64px; padding: 1.2rem .4rem; list-style: none; cursor: pointer; font-weight: 600; line-height: 1.5; }
.disclosure > summary::-webkit-details-marker, .faq-item > summary::-webkit-details-marker { display: none; }
.disclosure > summary:hover, .faq-item > summary:hover { color: var(--oxblood); background: var(--paper); }
.disclosure > summary:active, .faq-item > summary:active { background: var(--cream); box-shadow: inset 3px 0 0 var(--gold); }
.disclosure > summary:focus-visible, .faq-item > summary:focus-visible { outline: 2px solid var(--oxblood); outline-offset: -2px; }
.disclosure[open] > summary, .faq-item[open] > summary { color: var(--oxblood); }
.disclosure__body { padding: .5rem .4rem 2rem; }
[role='tab'] { min-height: 48px; padding: .85rem 1.1rem; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--cream); font-weight: 600; line-height: 1.5; }
[role='tab']:hover { color: var(--oxblood); background: var(--paper); border-color: var(--oxblood); }
[role='tab']:active { background: var(--ink); color: var(--paper); }
[role='tab']:focus-visible { outline: 3px solid var(--gold); outline-offset: -4px; }
[role='tab'][aria-selected='true'] { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }

.footer-contact { padding: clamp(3.5rem, 7vw, 7rem) var(--gutter); color: var(--cream); background: var(--oxblood); }
.footer-contact__inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); max-width: var(--shell); margin: 0 auto; }
.footer-contact h2 { color: var(--cream); font-size: clamp(2.3rem, 4.8vw, 5rem); max-width: 15ch; margin-bottom: 0; }
.footer-contact .eyebrow { color: var(--cream); opacity: .82; }
.footer-contact__links { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer-contact__links a { display: inline-flex; gap: 1rem; align-items: center; max-width: 100%; min-height: 44px; padding: .7rem 0; color: var(--paper); font-size: clamp(1.05rem, 1.7vw, 1.6rem); text-decoration: none; border-bottom: 1px solid rgba(244,238,227,.5); line-height: 1.5; }
.footer-contact__links a:hover { color: var(--paper); border-color: var(--gold); background: var(--ink); }
.footer-contact__links a:active { color: var(--ink); background: var(--cream); }
.footer-contact__links a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; color: var(--paper); background: var(--ink); }
.site-footer { color: var(--cream); background: var(--ink); padding: 3.5rem var(--gutter) 0; }
.footer-inner { max-width: var(--shell); margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) minmax(0,.65fr); gap: clamp(2rem,4vw,4rem); padding-bottom: 3rem; }
.footer-brand { display: inline-flex; min-height: 44px; padding-block: .5rem; margin-bottom: 1rem; }
.footer-brand img { width: auto; height: 2.5rem; }
.footer-brand:hover { box-shadow: 0 2px 0 var(--gold); }
.footer-brand:active { background: var(--oxblood); }
.footer-brand:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; background: var(--ink); }
.footer-intro p { max-width: 32ch; font-size: var(--text-sm); color: var(--cream); }
.footer-heading { margin: 0 0 1rem; color: var(--cream); font: 500 var(--text-xs)/1.5 var(--vabi-fd8); letter-spacing: .1em; text-transform: uppercase; }
.footer-address address { font-size: var(--text-sm); line-height: 1.85; max-width: 30ch; }

.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; padding: .6rem 0; color: var(--cream); text-decoration: none; font-size: var(--text-sm); }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer a:active { color: var(--paper); background: var(--oxblood); }
.site-footer a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; color: var(--paper); background: var(--ink); }
.footer-legal { border-top: 1px solid rgba(214,201,186,.3); padding: 1.3rem 0 6.5rem; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: .8rem 2rem; }
.footer-legal p { margin: 0; padding-block: .7rem; font-size: var(--text-xs); }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: .15rem 1.15rem; align-items: center; max-width: 100%; }
.footer-legal__links a, .consent-reopen { display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 0; color: var(--cream); font-size: var(--text-xs); text-decoration: none; line-height: 1.4; }
.consent-reopen { background: transparent; border: 0; border-bottom: 1px solid transparent; cursor: pointer; }
.consent-reopen:hover { background: var(--oxblood); color: var(--paper); border-bottom-color: var(--gold); }
.consent-reopen:active { background: var(--cream); color: var(--ink); }
.consent-reopen:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.cookie-banner { position: fixed; inset: auto 0 0; z-index: var(--z-consent); background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); padding: .65rem var(--gutter); box-shadow: 0 -4px 20px rgba(43,23,23,.07); }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; max-width: var(--shell); margin-inline: auto; }
.cookie-banner p { font-size: var(--text-xs); line-height: 1.45; margin: 0; max-width: 64ch; }
.cookie-banner p a { display: inline-flex; min-height: 44px; align-items: center; padding-inline: .25rem; font-weight: 600; }
.cookie-banner__actions { display: flex; flex: 0 0 auto; gap: .5rem; }
.cookie-banner__actions .button { min-height: 44px; padding: .6rem 1rem; font-size: .75rem; justify-content: center; }
.cookie-banner__actions .button--secondary { border-color: var(--oxblood); }
body:has([data-1ccccc]:not([hidden])) { --consent-height: 78px; }
body:has([data-1ccccc]:not([hidden])) .chat-launcher { visibility: hidden; pointer-events: none; }

.chat-widget { position: relative; z-index: var(--z-chat); }
.chat-launcher { position: fixed; right: var(--gutter); bottom: 1rem; display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; max-width: calc(100vw - 2rem); padding: .8rem 1.1rem; color: var(--paper); background: var(--oxblood); border: 1px solid var(--cream); border-radius: 2px; box-shadow: 0 4px 20px rgba(43,23,23,.18); font-size: var(--text-sm); font-weight: 600; line-height: 1.5; }
.chat-launcher:hover { background: var(--ink); border-color: var(--gold); color: var(--paper); box-shadow: 0 5px 24px rgba(43,23,23,.25); }
.chat-launcher:active { background: var(--paper); color: var(--oxblood); border-color: var(--oxblood); box-shadow: inset 0 0 0 1px var(--oxblood); }
.chat-launcher:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; background: var(--oxblood); color: var(--paper); }
.chat-unread { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; padding: .15rem .4rem; border-radius: 50%; background: var(--paper); color: var(--oxblood); font: 500 .75rem/1.3 var(--vabi-fd8); }
.chat-panel { position: fixed; right: var(--gutter); bottom: calc(5.3rem + var(--consent-height)); width: min(25rem, calc(100vw - 2rem)); max-height: calc(100dvh - 7rem - var(--consent-height)); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-widget); box-shadow: var(--shadow-deep); overflow: auto; overscroll-behavior: contain; }
.chat-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: var(--oxblood); color: var(--paper); border-radius: 9px 9px 0 0; }
.chat-header h2 { color: var(--paper); font-size: 1.45rem; letter-spacing: -.01em; margin: 0; }
.chat-header p { margin: .3rem 0 0; font-size: .7rem; line-height: 1.5; }
.chat-close { color: var(--paper); border-color: rgba(244,238,227,.5); padding: .5rem; }
.chat-close:hover { background: var(--paper); color: var(--oxblood); }
.chat-close:active { background: var(--ink); color: var(--paper); }
.chat-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.chat-transcript { flex: 1 1 auto; min-height: 6rem; overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem; display: flex; flex-direction: column; gap: .9rem; }
.chat-message { max-width: 92%; padding: .8rem 1rem; border-left: 2px solid var(--gold); background: var(--cream); overflow-wrap: anywhere; font-size: .85rem; line-height: 1.65; }
.chat-message p { margin: 0; white-space: pre-wrap; }
.chat-message--visitor { align-self: flex-end; border-left: 0; border-right: 2px solid var(--oxblood); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.chat-message--pending { border-color: var(--muted); }
.chat-message--failed { border-color: var(--danger); }
.chat-message__meta { display: block; margin-top: .4rem; color: var(--muted); font-family: var(--vabi-fd8); font-size: .65rem; }
.chat-intake, .chat-compose { flex: 0 0 auto; padding: 1rem 1.2rem; border-top: 1px solid var(--line); }
.chat-intake .form-field, .chat-compose .form-field { margin-bottom: .85rem; }
.chat-intake label, .chat-compose label { font-size: .75rem; }
.chat-intake input, .chat-compose textarea { font-size: .85rem; padding: .65rem .8rem; }
.chat-compose textarea { min-height: 5.5rem; }
.chat-intake .form-consent { margin-block: .65rem; }
.chat-intake .form-consent label { font-family: var(--vabi-e0c); font-size: .75rem; }
.chat-intake .form-consent input { width: 1.2rem; min-height: 1.2rem; }
.chat-status { margin: 0; padding: .5rem 1.2rem; font-size: .75rem; line-height: 1.5; color: var(--danger); }
.chat-status:empty { display: none; }
.chat-retry { margin-top: .5rem; min-height: 44px; padding: .5rem .75rem; color: var(--oxblood); background: var(--paper); border: 1px solid var(--oxblood); font-size: .75rem; }
.chat-retry:hover { background: var(--oxblood); color: var(--paper); }
.chat-retry:active { background: var(--ink); color: var(--paper); }
.chat-retry:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.chat-privacy { padding: 0 1.2rem .8rem; margin: 0; font-size: .68rem; color: var(--muted); }
.chat-privacy a { display: inline-flex; align-items: center; min-height: 44px; padding-block: .4rem; }

@media (min-width: 1001px) {
   .site-nav[hidden] { display: flex !important; }
   .site-header .nav-toggle { display: none !important; }
   .site-header .header-inner { flex-wrap: nowrap; }
}
@media (max-width: 1000px) {
   :root { --header-height: 5rem; }
   .header-inner { flex-wrap: wrap; column-gap: 1rem; row-gap: 0; }
   .js .nav-toggle { display: inline-flex; }
   .site-nav { flex-basis: 100%; display: block; padding-top: .8rem; }
   .js .site-nav { display: none; }
   .js .site-nav.is-open, .js .site-nav[data-open='true'], .js .site-nav[aria-hidden='false'], .js .header-inner:has([data-b6654c][aria-expanded='true']) .site-nav { display: block; max-height: calc(100dvh - 6rem); overflow-y: auto; padding-bottom: 1rem; }
   .nav-list { display: block; border-top: var(--border); }
   .nav-list > li { border-bottom: var(--border); }
   .nav-link, .nav-services > summary { padding: .8rem .5rem; }
   .nav-service-list { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 .7rem .7rem; }
   .site-nav > .button { margin-top: .9rem; }
   .home-page .site-header, body[data-page='home'] .site-header { background: var(--paper); }
   .home-page .site-header .brand, body[data-page='home'] .site-header .brand { padding-inline: 0; }
   .footer-main { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
   .footer-intro { grid-column: 1 / -1; }
   .footer-intro p { max-width: 48ch; }
   .service-row { grid-template-columns: 2rem minmax(0,1fr) auto; }
   .service-row__description { grid-column: 2; }
   .service-row > .icon { grid-column: 3; grid-row: 1; }
}
@media (max-width: 760px) {
   .footer-contact__inner { grid-template-columns: 1fr; gap: 2rem; }
   .footer-contact__links a { font-size: 1.1rem; }
   .footer-main { gap: 2rem; }
   .form-grid { grid-template-columns: 1fr; }
   .footer-legal { display: block; padding-bottom: 6rem; }
   .footer-legal__links { gap: .2rem 1rem; }
   .cookie-banner { padding: .45rem 1rem; }
   .cookie-banner__inner { display: grid; grid-template-columns: minmax(0,1fr); gap: .2rem; }
   .cookie-banner p { font-size: .68rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .15rem; line-height: 1.3; }
   .cookie-banner p a { min-height: 44px; padding-block: .3rem; }
   .cookie-banner__actions { gap: .5rem; }
   .cookie-banner__actions .button { flex: 1; min-height: 44px; padding: .55rem .6rem; }
   body:has([data-1ccccc]:not([hidden])) { --consent-height: 105px; }
   .chat-panel { right: 1rem; bottom: calc(5rem + var(--consent-height)); }
   .chat-launcher { right: 1rem; }
}
@media (max-width: 420px) {
   .header-inner { padding-block: .6rem; }
   .brand img { height: 1.9rem; }
   .nav-toggle { padding: .55rem .7rem; }
   .footer-main { grid-template-columns: 1fr; }
   .footer-intro { grid-column: auto; }
   .service-row { gap: .7rem; padding-block: 1.5rem; }
   .service-row__title { font-size: 1.6rem; }
   .form-actions { align-items: stretch; flex-direction: column; }
   .form-actions .button { width: 100%; }
   .chat-panel { width: calc(100vw - 1rem); right: .5rem; }
   .chat-header, .chat-transcript, .chat-intake, .chat-compose { padding: .85rem; }
}
@media (prefers-reduced-motion: no-preference) {
   .site-header { view-transition-name: site-header; }
   .brand img { view-transition-name: site-logo; }
   ::view-transition-group(site-header), ::view-transition-group(site-logo) { animation-duration: 360ms; animation-timing-function: var(--ease-snap); }
   ::view-transition-old(site-header), ::view-transition-new(site-header) { mix-blend-mode: normal; }
}
@media (forced-colors: active) {
   .button, .chat-launcher, .cookie-banner, .chat-panel { border: 1px solid ButtonText; }
   .nav-link[aria-current='page'], [role='tab'][aria-selected='true'] { border-bottom: 3px solid Highlight; }
   .form-error, .field-error { color: CanvasText; border-left: 3px solid Highlight; padding-left: .5rem; }
}
@media print {
   .site-header, .footer-contact, .cookie-banner, .chat-widget, .consent-reopen, .skip-link { display: none !important; }
   .site-footer { background: white; color: black; padding: 2rem 0 0; }
   .site-footer a, .footer-heading, .footer-intro p { color: black; }
   .footer-brand { display: none; }
   .footer-legal { padding-bottom: 0; }
   .form-actions { display: none; }
   a { text-decoration: underline; }
}
