/* Shared browser, tablet and phone layout. */
html { -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
img { max-width: 100%; }
main, section, article, .quote > div, .featured > div { min-width: 0; }
input, select, textarea { font-size: 16px; }
button, .button, summary { touch-action: manipulation; }
.menu-toggle { display: none; }
.report-camera { position: relative; margin: -3px 0 20px; }
.report-camera[hidden] { display: none !important; }
.camera-button { min-height: 48px; }
.camera-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; border: 0; }
.camera-status { font-size: 12px; color: #234d7a; }
.photo-flow figure { background: #e5e6e3; }
.photo-flow img { filter: none; }
.photo-flow figure:first-child { background: #d8c9bb; }
.photo-flow figure:first-child img { object-fit: contain; object-position: 50% 40%; padding: 12px 12px 45px; background: #d8c9bb; }
.photo-flow figure:first-child:hover img { transform: none; }
img[src="assets/sprinkler-hd.webp"].service-photo,
.featured img[src="assets/sprinkler-hd.webp"] { object-fit: contain; padding: 16px; background: #d8c9bb; }
.photo-flow figure:nth-child(2) img,
.photo-flow figure:nth-child(3) img { object-fit: cover; padding: 0; object-position: 50% 50%; }
.system-photo img, .service-photo, .featured img { object-position: center; }
.photo-flow figure:nth-child(3) img { object-fit: contain; padding: 0; background: #ac5140; }
.priority-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.priority-field legend { font-size: 12px; color: #34465d; font-weight: 550; margin-bottom: 8px; }
.priority-options { display: flex; flex-wrap: wrap; gap: 8px; }
.priority-options label { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #ccd8e7; border-radius: 9px; padding: 10px 12px; background: #fbfcff; }
.priority-options input { width: 16px; height: 16px; margin: 0; }
.priority-options label:has(input:checked) { border-color: #2879d8; background: #edf5ff; }
@media (max-width: 900px) {
  .nav { gap: 12px; }
  .quote { gap: 24px; }
  .article { max-width: 100%; }
}
@media (max-width: 640px) {
  .nav { padding: 13px 16px; position: relative; min-height: 64px; }
  .brand-approved { min-height: 38px; }
  .fsi-symbol { width: 65px; height: 21px; }
  .fsi-name strong { font-size: 12px; }
  .fsi-name > span { font-size: 7px; letter-spacing: 2.25px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; border: 1px solid #cbd9e8; border-radius: 9px; color: #10294f; background: white; font: 600 12px system-ui; padding: 8px 12px; }
  header nav { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; padding: 12px 16px 18px; background: #fff; border-bottom: 1px solid #dce5ef; box-shadow: 0 12px 20px #10294f0b; align-items: stretch; gap: 7px; }
  header nav.is-open { display: flex; flex-direction: column; }
  header nav a, header nav a:not(.button), header nav .button { min-height: 44px; padding: 12px 14px; display: flex; align-items: center; font-size: 14px; }
  header nav a:not(.button) { color: #10294f; }
  .hero { padding: 42px 21px 30px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 52px); line-height: 1.08; letter-spacing: -1.5px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
  .simple-copy { font-size: 16px; line-height: 1.65; }
  .hero .button, .bottom-cta .button { width: 100%; max-width: 390px; white-space: normal; min-height: 52px; padding: 14px 18px; }
  .photo-flow { grid-template-columns: 1fr; gap: 12px; padding: 0 17px; margin-top: 20px; }
  .photo-flow figure { height: 205px; border-radius: 12px; }
  .photo-flow figure:first-child img { object-fit: contain; object-position: 50% 40%; padding: 8px 8px 38px; }
  .photo-flow figure:nth-child(2) img { object-fit: cover; padding: 0; }
  .photo-flow figure:nth-child(3) img { object-fit: contain; padding: 0; }
  .photo-flow figcaption { font-size: 15px; padding: 40px 17px 16px; }
  .short-section { padding: 37px 23px; }
  .short-grid { gap: 23px; }
  .short-section h2, .bottom-cta h2 { font-size: 31px; }
  .short-grid p, .street-story p { font-size: 15px; }
  .quote-wrap { padding: 0 14px; margin: 20px auto 30px; }
  .quote { padding: 24px 18px; border-radius: 20px; }
  .quote > div:first-child { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-grid label, .priority-field legend { font-size: 13px; }
  .form-grid input, .form-grid select { min-height: 48px; }
  .types { gap: 6px; }
  .types button { min-height: 48px; font-size: 12px; }
  .upload { padding: 18px 14px; }
  .upload input[type=file] { width: 100%; font-size: 13px; }
  input::file-selector-button { padding: 10px; border-radius: 7px; border: 1px solid #cbd8e8; background: #fff; color: #10294f; margin-right: 8px; }
  #submit-button, #later-form .button { width: 100%; min-height: 50px; }
  .privacy { font-size: 12px !important; line-height: 1.6; }
  .faq summary { min-height: 44px; }
  .article { padding: 0 22px; font-size: 16px; line-height: 1.8; }
  .article h2 { font-size: 28px; }
  .article table { min-width: 530px; }
  .table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
  .resource-hero h1 { font-size: 37px; letter-spacing: -1.5px; }
  .featured h2 { font-size: 28px; }
  footer { padding: 25px 22px; gap: 20px; }
  footer p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
}
