/* ==========================================================================
   Wide screens (viewport wider than 1600px)

   The original design scales with the viewport, but not uniformly. Measured on the
   live site (reference/wix/<page>/wide-map.json, reference/wix/_interactions/scale-law.json):

   - "fluid" sections keep scaling forever. That is the default here: rem follows the viewport.
   - "capped" sections stop growing at 1600px and sit centred. Add class "is-capped" to the
     <section>: above 1600px it is laid out exactly as at 1600px (zoom) and centred.
     If its background must still reach the viewport edges, add "has-bleed" and set --bleed.
   - fixed-size parts (FAQ accordion, form fields, footer links, blog text) never scale:
     write them in px, as calc(16px * var(--px)) when they can sit inside a capped section,
     so the zoom above does not shrink them.
   ========================================================================== */

:root { --px: 1; }

@media (min-width: 1601px) {
	.kt-main > section.is-capped,
	.is-capped,
	.kt-main > section.faq {                     /* every FAQ variant is capped, incl. the service-page bars */
		zoom: tan(atan2(1600px, 100vw));          /* = 1600 / viewport width, as a plain number */
		width: 144rem;                             /* 144rem * zoom = 1600px */
		margin-inline: auto;
		--px: tan(atan2(100vw, 1600px));           /* undoes the zoom for fixed-px parts */
	}
	.is-capped.has-bleed {
		border-image: conic-gradient(var(--bleed, #000) 0 0) fill 0 / 0 / 0 100vw;
	}
}
