/* illum Spaces — site-wide additions for the live build */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img { max-width: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #B5583A; outline-offset: 2px; }
button[disabled] { opacity: .7; cursor: wait; }
[id] { scroll-margin-top: 16px; }

@media (max-width: 760px) {
  /* Keep wide grids from forcing sideways scrolling on phones */
  [style*="minmax(380px"], [style*="minmax(360px"], [style*="minmax(340px"], [style*="minmax(320px"], [style*="minmax(300px"] {
    grid-template-columns: 1fr !important;
  }
  header nav, header [aria-label="Main"] { gap: 6px 18px !important; font-size: 15px; }
  section[style*="padding: 112px"], section[style*="padding: 96px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  div[style*="padding: 112px 32px"] { padding: 64px 20px !important; }
  header, section, footer > div { padding-left: 20px !important; padding-right: 20px !important; }
  table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
