/* ==========================================================================
   Waitlist page (/waitlist/) — hero, pre-booking card and [ara_waitlist].
   Built by inc/build-waitlist.php; form markup in inc/waitlist.php.
   ========================================================================== */

/* ---------- Hero ---------- */
.e-con.ara-hero.ara-wl-hero {
	min-height: 0;
	--min-height: 0;
	--justify-content: flex-start;
	--padding-bottom: 32px;
}
/* The photo fills the first screen only, so the people in it sit above the
   card instead of behind it, and fades into green below. ara.js moves the
   image into .ara-bg; the !important rules are the no-motion fallback, which
   has to beat Elementor's own background settings. */
.e-con.ara-hero.ara-wl-hero {
	background-color: var(--ara-green) !important;
	background-size: 100% auto !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
}
.e-con.ara-wl-hero > .ara-bg,
.e-con.ara-hero.ara-wl-hero::after {
	bottom: auto;
	height: min(100%, max(620px, 92vh));
	background-position: center 30%;
	-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
	mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.e-con.ara-hero.ara-wl-hero::after {
	background:
		linear-gradient(180deg, rgba(16, 20, 6, .55) 0%, rgba(16, 20, 6, .25) 30%, rgba(16, 20, 6, .2) 100%),
		rgba(28, 35, 10, .3);
}
.e-con.ara-wl-hero .ara-header .ara-btn-ghost { display: block; }

.e-con.ara-wl-intro,
.e-con.ara-wl-card {
	width: 100%;
	max-width: 1074px;
	margin-left: auto;
	margin-right: auto;
}
.e-con.ara-wl-intro { --padding-top: 150px; position: relative; z-index: 2; }
.e-con.ara-wl-hero .ara-wl-intro .ara-eyebrow { --ara-mb: 10px; }
.e-con.ara-wl-hero .ara-wl-intro .ara-eyebrow .elementor-heading-title { color: var(--ara-gold); letter-spacing: .36em; }

.ara-wl-title .elementor-heading-title {
	font-size: clamp(56px, 8.4vw, 122px);
	line-height: .98;
	letter-spacing: -0.015em;
}
.ara-wl-title.ara-hero-title { --ara-mb: 34px; }

.e-con.ara-wl-hero .ara-hero-sub,
.e-con.ara-wl-hero .ara-hero-sub p { max-width: 610px; font-size: 16.5px; line-height: 1.62; color: rgba(252, 248, 238, .92); }
.e-con.ara-wl-hero .ara-hero-sub { --ara-mb: 30px; }

.ara-wl-perks ul { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.ara-wl-perks li {
	font-family: var(--ara-sans);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(252, 248, 238, .9);
}
.ara-wl-perks li:not(:last-child)::after { content: "|"; margin: 0 10px; opacity: .8; }

/* ---------- Card ---------- */
.e-con.ara-wl-card {
	margin-top: 44px;
	--padding-top: 42px;
	--padding-right: 38px;
	--padding-bottom: 64px;
	--padding-left: 38px;
	background: #fffbf0;
	position: relative;
	z-index: 2;
	scroll-margin-top: 24px;
}
.e-con.ara-wl-card .ara-eyebrow { --ara-mb: 10px; }
.e-con.ara-wl-hero .ara-wl-card .ara-eyebrow .elementor-heading-title { color: var(--ara-olive); font-size: 10px; letter-spacing: .34em; }
.ara-wl-card-title { --ara-mb: 22px; }
.ara-wl-card-title .elementor-heading-title {
	font-family: var(--ara-display);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.005em;
	color: var(--ara-brown);
}
/* .ara-maroon / .ara-footer--brown: older class names still in pages saved before the green palette. */
.ara-olive,
.ara-maroon { color: var(--ara-olive); }

/* ---------- Layout: calendar | form ---------- */
.ara-wl {
	display: grid;
	grid-template-columns: minmax(0, 464px) minmax(0, 444px);
	gap: 34px;
	align-items: start;
	font-family: var(--ara-sans);
	color: var(--ara-brown);
}

/* ---------- Calendar ---------- */
.ara-wl-cal { background: #fff; border: 1px solid #e6ded0; }
.ara-wl-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #ece5d8;
}
.ara-wl-cal__month {
	margin: 0;
	font-family: var(--ara-display);
	font-size: 17px;
	font-weight: 400;
	color: var(--ara-brown);
}
.ara-wl-cal__nav { display: flex; gap: 6px; }
.ara-wl-cal__nav button {
	width: 30px;
	height: 30px;
	padding: 0;
	display: grid;
	place-items: center;
	border: 1px solid var(--ara-brown);
	border-radius: 50%;
	background: none;
	color: var(--ara-brown);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
/* Hello Elementor paints hovered/focused buttons pink (#c36). */
.ara-wl-cal__nav button:hover,
.ara-wl-cal__nav button:focus { background: var(--ara-olive); color: #fff; border-color: var(--ara-olive); }
.ara-wl-cal__nav button:disabled { border-color: #e6ded0; color: #cfc6b8; background: none; cursor: default; }

.ara-wl-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	padding: 10px 16px 4px;
}
.ara-wl-cal__dow {
	padding: 6px 0 14px;
	text-align: center;
	font-size: 8.5px;
	font-weight: 400;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #9a8d86;
}
.ara-wl-day {
	position: relative;
	height: 60px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--ara-brown);
	font-family: var(--ara-sans);
	font-size: 12px;
	font-weight: 400;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding-top: 6px;
}
.ara-wl-day span {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	transition: background-color .2s, color .2s;
}
.ara-wl-day.is-busy::after {
	content: "";
	position: absolute;
	top: 42px;
	left: 50%;
	width: 3px;
	height: 3px;
	margin-left: -1.5px;
	border-radius: 50%;
	background: var(--ara-gold);
}
.ara-wl-day:hover,
.ara-wl-day:focus { background: none; color: var(--ara-brown); }
.ara-wl-day:hover span { background: var(--ara-sage); }
.ara-wl-day:focus-visible { outline: none; }
.ara-wl-day:focus-visible span { outline: 1px solid var(--ara-olive); outline-offset: 2px; }
.ara-wl-day:disabled { color: #c9bfb3; cursor: default; }
.ara-wl-day:disabled span { background: none; }
.ara-wl-day.is-range span { background: var(--ara-sage); border-radius: 0; width: 100%; }
.ara-wl-day.is-in span,
.ara-wl-day.is-out span { background: var(--ara-olive); color: #fff; }
.ara-wl-day.is-in::after,
.ara-wl-day.is-out::after { background: var(--ara-olive); }

.ara-wl-cal__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-top: 1px solid #ece5d8;
}
.ara-wl-cal__foot p { margin: 0; font-size: 11.5px; line-height: 1.4; }
.ara-wl-cal__status { color: var(--ara-brown); font-weight: 400; }
.ara-wl-cal__key { color: #a58a6b; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.ara-wl-cal__key i { width: 5px; height: 5px; border-radius: 50%; background: var(--ara-gold); }

/* ---------- Form ---------- */
.ara-wl-form { padding-top: 22px; }
.ara-wl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
.ara-wl-field { display: flex; flex-direction: column; margin: 0; }
.ara-wl-field > span:first-child {
	margin-bottom: 8px;
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--ara-brown);
}
.ara-wl input[type="text"],
.ara-wl input[type="email"],
.ara-wl select {
	width: 100%;
	height: 42px;
	padding: 0 14px;
	border: 1px solid #d9d1c4;
	border-radius: 0;
	background: #fff;
	color: var(--ara-brown);
	font-family: var(--ara-sans);
	font-size: 14px;
	font-weight: 300;
	box-shadow: none;
	transition: border-color .2s;
}
.ara-wl input::placeholder { color: #8f837c; opacity: 1; }
.ara-wl input:focus,
.ara-wl select:focus { outline: none; border-color: var(--ara-olive); }
.ara-wl [aria-invalid="true"] { border-color: var(--ara-maroon); }

.ara-wl-select { position: relative; display: block; }
.ara-wl-select::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -6px;
	border-right: 1px solid var(--ara-brown);
	border-bottom: 1px solid var(--ara-brown);
	transform: rotate(45deg);
	pointer-events: none;
}
.ara-wl select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.ara-wl select:invalid { color: #8f837c; }
.ara-wl select option { color: var(--ara-brown); }

.ara-wl-error { display: block; font-style: normal; font-size: 11.5px; line-height: 1.4; color: var(--ara-maroon); }
.ara-wl-error:not(:empty) { margin-top: 6px; }

.ara-wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ara-wl-picked { min-height: 55px; margin: 0; padding: 18px 0 0; font-family: var(--ara-display); font-size: 17px; color: var(--ara-brown); }
.ara-wl-picked span {
	display: block;
	margin-bottom: 4px;
	font-family: var(--ara-sans);
	font-size: 10px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: #9a8d86;
}

.ara-wl-submit,
.ara-wl-submit:focus {
	width: 100%;
	height: 45px;
	margin-top: 0;
	border: 0;
	border-radius: 999px;
	background: var(--ara-olive);
	color: var(--ara-cream);
	font-family: var(--ara-sans);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .3em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .25s;
}
.ara-wl-submit:hover { background: #3b4718; color: #fff; }
.ara-wl-submit:disabled { opacity: .7; cursor: progress; }
.ara-wl-picked + .ara-wl-error:not(:empty) { margin: 0 0 12px; }

.ara-wl-note {
	margin: 12px 0 0;
	text-align: center;
	font-size: 11px;
	line-height: 1.5;
	font-weight: 300;
	color: #8a7e77;
}

/* ---------- Done ---------- */
.ara-wl-done { display: none; padding-top: 22px; outline: none; }
.ara-wl[data-state="done"] .ara-wl-form { display: none; }
.ara-wl[data-state="done"] .ara-wl-done { display: block; animation: ara-wl-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.ara-wl[data-state="done"] .ara-wl-cal { pointer-events: none; opacity: .75; }
.ara-wl-done__eyebrow { margin: 0 0 12px; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--ara-olive); }
.ara-wl-done__title { margin: 0 0 14px; font-family: var(--ara-display); font-size: 34px; font-weight: 400; line-height: 1.1; color: var(--ara-brown); }
.ara-wl-done__text { margin: 0; font-size: 15px; line-height: 1.65; font-weight: 300; color: var(--ara-body); }

@keyframes ara-wl-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ara-motion .ara-wl-card { animation: ara-wl-in 1.2s .9s cubic-bezier(.2, .7, .2, 1) both; }
.ara-motion .ara-wl-perks { animation: ara-wl-in 1.1s .8s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- Footer (compact, main-site green) ---------- */
.e-con.ara-footer--compact .elementor-social-icon,
.e-con.ara-footer--brown .elementor-social-icon { width: 24px; height: 24px; padding: 0; display: inline-grid; place-items: center; border: 1px solid rgba(252, 248, 238, .45); border-radius: 50%; font-size: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.e-con.ara-wl-hero .ara-header .ara-burger { display: none; }
	.ara-wl { grid-template-columns: 1fr; gap: 12px; }
	.ara-wl-cal { max-width: 520px; }
	.ara-wl-form { max-width: 520px; }
}
@media (max-width: 767px) {
	.e-con.ara-wl-intro { --padding-top: 90px; }
	.e-con.ara-wl-hero .ara-hero-sub,
	.e-con.ara-wl-hero .ara-hero-sub p { font-size: 15.5px; }
	.ara-wl-perks ul { flex-direction: column; }
	.ara-wl-perks li:not(:last-child)::after { content: none; }
	.ara-wl-perks li::before { content: "— "; opacity: .7; }
	.e-con.ara-wl-card { margin-top: 36px; --padding-top: 30px; --padding-right: 18px; --padding-bottom: 36px; --padding-left: 18px; }
	.ara-wl-card-title .elementor-heading-title { font-size: 22px; }
	.ara-wl-cal__grid { padding: 8px 8px 2px; }
	.ara-wl-day { height: 52px; }
	.ara-wl-day.is-busy::after { top: 39px; }
	.ara-wl-cal__foot { padding: 12px; }
}
@media (max-width: 420px) {
	.ara-wl-fields { grid-template-columns: 1fr; }
}
