/* Shared accessibility and demo navigation; each concept owns its visual design. */
html { color-scheme: light; }
html:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
button, a, summary, select, input { touch-action: manipulation; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button { min-height: 44px; }
button:hover { filter: brightness(.94); }
a:hover { text-underline-offset: 5px; }
a.enquire:hover, a.back-link:hover, a.text-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
a.contact-button:hover { filter: brightness(1.15); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
section[id] { scroll-margin-top: 30px; }
img { max-width: 100%; }
dialog { overscroll-behavior: contain; overflow-y: auto; }
dialog::backdrop { backdrop-filter: none; }
dialog .close, .icon-button, .gallery-controls button { min-width: 44px; min-height: 44px; }
dialog :focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible,
select:focus-visible, input:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
select { color: inherit; background-color: inherit; }
.skip-link { position: fixed; top: 8px; left: 12px; transform: translateY(-200%); z-index: 100; background: #fff; color: #14234b; padding: 14px; }
.skip-link:focus { transform: none; }
.demo-bar { padding: 10px 4%; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 12px/1.5 Arial, sans-serif; border-bottom: 1px solid currentColor; }
.demo-bar a { text-decoration: underline; text-underline-offset: 3px; padding: 3px 0; }
.mobile-menu { display: none; }
.icon { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.gallery-photo img { object-fit: contain; }
.gallery-bottom [role=status] { min-width: 38px; text-align: center; }
.gallery-controls { flex-shrink: 0; }
form label { line-height: 1.5; }
.cart-total { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-item button { padding: 10px 0; }
.cart-item button:hover { text-decoration-thickness: 2px; }
.undo-remove { border: 0; background: transparent; color: inherit; text-decoration: underline; padding: 12px 0; font-size: 14px; }
.quote-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quote-fieldset legend { margin: 24px 0 16px; font-size: 19px; }
.quote-option { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #80909c; border-radius: 4px; padding: 16px; cursor: pointer; font-size: 15px; line-height: 1.5; }
.quote-option:has(input:checked) { border-color: var(--navy); background: var(--pale); box-shadow: inset 3px 0 var(--navy); }
.quote-option input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.quote-choices { gap: 12px; }
.quote-error { font-size: 14px; color: #952b19; }
.steps [aria-current=step] { font-weight: 700; color: var(--navy); }
.restart-quote { border: 0; background: none; text-decoration: underline; padding: 12px 0; }
@media (max-width: 760px) {
  .demo-bar { font-size: 11px; padding: 9px 20px; }
  .demo-bar span { max-width: 55%; }
  header { flex-wrap: wrap; position: relative; height: auto; min-height: 80px; }
  .mobile-menu { display: block; width: 100%; order: 3; border-top: 1px solid currentColor; }
  .mobile-menu summary { cursor: pointer; padding: 14px 0; font-size: 14px; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: space-between; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary img { transition: transform .2s; }
  .mobile-menu[open] summary img { transform: rotate(45deg); }
  .mobile-menu nav { display: flex; flex-wrap: wrap; gap: 0 24px; padding-bottom: 8px; }
  .mobile-menu nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .mobile-menu nav a:last-child { display: inline-flex; }
  .hero h1 { font-size: clamp(44px, 12.8vw, 68px); letter-spacing: -.045em; }
  .hero .lede { max-width: 36ch; }
  .gallery-bottom { gap: 12px; }
  dialog { max-height: 88dvh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
