/* Overrides for what Squarespace's JS used to compute at runtime. */
:root { --header-height: 143.17px; }
@media (max-width: 767px) { :root { --header-height: 96.77px; } }
html { scroll-behavior: smooth; }
html.site-noscroll { overflow: hidden; }

/* Homepage service links */
#siteWrapper [data-section-id="65d76909fef9981f9357fece"] .sqs-button-element--tertiary {
  font-size: 1rem;
  line-height: 1.5;
}

/* Gallery grids */
.gallery-grid-wrapper { grid-template-columns: repeat(var(--gallery-cols, 3), 1fr); }
@media (max-width: 767px) { .gallery-grid-wrapper { grid-template-columns: repeat(2, 1fr); } }
.img-wrapper, .image-slide-anchor, .margin-wrapper { position: relative; }
.gallery-fullscreen-slideshow-list { height: 100%; }
.gallery-slideshow-wrapper { aspect-ratio: 3 / 2; }
.sqs-gallery-design-stacked-slide { transition: opacity .6s ease; }
.gdpr-cookie-banner[hidden] { display: none !important; }
@media (min-width: 768px) { .gdpr-cookie-banner.full-styling.popup { width: 360px; } }

/* Marquee */
.site-marquee { overflow: hidden; white-space: nowrap; }
.site-marquee-track { display: inline-block; margin: 0; animation: site-marquee 40s linear infinite; }
.site-marquee-item { display: inline-block; padding-right: .35em; }
@keyframes site-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .site-marquee-track { animation: none; } }

/* Map */
.sqs-block-map .sqs-block-content { height: 100%; }
.map-embed { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(1) contrast(.9) brightness(1.05); }

/* Video */
.site-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.site-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Forms */
.site-form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-field-error { color: #c0392b; font-size: .85em; margin-top: .4em; }
.site-form-status { margin-top: 1em; }
.site-form-status--error { color: #c0392b; }
:is([data-section-theme="dark"], [data-section-theme="bright-inverse"]) :is(.site-field-error, .site-form-status--error) { color: #ff8a80; }
/* reCAPTCHA v2 checkbox (304px wide): scaled down when the form is narrower */
.site-recaptcha-wrap { margin: 1em 0; }
@media (max-width: 400px) { .site-recaptcha { transform: scale(.85); transform-origin: 0 0; height: 66px; } }
/* Forms on dark sections: Squarespace left typed text black on #3d3d3d (also on the live site) */
[data-section-theme="dark"] form[data-site-form],
[data-section-theme="bright-inverse"] form[data-site-form] { --dynamic-input-text-color: #fff; }
[data-section-theme="dark"] form[data-site-form] :is(input, textarea, select),
[data-section-theme="bright-inverse"] form[data-site-form] :is(input, textarea, select) { color: #fff; caret-color: #fff; }
[data-section-theme="dark"] form[data-site-form] ::placeholder,
[data-section-theme="bright-inverse"] form[data-site-form] ::placeholder { color: rgba(255, 255, 255, .5); }
[data-section-theme="dark"] form[data-site-form] option,
[data-section-theme="bright-inverse"] form[data-site-form] option { color: #000; }
[data-section-theme="dark"] form[data-site-form] :-webkit-autofill,
[data-section-theme="bright-inverse"] form[data-site-form] :-webkit-autofill {
  -webkit-text-fill-color: #fff; box-shadow: 0 0 0 1000px #3d3d3d inset; transition: background-color 9999s;
}
