/**
 * IceTransfer Tours.
 *
 * Built on the Sections design tokens with fallbacks, so a tour page matches
 * the rest of the site and still stands up if Sections is switched off.
 *
 * On specificity: the theme's Elementor kit styles bare headings, links and
 * buttons at (0,1,1), which beats a single class. Rules here that set colour,
 * line-height or margin on those elements are two classes deep and marked
 * important on purpose — see the block at the end.
 */

.itt {
	--itt-navy-900: var(--itx-navy-900, #070d18);
	--itt-navy-800: var(--itx-navy-800, #0b1524);
	--itt-navy-700: var(--itx-navy-700, #111e33);
	--itt-navy-600: var(--itx-navy-600, #1b2a41);
	--itt-gold: var(--itx-gold, #e9c384);
	--itt-gold-bright: var(--itx-gold-bright, #f2d3a0);
	--itt-gold-deep: var(--itx-gold-deep, #c9a063);
	--itt-ink: var(--itx-ink, #16202e);
	--itt-ink-soft: var(--itx-ink-soft, #4a5768);
	--itt-muted: var(--itx-muted, #7b8798);
	--itt-hairline: var(--itx-hairline, rgba(22, 32, 46, 0.12));

	font-family: var(--itx-font, "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	background: #fff;
	color: var(--itt-ink);
}

.itt-shell {
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}

/* ================================================================== hero */

.itt-hero {
	position: relative;
	background:
		radial-gradient(120% 90% at 78% 14%, rgba(233, 195, 132, 0.10), transparent 62%),
		linear-gradient(165deg, var(--itt-navy-700), var(--itt-navy-900));
	color: #fff;
	overflow: hidden;
	/* The site header sits over the hero, so the first line has to clear it. */
	padding: clamp(96px, 9vw, 132px) clamp(18px, 3.4vw, 46px) 0;
}

.itt-hero__head {
	max-width: 1320px;
	margin-inline: auto;
}

.itt-hero__eyebrow {
	font-size: 0.74rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.itt-hero__line {
	max-width: 46ch;
}

.itt-hero__stage {
	display: grid;
	grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr);
	gap: clamp(16px, 2.4vw, 38px);
	align-items: stretch;
	max-width: 1320px;
	margin: clamp(10px, 1.8vw, 22px) auto 0;
}

/* ------------------------------------------------------------------ map */

.itt-map {
	position: relative;
	min-width: 0;
}

.itt-map__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.itt-map__terrain path {
	fill: none;
	stroke: rgba(233, 195, 132, 0.085);
	stroke-width: 1.4;
}

.itt-map__road {
	fill: none;
	stroke: rgba(255, 255, 255, 0.17);
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.itt-map__done {
	fill: none;
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.itt-pin {
	cursor: pointer;
}

.itt-pin__halo {
	fill: rgba(233, 195, 132, 0.16);
	opacity: 0;
	transform-origin: center;
	transition: opacity 260ms ease;
}

.itt-pin__dot {
	fill: var(--itt-gold);
	stroke: rgba(7, 13, 24, 0.85);
	stroke-width: 2.5;
	transition: fill 260ms ease, stroke 260ms ease, r 260ms ease;
}

.itt-pin__label {
	fill: #fff;
	font-size: 19px;
	font-weight: 700;
	paint-order: stroke;
	stroke: rgba(7, 13, 24, 0.75);
	stroke-width: 4px;
	stroke-linejoin: round;
	pointer-events: none;
}

.itt-pin:hover .itt-pin__dot,
.itt-pin.is-next .itt-pin__dot {
	fill: var(--itt-gold-bright);
	stroke: #fff;
}

.itt-pin.is-here .itt-pin__dot {
	fill: var(--itt-gold-bright);
	stroke: #fff;
}

.itt-pin.is-here .itt-pin__halo,
.itt-pin:hover .itt-pin__halo {
	opacity: 1;
}

.itt-pin:focus-visible .itt-pin__halo {
	opacity: 1;
}

.itt-car__body {
	fill: #fff;
	stroke: var(--itt-navy-900);
	stroke-width: 2.5;
}

.itt-car__glass {
	fill: var(--itt-navy-700);
}

.itt-car__nose {
	fill: var(--itt-gold);
}

.itt-map__note {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
}

/* ---------------------------------------------------------------- panel */

.itt-panel {
	position: relative;
	min-height: clamp(280px, 30vw, 400px);
	min-width: 0;
}

.itt-panel__card {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(233, 195, 132, 0.22);
	border-radius: 4px;
	background: rgba(9, 18, 32, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 520ms ease, transform 520ms ease;
	transform: translateY(8px);
	overflow: hidden;
}

.itt-panel__card.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
}

[data-itt-list] {
	padding: clamp(20px, 2.4vw, 32px);
	display: flex;
	flex-direction: column;
	overflow: auto;
}

.itt-panel__title {
	font-size: clamp(1rem, 1.1vw + 0.7rem, 1.3rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.itt-plan {
	list-style: none;
	margin: 0 0 auto;
	padding: 0;
	display: grid;
	gap: 2px;
}

.itt-plan__btn {
	display: grid;
	grid-template-columns: 2.4em 1fr auto;
	align-items: baseline;
	gap: 10px;
	width: 100%;
	padding: 8px 10px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background 200ms ease;
}

.itt-plan__btn:hover,
.itt-plan__btn.is-here {
	background: rgba(233, 195, 132, 0.12);
}

.itt-plan__n {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
}

.itt-plan__name {
	font-size: clamp(1rem, 0.8vw + 0.8rem, 1.18rem);
}

.itt-plan__drive {
	font-size: 0.78rem;
	white-space: nowrap;
}

.itt-facts {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 22px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid rgba(233, 195, 132, 0.18);
}

.itt-facts li {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.itt-facts strong {
	font-size: 1.12rem;
}

.itt-facts span {
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* The photograph that replaces the list at each stop. */

.itt-shot__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
}

.itt-shot.is-on .itt-shot__img {
	animation: itt-kenburns 9s ease-out forwards;
}

@keyframes itt-kenburns {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}

.itt-shot__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 13, 24, 0.05) 30%, rgba(7, 13, 24, 0.82) 100%);
}

.itt-shot__body {
	position: absolute;
	inset: auto 0 0 0;
	padding: clamp(18px, 2.2vw, 30px);
}

.itt-shot__rating {
	display: flex;
	align-items: baseline;
	gap: 7px;
	font-size: 0.9rem;
	margin-top: 6px;
}

.itt-shot__rating span[aria-hidden] {
	color: var(--itt-gold);
}

.itt-shot__reviews {
	font-size: 0.78rem;
}

.itt-shot__credit {
	position: absolute;
	top: 10px;
	right: 12px;
	font-size: 0.64rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
	background: rgba(7, 13, 24, 0.45);
	padding: 3px 8px;
	border-radius: 3px;
}

/* ----------------------------------------------------------------- foot */

.itt-hero__foot {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	max-width: 1320px;
	margin: clamp(14px, 2vw, 26px) auto 0;
	padding: 16px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.itt-status {
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.itt-controls {
	display: flex;
	align-items: center;
	gap: 18px;
}

.itt-controls__btn {
	font: inherit;
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 15px;
	border-radius: 999px;
	cursor: pointer;
}

.itt-credit {
	font-size: 0.86rem;
}

.itt-bar {
	position: absolute;
	inset: auto 0 0 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.09);
	border-radius: 999px;
	overflow: hidden;
}

.itt-bar__fill {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--itt-gold-deep), var(--itt-gold-bright));
}

/* ============================================================= itinerary */

.itt-itin {
	padding-block: clamp(50px, 6vw, 92px);
	background: #fbfaf8;
}

.itt-itin__eyebrow {
	font-size: 0.74rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--itt-gold-deep);
}

.itt-steps {
	list-style: none;
	margin: clamp(26px, 3vw, 44px) 0 0;
	padding: 0;
}

.itt-step__drive {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 12px 22px;
	padding-left: 24px;
	position: relative;
	font-size: 0.86rem;
}

.itt-step__drive::before {
	content: "";
	position: absolute;
	left: 0;
	top: -18px;
	bottom: -18px;
	width: 2px;
	background: repeating-linear-gradient(to bottom, var(--itt-gold-deep) 0 5px, transparent 5px 11px);
	opacity: 0.55;
}

.itt-step__card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: clamp(14px, 2vw, 28px);
	align-items: start;
	padding: clamp(18px, 2.2vw, 28px);
	background: #fff;
	border: 1px solid var(--itt-hairline);
	border-radius: 16px;
}

.itt-step + .itt-step {
	margin-top: 14px;
}

.itt-step__n {
	font-size: 0.86rem;
	letter-spacing: 0.08em;
	padding-top: 4px;
}

.itt-step__cap {
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.itt-step__meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 12px 0 0;
	padding: 0;
	font-size: 0.86rem;
}

.itt-step__meta li {
	margin: 0;
}

.itt-step__media {
	display: block;
	width: clamp(120px, 15vw, 190px);
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
}

.itt-step__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ============================================================ body, book */

.itt-body {
	padding-block: clamp(44px, 5vw, 76px);
}

.itt-prose {
	max-width: 44rem;
}

.itt-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.itt-book {
	padding-block: clamp(44px, 5vw, 76px);
	background: #fbfaf8;
	border-top: 1px solid var(--itt-hairline);
}

.itt-cta {
	background: linear-gradient(160deg, var(--itt-navy-600), var(--itt-navy-900));
	color: #fff;
}

.itt-cta__inner {
	padding-block: clamp(34px, 4.4vw, 58px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.itt-btn {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 999px;
	background: var(--itt-gold);
	font-weight: 600;
	white-space: nowrap;
	transition: background 160ms ease;
}

.itt-btn:hover {
	background: var(--itt-gold-bright);
}


/* Bokun renders its calendar into an iframe that sizes itself; it needs a
   full-width block to land in, and its pop-up button sits in the banner. */
.itt-book__widget {
	width: 100%;
	min-height: 120px;
}

.itt-book__widget iframe,
.itt-cta__book iframe {
	max-width: 100%;
}

.itt-cta__book {
	display: flex;
	align-items: center;
}

.itt-cta__book .bokunButton {
	cursor: pointer;
}


/* Bokun ships its button with an inline <style> that paints it in the old
   brand red, keyed to the button's own id — so only `!important` can beat it.
   Only the button is ours to restyle; the calendar itself renders inside a
   cross-origin iframe and is Bokun's to theme. */
.itt-cta__book--themed button[id^="bokun_"],
.itt-book__widget--themed button[id^="bokun_"] {
	background: var(--itt-gold) !important;
	color: var(--itt-navy-900) !important;
	border-radius: 999px !important;
	padding: 13px 30px !important;
	font-family: inherit !important;
	font-weight: 600 !important;
	transition: background 160ms ease !important;
}

.itt-cta__book--themed button[id^="bokun_"]:hover,
.itt-book__widget--themed button[id^="bokun_"]:hover {
	background: var(--itt-gold-bright) !important;
}

.itt-cta__book--themed button[id^="bokun_"]:disabled {
	opacity: 0.55;
	cursor: default;
}

/* ============================================================ responsive */

@media (max-width: 980px) {
	.itt-hero__stage {
		grid-template-columns: 1fr;
	}

	.itt-panel {
		min-height: clamp(300px, 56vw, 380px);
	}

	.itt-step__card {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.itt-step__media {
		grid-column: 1 / -1;
		width: 100%;
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 620px) {
	.itt-pin__label {
		font-size: 24px;
	}

	.itt-hero__foot {
		justify-content: flex-start;
	}

	.itt-facts {
		gap: 8px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.itt-panel__card,
	.itt-pin__dot,
	.itt-pin__halo,
	.itt-btn {
		transition: none;
	}

	.itt-shot.is-on .itt-shot__img {
		animation: none;
	}
}

/* ------------------------------------------------------------------------
   Theme overrides.

   The Elementor kit sets colour, line-height and margins on bare elements at
   a specificity a single class cannot beat, so these are two classes deep and
   important only on the properties the kit touches.
   ---------------------------------------------------------------------- */

.itt .itt-hero__title {
	color: #fff !important;
	font-size: clamp(2.1rem, 5vw, 4rem);
	line-height: 1 !important;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 6px 0 8px !important;
	text-wrap: balance;
}

.itt .itt-hero__eyebrow,
.itt .itt-hero__line,
.itt .itt-map__note,
.itt .itt-status,
.itt .itt-credit {
	margin: 0 !important;
	line-height: 1.5 !important;
}

.itt .itt-hero__line {
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: clamp(0.95rem, 0.6vw + 0.8rem, 1.1rem);
}

.itt .itt-panel__title {
	color: var(--itt-gold) !important;
	line-height: 1.3 !important;
	margin: 0 0 16px !important;
}

.itt .itt-plan__n {
	color: var(--itt-gold-deep) !important;
}

.itt .itt-plan__name,
.itt .itt-facts strong {
	color: #fff !important;
	line-height: 1.35 !important;
}

.itt .itt-plan__drive,
.itt .itt-facts span {
	color: rgba(255, 255, 255, 0.55) !important;
	line-height: 1.4 !important;
}

.itt .itt-shot__name {
	color: #fff !important;
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	font-weight: 700;
	line-height: 1.1 !important;
	margin: 0 !important;
}

.itt .itt-shot__cap {
	color: rgba(255, 255, 255, 0.72) !important;
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4 !important;
	margin: 5px 0 0 !important;
}

.itt .itt-shot__rating,
.itt .itt-shot__reviews {
	color: rgba(255, 255, 255, 0.85) !important;
	line-height: 1.4 !important;
	margin-bottom: 0 !important;
}

.itt .itt-status {
	color: var(--itt-gold) !important;
}

.itt .itt-credit {
	color: rgba(255, 255, 255, 0.55) !important;
}

.itt .itt-controls__btn {
	color: rgba(255, 255, 255, 0.8) !important;
	background: transparent !important;
	background-image: none !important;
	border: 1px solid rgba(255, 255, 255, 0.24) !important;
	line-height: 1.4 !important;
}

.itt .itt-controls__btn:hover {
	color: var(--itt-gold) !important;
	border-color: var(--itt-gold) !important;
}

.itt .itt-plan__btn {
	color: inherit !important;
	background-image: none !important;
	border: 0 !important;
	line-height: 1.4 !important;
}

.itt .itt-itin__title {
	color: var(--itt-ink) !important;
	font-size: clamp(1.7rem, 2.4vw + 1rem, 2.5rem);
	line-height: 1.15 !important;
	margin: 6px 0 0 !important;
	letter-spacing: -0.01em;
}

.itt .itt-itin__eyebrow {
	margin: 0 !important;
	line-height: 1.5 !important;
}

.itt .itt-step__name {
	color: var(--itt-ink) !important;
	font-size: clamp(1.15rem, 1vw + 0.9rem, 1.45rem);
	line-height: 1.25 !important;
	margin: 0 !important;
}

.itt .itt-step__cap {
	color: var(--itt-gold-deep) !important;
	line-height: 1.4 !important;
	margin: 6px 0 0 !important;
}

.itt .itt-step__text {
	color: var(--itt-ink-soft) !important;
	line-height: 1.68 !important;
	margin: 10px 0 0 !important;
}

.itt .itt-step__meta li,
.itt .itt-step__drive {
	color: var(--itt-muted) !important;
	line-height: 1.5 !important;
}

.itt .itt-step__n {
	color: var(--itt-gold-deep) !important;
	line-height: 1.4 !important;
}

.itt .itt-book__title,
.itt .itt-cta__title {
	line-height: 1.2 !important;
	margin: 0 0 18px !important;
}

.itt .itt-cta__title {
	color: #fff !important;
	font-size: clamp(1.4rem, 1.8vw + 1rem, 2rem);
	margin: 0 !important;
}

.itt .itt-book__title {
	color: var(--itt-ink) !important;
	font-size: clamp(1.4rem, 1.8vw + 1rem, 2rem);
}

.itt .itt-btn,
.itt .itt-btn:visited {
	color: var(--itt-navy-900) !important;
	text-decoration: none;
	background-image: none !important;
	border: 0 !important;
}
