/* Site-wide additions to the design's inline styles: smooth jumps, phone sizes, the form. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
section[id] { scroll-margin-top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #7ab1b2; outline-offset: 2px; }

/* Form labels: keep the required star on the same line as the label text. */
#contact form label[style*="flex-direction: column"] { display: grid !important; grid-template-columns: auto 1fr; column-gap: 4px; align-content: end; justify-items: start; }
#contact form label[style*="flex-direction: column"] > input,
#contact form label[style*="flex-direction: column"] > select,
#contact form label[style*="flex-direction: column"] > textarea { grid-column: 1 / -1; width: 100%; box-sizing: border-box; margin-top: 6px; }
#contact form input, #contact form select, #contact form textarea { font-size: 16px; color: #0e1113; }
#contact form [aria-invalid="true"] { border-color: #b3261e !important; }
#contact form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.site-sugs { position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px 0; list-style: none; background: #fff; border: 1.5px solid #c3d3d4; border-radius: 8px; z-index: 5; box-shadow: 0 10px 24px rgba(14,17,19,.12); }
.site-sugs button { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 14px; min-height: 44px; background: none; border: 0; font: inherit; font-size: 15px; color: #0e1113; cursor: pointer; }
.site-sugs button:hover, .site-sugs button[aria-selected="true"] { background: #eef4f4; }
.site-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 700px) {
  #top div[role="img"][aria-label$="card"] { zoom: 0.7; }
  h1 { font-size: clamp(40px, 12vw, 84px) !important; overflow-wrap: break-word; }
  h2 { font-size: clamp(32px, 9.5vw, 56px) !important; overflow-wrap: break-word; }
  section > div[style*="padding: 9"], section > div[style*="padding: 10"], section > div[style*="padding: 8"] { padding-left: 20px !important; padding-right: 20px !important; padding-top: 64px !important; padding-bottom: 64px !important; }
  #contact form { grid-template-columns: minmax(0, 1fr) !important; }
  #contact form > div[style*="2fr"] { grid-template-columns: minmax(0, 1fr) 70px 100px !important; gap: 10px !important; }
  #contact > div > div[style*="padding: 36px"] { padding: 22px !important; }
}
