@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Karla:wght@400;500;700&display=swap');

/* The only body-level rules are gated to the DreamEscapes page template. */
body.de-dream-page {
	margin: 0;
	padding: 0;
	background: oklch(97.5% 0.012 80);
}

body.de-dream-page.de-menu-open {
	overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
	html:has(body.de-dream-page) {
		scroll-behavior: smooth;
	}
}

.de-site {
	--de-background: oklch(97.5% 0.012 80);
	--de-foreground: oklch(20% 0.03 220);
	--de-card: oklch(99% 0.008 80);
	--de-primary: oklch(30% 0.06 215);
	--de-primary-foreground: oklch(97.5% 0.012 80);
	--de-muted-foreground: oklch(48% 0.03 220);
	--de-accent: oklch(72% 0.14 60);
	--de-accent-foreground: oklch(18% 0.03 220);
	--de-border: oklch(88% 0.02 80);
	--de-overlay: linear-gradient(180deg, oklch(15% 0.03 220 / 0.35), oklch(15% 0.03 220 / 0.75));
	--de-admin-bar-offset: 0px;
	--de-anchor-offset: calc(5.5rem + var(--de-admin-bar-offset));
	background: var(--de-background);
	color: var(--de-foreground);
	font-family: "Karla", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	overflow: clip;
}

body.admin-bar .de-site {
	--de-admin-bar-offset: 32px;
}

.de-site,
.de-site *,
.de-site *::before,
.de-site *::after {
	box-sizing: border-box;
}

.de-site h1,
.de-site h2,
.de-site h3,
.de-site p,
.de-site ul {
	margin: 0;
}

.de-site h1,
.de-site h2,
.de-site h3 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 400;
}

.de-site a {
	color: inherit;
	text-decoration: none;
}

.de-site img {
	display: block;
	max-width: 100%;
	height: auto;
}

.de-site button,
.de-site input,
.de-site textarea {
	font: inherit;
}

.de-site button {
	cursor: pointer;
}

.de-site [id] {
	scroll-margin-top: var(--de-anchor-offset);
}

.de-site__visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.de-site__hero {
	position: relative;
	display: flex;
	min-height: 640px;
	height: 100vh;
	height: 100svh;
	flex-direction: column;
	isolation: isolate;
	overflow: hidden;
	color: var(--de-primary-foreground);
}

.de-site__hero-image,
.de-site__hero-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.de-site__hero-image {
	z-index: -2;
	object-fit: cover;
}

.de-site__hero-overlay {
	z-index: -1;
	background: var(--de-overlay);
}

.de-site__header {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	padding: 24px;
}

.de-site__brand {
	display: inline-flex;
	align-items: center;
	border-radius: 50%;
}

.de-site__brand img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
}

.de-site__desktop-navigation ul,
.de-site__mobile-navigation ul {
	display: flex;
	padding: 0;
	list-style: none;
}

.de-site__desktop-navigation ul {
	align-items: center;
	gap: 32px;
}

.de-site__desktop-navigation a {
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transition: color 150ms ease-in-out;
}

.de-site__desktop-navigation a:hover,
.de-site__desktop-navigation a:focus-visible {
	color: var(--de-accent);
}

.de-site__menu-toggle,
.de-site__mobile-navigation {
	display: none;
}

.de-site__hero-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px 24px 80px;
}

.de-site__eyebrow {
	font-family: "Karla", Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.3em;
	line-height: 1.45;
	text-transform: uppercase;
	color: var(--de-accent);
}

.de-site__eyebrow--hero {
	margin-bottom: 16px;
	font-size: 0.875rem;
	animation: de-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.de-site__hero h1 {
	max-width: 56rem;
	font-size: clamp(3.75rem, 11vw, 6rem);
	line-height: 0.95;
	letter-spacing: -0.025em;
	animation: de-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.de-site__hero h1 em {
	font-style: italic;
}

.de-site__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 52px;
	padding: 16px 32px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-family: "Karla", Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	transition: background-color 150ms ease-in-out, color 150ms ease-in-out, border-color 150ms ease-in-out;
}

.de-site__hero-content .de-site__button {
	margin-top: 40px;
	animation: de-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.de-site__button--gold {
	background: var(--de-accent);
	color: var(--de-accent-foreground);
}

.de-site__button--gold:hover,
.de-site__button--gold:focus-visible {
	background: var(--de-primary-foreground);
	color: var(--de-primary);
}

.de-site__button--primary {
	background: var(--de-primary);
	color: var(--de-primary-foreground);
}

.de-site__button--primary:hover,
.de-site__button--primary:focus-visible {
	background: var(--de-accent);
	color: var(--de-accent-foreground);
}

.de-site__intro,
.de-site__container {
	max-width: 72rem;
	margin-right: auto;
	margin-left: auto;
}

.de-site__intro {
	display: grid;
	gap: 48px;
	padding: 112px 24px;
}

.de-site__intro h2 {
	font-size: 2.25rem;
	font-style: italic;
	line-height: 1.25;
}

.de-site__intro h2 + p {
	max-width: 56rem;
	margin-top: 32px;
	font-size: 1.125rem;
	line-height: 1.625;
	color: var(--de-muted-foreground);
}

.de-site__collection {
	padding: 0 24px 112px;
}

.de-site__container--wide {
	max-width: 80rem;
}

.de-site__collection h2,
.de-site__approach h2 {
	margin-bottom: 48px;
	font-size: 3rem;
	line-height: 1;
}

.de-site__card-grid,
.de-site__steps,
.de-site__contact-grid {
	display: grid;
	gap: 32px;
}

.de-site__card-image-wrap {
	overflow: hidden;
	border-radius: 2px;
	background: var(--de-card);
}

.de-site__card-image-wrap img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 700ms ease-in-out;
}

.de-site__card .de-site__eyebrow {
	margin-top: 20px;
}

.de-site__card h3 {
	margin-top: 8px;
	font-size: 1.875rem;
	line-height: 1.2;
}

.de-site__card h3 + p {
	margin-top: 8px;
	color: var(--de-muted-foreground);
}

.de-site__approach {
	padding: 112px 24px;
	background: var(--de-primary);
	color: var(--de-primary-foreground);
}

.de-site__approach h2 {
	margin-bottom: 64px;
}

.de-site__steps {
	gap: 48px;
}

.de-site__step {
	padding-top: 24px;
	border-top: 1px solid oklch(97.5% 0.012 80 / 0.2);
}

.de-site__step > span {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 3rem;
	line-height: 1;
	color: var(--de-accent);
}

.de-site__step h3 {
	margin-top: 16px;
	font-size: 1.875rem;
	line-height: 1.2;
}

.de-site__step p {
	margin-top: 12px;
	color: oklch(97.5% 0.012 80 / 0.7);
}

.de-site__contact {
	padding: 112px 24px;
}

.de-site__contact-grid {
	gap: 64px;
}

.de-site__contact h2 {
	max-width: 28rem;
	font-size: 3rem;
	line-height: 1.25;
}

.de-site__contact h2 + p {
	max-width: 28rem;
	margin-top: 24px;
	color: var(--de-muted-foreground);
}

.de-site__form {
	display: grid;
	gap: 32px;
}

.de-site__form-field {
	margin: 0;
}

.de-site__form-field label {
	display: block;
	margin-bottom: 4px;
	font-family: "Karla", Arial, sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	line-height: 1.45;
	text-transform: uppercase;
	color: var(--de-accent);
}

.de-site__form-field input,
.de-site__form-field textarea {
	display: block;
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--de-border);
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: var(--de-foreground);
	line-height: 1.5;
	transition: border-color 150ms ease-in-out;
}

.de-site__form-field textarea {
	resize: none;
}

.de-site__form-field input::placeholder,
.de-site__form-field textarea::placeholder {
	color: oklch(48% 0.03 220 / 0.6);
	opacity: 1;
}

.de-site__form-field input:focus,
.de-site__form-field textarea:focus {
	border-color: var(--de-accent);
}

.de-site__form .de-site__button {
	margin-top: 0;
}

.de-site .de-form-notice,
.de-site .de-form-status {
	padding: 12px 16px;
	border: 1px solid var(--de-border);
	border-radius: 2px;
	color: var(--de-foreground);
}

.de-site__footer {
	padding: 40px 24px;
	border-top: 1px solid var(--de-border);
	color: var(--de-muted-foreground);
	font-size: 0.875rem;
}

.de-site__footer-inner,
.de-site__footer-brand,
.de-site__footer-meta {
	display: flex;
	align-items: center;
}

.de-site__footer-inner {
	max-width: 80rem;
	margin: 0 auto;
	justify-content: space-between;
	gap: 24px;
}

.de-site__footer-brand {
	gap: 12px;
	color: var(--de-foreground);
}

.de-site__footer-brand img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.de-site__footer-brand span {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.125rem;
}

.de-site__footer-meta {
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 16px;
}

.de-site__footer-meta a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.de-site :focus-visible {
	outline: 2px solid var(--de-accent);
	outline-offset: 4px;
}

@keyframes de-rise {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 768px) {
	.de-site__header,
	.de-site__hero-content {
		padding-right: 48px;
		padding-left: 48px;
	}

	.de-site__intro {
		grid-template-columns: 1fr 1.4fr;
		padding-right: 48px;
		padding-left: 48px;
	}

	.de-site__intro h2 {
		font-size: 3.75rem;
	}

	.de-site__collection,
	.de-site__approach,
	.de-site__contact,
	.de-site__footer {
		padding-right: 48px;
		padding-left: 48px;
	}

	.de-site__card-grid,
	.de-site__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.de-site__contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.de-site__contact h2 {
		font-size: 3.75rem;
	}

	@media (hover: hover) {
		.de-site__card:hover .de-site__card-image-wrap img {
			transform: scale(1.05);
		}
	}
}

@media (max-width: 980px) {
	.de-site__desktop-navigation {
		display: none;
	}

	.de-site__menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 1px solid oklch(97.5% 0.012 80 / 0.42);
		border-radius: 2px;
		background: oklch(15% 0.03 220 / 0.2);
		color: var(--de-primary-foreground);
	}

	.de-site__menu-icon,
	.de-site__menu-icon span {
		display: block;
	}

	.de-site__menu-icon {
		width: 22px;
	}

	.de-site__menu-icon span {
		height: 1px;
		margin: 5px 0;
		background: currentColor;
		transition: transform 150ms ease-in-out, opacity 150ms ease-in-out;
	}

	.de-site__menu-toggle[aria-expanded="true"] .de-site__menu-icon span:first-child {
		transform: translateY(6px) rotate(45deg);
	}

	.de-site__menu-toggle[aria-expanded="true"] .de-site__menu-icon span:nth-child(2) {
		opacity: 0;
	}

	.de-site__menu-toggle[aria-expanded="true"] .de-site__menu-icon span:last-child {
		transform: translateY(-6px) rotate(-45deg);
	}

	.de-site__mobile-navigation {
		position: absolute;
		top: 100%;
		right: 24px;
		left: 24px;
		display: block;
		padding: 20px 24px;
		border: 1px solid oklch(97.5% 0.012 80 / 0.28);
		border-radius: 2px;
		background: oklch(20% 0.03 220 / 0.96);
		box-shadow: 0 12px 32px oklch(15% 0.03 220 / 0.3);
	}

	.de-site__mobile-navigation[hidden] {
		display: none;
	}

	.de-site__mobile-navigation ul {
		flex-direction: column;
		padding: 0;
		list-style: none;
	}

	.de-site__mobile-navigation li + li {
		border-top: 1px solid oklch(97.5% 0.012 80 / 0.2);
	}

	.de-site__mobile-navigation a {
		display: block;
		padding: 14px 0;
		font-size: 0.875rem;
		letter-spacing: 0.2em;
		text-transform: uppercase;
	}
}

@media (max-width: 767px) {
	.de-site__hero h1 {
		font-size: clamp(3.15rem, 15vw, 3.75rem);
	}

	.de-site__footer-inner,
	.de-site__footer-meta {
		align-items: flex-start;
	}

	.de-site__footer-inner {
		flex-direction: column;
	}

	.de-site__footer-meta {
		justify-content: flex-start;
	}
}

@media (max-width: 782px) {
	body.admin-bar .de-site {
		--de-admin-bar-offset: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.de-site *,
	.de-site *::before,
	.de-site *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Keep Avada global heading/image/form rules from overriding this page. */
.de-site h1, .de-site h2, .de-site h3 { color: inherit; }
.de-site .de-site__hero-image { height: 100%; max-width: none; }
.de-site .de-site__button { font-family: "Karla", Arial, sans-serif; font-size: 0.875rem; font-weight: 700; line-height: 1.25; }
.de-site a.de-site__button--gold { color: var(--de-accent-foreground); }
.de-site a.de-site__button--gold:hover { color: var(--de-primary); }
.de-site .de-site__form-field input { height: auto; }
.de-skip-link { position: fixed; left: 16px; top: -80px; z-index: 100000; padding: 12px 18px; background: #fff; color: #16343a; }
.de-skip-link:focus { top: 48px; }
