.display-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
}

.display-title > span {
	display: block;
}

.display-title--md {
	font-size: min(2rem, 8.2vw);
	font-weight: 400;
	line-height: 0.82;
}

.display-title--lg {
	font-size: clamp(1.5rem, 9.5vw, 3.125rem);
	line-height: 0.8;
}

.promo-banner {
	display: block;
	transition: transform 0.6s var(--ease-out);
}

.promo-banner:hover {
	transform: translateY(-10px);
}

.promo-banner img {
	width: 100%;
}

/* Hero */
.hero {
	position: relative;
	height: clamp(34rem, 25rem + 16.7vw, 43.75rem);
	overflow: hidden;
	background: var(--color-ink);
}

.hero__slide {
	position: absolute;
	inset: 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.8s ease, visibility 0.8s;
}

.hero__slide.is-active {
	visibility: visible;
	opacity: 1;
}

.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Slow zoom-out on the active slide. It settles at scale 1 before the next fade. */
.hero__slide.is-active img {
	animation: hero-ken-burns 7s var(--ease-out) both;
}

@keyframes hero-ken-burns {
	from {
		transform: scale(1.08);
	}

	to {
		transform: scale(1);
	}
}

.hero.is-animated .hero__slide.is-active :is(.hero__lead, .hero__title, .hero__cta) {
	animation: hero-text-in 0.9s var(--ease-out) both;
}

.hero.is-animated .hero__slide.is-active .hero__lead {
	animation-delay: 0.15s;
}

.hero.is-animated .hero__slide.is-active .hero__title {
	animation-delay: 0.3s;
}

.hero.is-animated .hero__slide.is-active .hero__cta {
	animation-delay: 0.45s;
}

@keyframes hero-text-in {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
}

.hero__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: min(87.5rem, 100% - 2rem);
	margin-inline: auto;
	color: var(--color-white);
}

.hero__lead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 0.18em;
	margin: 0;
	font-family: var(--font-heading);
	font-size: min(3.65vw, 4.375rem);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

.hero__title {
	margin: -0.06em 0 -0.09em;
	font-family: var(--font-display);
	font-size: min(6.51vw, 7.8125rem);
	font-weight: 800;
	line-height: 0.72;
	text-transform: uppercase;
}

.hero__title span {
	display: block;
}

.hero__scroll {
	position: relative;
	display: inline-block;
	width: 0.42em;
	height: 0.66em;
	margin-left: 0.15em;
	border: 2px solid var(--color-white);
	border-radius: 0.3em;
}

.hero__scroll::after {
	position: absolute;
	top: 18%;
	left: 50%;
	width: 3px;
	height: 22%;
	border-radius: 2px;
	background: var(--color-white);
	content: "";
	transform: translateX(-50%);
	animation: hero-scroll 1.6s ease-in-out infinite;
}

@keyframes hero-scroll {
	50% {
		transform: translate(-50%, 90%);
	}
}

/* The CTA sits right after the lead line, so it stays next to the text on every slide. */
.hero__lead-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem clamp(1.25rem, 0.5rem + 2vw, 2.5rem);
	margin-bottom: 0.5rem;
}

.hero__cta {
	flex: none;
	padding: 0.5em 1.25em;
	border-radius: 1.25rem 0 1.25rem 0;
	background: var(--color-white);
	color: var(--color-accent-soft);
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 1rem + 0.6vw, 1.75rem);
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color var(--duration-fast), color var(--duration-fast);
}

.hero__cta:hover {
	background: var(--color-accent);
	color: var(--color-white);
}

.hero__dots {
	position: absolute;
	right: 1.25rem;
	bottom: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hero__dot {
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 2px solid var(--color-accent);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background-color var(--duration-fast);
}

.hero__dot.is-active,
.hero__dot:hover {
	background: var(--color-accent);
}

.hero__pause {
	position: relative;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.hero__pause::before {
	position: absolute;
	top: 0.3rem;
	left: 0.4rem;
	width: 0.7rem;
	height: 0.9rem;
	border-inline: 0.2rem solid var(--color-white);
	content: "";
}

.hero__pause.is-paused::before {
	left: 0.5rem;
	width: 0;
	height: 0;
	border-block: 0.45rem solid transparent;
	border-inline: 0.7rem solid transparent;
	border-left-color: var(--color-white);
	border-right-width: 0;
}

/* Forecast, banners and weather */
.home-intro {
	padding-block: 5rem 0;
}

.home-intro__grid,
.home-banners,
.tour-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.875rem;
}

.home-intro__forecast {
	align-self: end;
}

.home-intro__text {
	margin: 1.75rem 0 0;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	line-height: 1.17;
	text-transform: uppercase;
}

.home-weather {
	display: flex;
	min-height: 5.3125rem;
	align-items: center;
	justify-content: center;
	margin-top: 3.75rem;
	border-radius: var(--radius-signature);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: 1.25rem;
}

/* Tours */
.home-explore {
	padding-block: 4rem 8rem;
}

.home-explore__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 3.4375rem;
}

.home-explore__award {
	flex: 0 0 7.5rem;
}

.tour-grid {
	row-gap: 0.75rem;
}

/* About */
.home-about {
	padding-block: 3.75rem 14.375rem;
	background: var(--color-accent);
}

.home-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 620fr) minmax(0, 632fr);
	gap: 5rem;
	align-items: start;
	max-width: 85.125rem;
	margin-left: max(0px, calc((100% - 87.5rem) / 2));
}

.home-about__title {
	line-height: 1;
}

.home-about__text {
	margin-top: 1.25rem;
	color: var(--color-white);
	line-height: 1.43;
	text-align: justify;
}

.home-about__image img {
	width: 100%;
}

/* Reviews */
.home-reviews {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 870fr) minmax(0, 435fr);
	gap: 4rem;
	align-items: start;
	margin-top: -6.25rem;
	margin-bottom: 4.375rem;
}

.review-track {
	display: grid;
	grid-auto-columns: 100%;
	grid-auto-flow: column;
	gap: 1.875rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	scroll-padding-inline: 0;
	align-items: stretch;
}

.review-track::-webkit-scrollbar {
	display: none;
}

.review-dots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-top: 1.25rem;
	padding-left: 1.5rem;
}

.review-dots__dot {
	width: 0.875rem;
	height: 0.875rem;
	padding: 0;
	border: 2px solid var(--color-accent-soft);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background-color var(--duration-fast), transform var(--duration-fast);
}

.review-dots__dot:hover {
	transform: scale(1.2);
}

.review-dots__dot.is-active {
	background: var(--color-accent-soft);
}

/* Home review card: large quote mark, readable quote, author row pinned to the bottom. */
.review-card--home {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(2.25rem, 1.5rem + 2vw, 3.25rem) clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
	overflow: hidden;
	isolation: isolate;
}

.review-card--home::before {
	position: absolute;
	top: -0.18em;
	right: 0.12em;
	z-index: -1;
	color: rgb(240 79 36 / 0.14);
	font-family: var(--font-display);
	font-size: clamp(9rem, 6rem + 8vw, 14rem);
	line-height: 1;
	content: "\201D";
}

.review-card--home .review-card__heading {
	color: var(--color-accent-soft);
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 400;
	text-transform: uppercase;
}

.review-card--home blockquote {
	font-size: clamp(0.9375rem, 0.875rem + 0.3vw, 1.0625rem);
	line-height: 1.6;
}

.review-card__footer {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin-top: auto;
	padding-top: 1.25rem;
	border-top: 1px solid rgb(240 79 36 / 0.25);
}

.review-card__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 1rem 0.25rem;
	background: var(--color-accent-soft);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: 1.25rem;
}

.review-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.review-card--home .review-card__author {
	font-size: 1.125rem;
	line-height: 1.1;
}

.review-card--home .review-card__visited {
	margin: 0;
	color: #555;
	font-size: 0.8125rem;
	font-weight: 600;
}

/* The wrapper takes the widget's shape, so no square white corners show on the orange band. */
.home-reviews__widget {
	overflow: hidden;
	border-radius: var(--radius-signature);
	background: var(--color-white);
}

.home-reviews__widget #CDSWIDWRL {
	width: 100% !important;
	max-width: 100% !important;
	border-radius: var(--radius-signature) !important;
}

.home-reviews__widget #CDSWIDWRL .widWRLData.border {
	border-radius: var(--radius-signature) !important;
}

.home-reviews__widget #CDSWIDWRL .widWRLReview textarea {
	width: 99% !important;
	max-width: 99% !important;
}

.home-reviews__widget #CDSWIDWRL input[type="submit"],
.home-reviews__widget #CDSWIDWRL button {
	text-transform: uppercase;
}

.home-reviews__widget .TA_links {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Bottom banners and community */
.home-banners {
	padding-block: 0.9375rem 6.25rem;
}

.home-community {
	padding-bottom: 0;
}

.home-community .display-title {
	margin-bottom: 1.75rem;
	font-size: clamp(1.25rem, 7.4vw, 3.125rem);
}

.home-community .instagram-gallery__actions {
	margin: 0;
}

@media (max-width: 1024px) {
	.hero {
		height: min(150vw, 36.5625rem);
	}

	.hero__lead {
		font-size: clamp(1.25rem, 5.1vw, 2.5rem);
	}

	.hero__title {
		font-size: min(calc(90vw / (var(--title-chars) * 1.3)), 16vw);
	}

	.home-intro {
		padding-top: 3.75rem;
	}

	.home-about__grid {
		margin-left: 0;
	}

	.home-reviews {
		grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
		gap: 1.875rem;
		min-height: 0;
		margin-bottom: 3.75rem;
	}
}

@media (max-width: 767px) {
	/* Keeps the CTA clear of the slide dots on the right edge. */
	.hero__lead-row {
		padding-right: 2.75rem;
	}

	.hero__cta {
		font-size: 0.9375rem;
	}

	.home-intro {
		padding-top: 1.875rem;
	}

	.home-intro__grid,
	.home-banners,
	.tour-grid,
	.home-about__grid,
	.home-reviews {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-intro__book {
		order: 1;
	}

	.home-intro__meeting {
		order: 2;
	}

	.home-intro__forecast {
		order: 3;
	}

	.home-intro__grid {
		gap: 1.25rem;
	}

	.home-explore__head {
		flex-direction: column-reverse;
		align-items: flex-start;
	}

	.tour-card__media {
		max-width: 22.8125rem;
	}

	.home-about {
		padding-bottom: 9rem;
	}

	.home-about__title {
		font-size: min(1.5rem, 6.1vw);
	}

	.home-reviews__widget {
		max-width: 100%;
	}

	.home-about__grid {
		gap: 2rem;
	}
}
