:root {
	--duration-short: 100ms;
	--duration-default: 200ms;
	--duration-announcement-bar: 250ms;
	--duration-medium: 300ms;
	--duration-long: 500ms;
	--duration-extra-long: 600ms;
	--duration-extra-longer: 750ms;
	--duration-extended: 3s;
	--ease-out-slow: cubic-bezier(0, 0, 0.3, 1);
	--animation-slide-in: slideIn var(--duration-extra-long)
		var(--ease-out-slow) forwards;
	--animation-slide-in--menu: slideIn var(--duration-medium)
		var(--ease-out-slow) forwards;
	--animation-fade-in: fadeIn var(--duration-extra-long) var(--ease-out-slow);

	--header-height: 100px;
	--page-gutter: 40px;
	--page-max-width: 1380px;
	--num-grid-columns: 12;
}

@media screen and (max-width: 1024px) {
	:root {
		--page-gutter: 32px;
	}
}

@media screen and (max-width: 768px) {
	:root {
		--page-gutter: 24px;
		--header-height: 80px;
	}
}

@media screen and (max-width: 640px) {
	:root {
		--page-gutter: 16px;
	}
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: inherit;
	border-width: 0;
	border-style: solid;
}

/* Hide animated elements initially to prevent flash */
.gsap-masked-lines,
.footer-menu a,
.header-menu a,
.business-info > div,
.gsap-masked-image,
.home-hero--logo,
.scroll-trigger {
	visibility: hidden;
}

/* Show elements when preloader is complete */
body.preloader-complete .gsap-masked-lines,
body.preloader-complete .footer-menu a,
body.preloader-complete .header-menu a,
body.preloader-complete .business-info > div,
body.preloader-complete .gsap-masked-image,
body.preloader-complete .home-hero--logo,
body.preloader-complete .scroll-trigger {
	visibility: visible;
}

html {
	box-sizing: border-box;
	font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji';
	line-height: 1.15; /* 1. Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
	-moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
	tab-size: 4; /* 3 */
	scroll-behavior: smooth;
	font-variant-numeric: lining-nums;
}

body {
	margin: 0; /* Remove the margin in all browsers. */
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	scroll-behavior: smooth;
}

abbr[title] {
	text-decoration: underline dotted;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
	display: block;
	vertical-align: middle;
}

img,
video {
	max-width: 100%;
	height: auto;
}

.google-map * {
	border-style: none;
}

.swiper-wrapper {
	box-sizing: border-box;
}

ul,
ol {
	margin-bottom: 1.5rem;
	padding-left: 1rem;
}

ol {
	padding-left: 1.75rem;
}

@media screen and (max-width: 768px) {
	h1,
	h2,
	h3,
	h4,
	h5 {
		margin-bottom: 1rem;
	}
}

.skip-link {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background-color: #eee;
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
	overflow: clip;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

.lenis.lenis-autoToggle {
	transition-property: overflow;
	transition-duration: 1ms;
	transition-behavior: allow-discrete;
}

.pswp__bg {
	background-color: #f5f3eb !important;
}

.pswp__img {
	background-color: #f5f3eb !important;
}

@media screen and (max-width: 480px) {
	.apartment-features .wp-block-group {
		flex-basis: 150px !important;
	}
}

.gsap-masked-lines .line {
	overflow: visible !important;
	line-height: inherit !important;
}

.gsap-masked-lines .line > * {
	overflow: visible !important;
	line-height: inherit !important;
}

h2.gsap-masked-lines {
	line-height: 1 !important;
}

.line {
	overflow: hidden;
	padding-bottom: 0.25em;
	margin-bottom: -0.25em;
}

/* Alternative: if your lines use a different class name */
.split-line,
.mask-line,
.line-mask {
	overflow: hidden;
	padding-bottom: 0.25em;
	margin-bottom: -0.25em;
}

/* For the actual text container */
.line > * {
	display: inline-block;
}

/* Increase line-height if still having issues */
.gsap-text,
.split-text,
.animated-text {
	line-height: 1.5;
}

/* If using SplitText plugin specifically */
.split-parent {
	overflow: hidden;
	padding-bottom: 0.25em;
	margin-bottom: -0.25em;
}

.split-child {
	display: inline-block;
}

/* Adjust padding values for larger text */
h1 .line,
h2 .line {
	padding-bottom: 0.3em;
	margin-bottom: -0.3em;
}

/* Adjust for smaller text */
p .line,
span .line {
	padding-bottom: 0.2em;
	margin-bottom: -0.2em;
}

button {
	font-family: inherit !important;
}

.wp-block-button > .wp-block-button__link {
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(3px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: -5px -5px 20px 0px rgb(255 255 255 / 15%) inset;
	min-width: 175px;
	justify-content: center;
	text-align: center;
}

.wp-block-button > .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.075);
}