/* Accessibility improvements that retain the site's black, white and gold palette. */
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #101010;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #f6d999;
}
.skip-link {
  top: 0;
  inset-inline-start: 1rem;
  inset-inline-end: auto;
  transform: translateY(-160%);
  max-width: calc(100% - 2rem);
  white-space: normal;
}
.skip-link:focus { top: 0.625rem; transform: none; }
html { scroll-padding-block: calc(var(--header-height, 86px) + 1rem) calc(var(--contact-bar-height, 0px) + 1rem); }
:is(main, section, a, button, summary, input, select, textarea) { scroll-margin-block: 1rem; }
.hero-grid, .about-grid, .contact-grid, .faq-grid { min-width: 0; }
.hero-grid > *, .about-grid > *, .contact-grid > *, .faq-grid > * { min-width: 0; }
.topline { height: auto; min-height: 30px; }
.topline .wrap { flex-wrap: wrap; column-gap: 0.5rem; }
.section-light .eyebrow { color: #805d18; }
.service-card p, .faq-grid > div > p, .services-bottom { color: #666; }
.footer-bottom { color: #a5a5a5; }
.contact textarea::placeholder { color: #a9a398; opacity: 1; }
.contact select, .contact textarea { border-color: #8d8069; }
dialog .dialog-note { color: #aba498; }
.optional-field { color: #c1bbb0; font-size: 0.875rem; }
.contact form .form-note, .contact .field-hint { color: #b3ada2; font-size: 0.875rem; }
.contact .field-hint { margin-top: 0.5rem; }
.contact .field-error { color: #ffb4ab; font-size: 1rem; margin: 0.5rem 0 1rem; }
.contact :is(select, textarea)[aria-invalid="true"] { border: 2px solid #ffb4ab; }
.contact .form-status { font-size: 0.9375rem; color: #eee; }
.contact .form-status:empty { margin: 0; }
.form-retry { display: inline-block; margin-top: 0.75rem; color: var(--gold); text-decoration: underline; text-underline-offset: 0.25em; }
.service-card { position: relative; min-width: 0; font: inherit; }
.service-card > * { min-width: 0; }
.service-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  border-top: 1px solid #ddd;
  padding-inline: 0;
  text-align: start;
  font-family: inherit;
  cursor: pointer;
  min-height: 44px;
}
.service-trigger::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.service-card:focus-within { outline: 3px solid #101010; outline-offset: 3px; box-shadow: 0 0 0 6px #f6d999; }
.hero-animation { margin: 0; flex-direction: column; gap: 1rem; }
.animation-toggle {
  color: var(--gold);
  border: 1px solid #897046;
  border-radius: 6px;
  background: #101010;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: anywhere;
}
dialog { max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
.dialog-close { min-width: 44px; min-height: 44px; color: #c5c5c5; }
.footer-top > nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-inline-start: auto; font-size: 0.875rem; color: #aaa; }
.footer-bottom a { color: #d9bd85; text-decoration: underline; text-underline-offset: 0.25em; }
.contact-number, .secondary-number { max-width: 100%; overflow-wrap: anywhere; }
.text-link { white-space: normal; }
.hero-note { align-items: flex-start; }
.hero-note svg { margin-top: 0.25em; }
.accessibility-content { padding-block: 3rem; }
.accessibility-content h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.05em; line-height: 1.3; }
.accessibility-content h2 { font-size: 1.5rem; letter-spacing: 0; margin-block: 2rem 1rem; }
.accessibility-content p, .accessibility-content li { max-width: 70ch; }
.accessibility-content p + p { margin-top: 1rem; }
.accessibility-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 0.2em; }
.accessibility-content .updated { color: #bbb; margin-block: 1rem 2rem; }
.accessibility-header .header-inner { height: auto; min-height: 86px; padding-block: 1rem; flex-wrap: wrap; }
@media (max-width: 800px) {
  .header-inner { height: auto; min-height: 72px; padding-block: 0.75rem; flex-wrap: wrap; }
  .header nav { top: 100%; max-height: calc(100dvh - var(--header-height, 72px) - var(--contact-bar-height, 0px) - 1rem); overflow-y: auto; }
  .header-cta { font-size: 0.875rem; white-space: normal; max-width: calc(100% - 60px); }
  .menu-toggle { min-width: 44px; min-height: 44px; width: 44px; }
  .hero-animation { gap: 0.5rem; }
  .animation-toggle { font-size: 0.8125rem; padding: 0.375rem; }
  .hero-note { font-size: 0.8125rem; }
  body { padding-bottom: var(--contact-bar-height, 5rem); }
  body:has(.accessibility-content) { padding-bottom: 0; }
  body > footer { padding-bottom: 0; }
  .footer-top > nav { grid-column: 1 / -1; margin: 0; }
  .footer-bottom { font-size: 0.8125rem; }
  .hero-copy > h1 { overflow-wrap: normal; }
  .header-logo { flex-shrink: 0; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
  .brands > div { flex-wrap: wrap; max-width: 100%; justify-content: center; gap: 1rem 1.5rem; }
}
@media (max-width: 380px) {
  .header-cta { display: none; }
  .menu-toggle { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 84px; }
  .hero-copy > h1 { font-size: 2rem; }
  .brands > div { flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > p { border: 0; padding: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid > div:nth-child(odd) { border-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
  .service-card:focus-within { outline: 3px solid Highlight; box-shadow: none; }
  .button, .animation-toggle, .menu-toggle { border: 1px solid ButtonText; }
}
