/* ==========================================================================
   EssenceTransfers — components.css

   Mobile-first. Breakpoints (see base.css header for the strategy):
     40rem / 640px   — 2-up grids
     48rem / 768px   — tablet portrait: editorial grids begin
     56rem / 896px   — editorial splits go two-column
     64rem / 1024px  — desktop navigation + full desktop layouts
     82rem / 1312px  — large-desktop comfort only

   Each of those does real design work. There are no repair-patch queries.
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.et-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	padding: 0.9rem 1.5rem;
	border-radius: 2px;
	border: 1px solid transparent;
	min-height: 48px;
	line-height: 1.15;
	/* Wraps rather than overflowing if a label is ever lengthened in the
	   editor, or translated into a longer language. */
	white-space: normal;
	text-wrap: balance;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 40rem) {
	.et-btn { padding-inline: 2rem; }
}

.et-btn--primary {
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--ivory) !important;
}
.et-btn--primary:hover { background: var(--wp--preset--color--forest-deep); }

.et-btn--outline {
	background: transparent;
	color: var(--wp--preset--color--ink) !important;
	border-color: var(--wp--preset--color--ink);
}
.et-btn--outline:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--ivory) !important; }

.et-btn--on-dark {
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--forest-deep) !important;
}
.et-btn--on-dark:hover { background: var(--wp--preset--color--forest-soft); }

.et-btn--on-dark-outline {
	background: transparent;
	color: var(--wp--preset--color--ivory) !important;
	border-color: rgba(246, 242, 234, 0.45);
}
.et-btn--on-dark-outline:hover { border-color: var(--wp--preset--color--ivory); }

/* Full-width on the narrowest phones, intrinsic width once there is room
   for a button to sit beside something else. */
.et-btn--block-sm {
	width: 100%;
}
@media (min-width: 26rem) {
	.et-btn--block-sm { width: auto; }
}

/* Text link with a resting underline (never hover-only) and a comfortable
   tap target. */
.et-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: var(--et-tap);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: var(--wp--preset--color--forest);
	position: relative;
	padding-block: 0.35rem;
}
.et-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.15rem;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0.35);
	transform-origin: left;
	transition: transform 0.25s ease;
	opacity: 0.55;
}
.et-link:hover::after,
.et-link:focus-visible::after { transform: scaleX(1); opacity: 1; }
.et-link--on-dark { color: var(--wp--preset--color--ivory); }
.et-link__arrow { transition: transform 0.25s ease; }
.et-link:hover .et-link__arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/*                                                                         */
/* Two genuinely different designs, not one squeezed:                      */
/*   < 64rem  wordmark + tap-to-call + menu trigger. No CTA button — the   */
/*            hero carries it on the first screen, the sticky bar carries  */
/*            it after that, and the menu carries it always.               */
/*   >= 64rem wordmark + inline nav + Request a Journey.                   */
/*   >= 78rem the phone number is added as text.                           */
/* The switch happens at 1024px, well before anything collides, so the     */
/* desktop header is already comfortable at 1280px as required.            */
/* ---------------------------------------------------------------------- */
.et-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(246, 242, 234, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.et-header.is-scrolled {
	border-bottom-color: var(--wp--preset--color--line);
	box-shadow: 0 1px 0 rgba(23, 50, 41, 0.03);
}
.et-header__inner {
	max-width: var(--et-max);
	margin-inline: auto;
	padding-inline: var(--et-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: var(--et-header-h);
}

.et-wordmark {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.15rem, 3.2vw, 1.5rem);
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	line-height: 1.05;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}
.et-wordmark__tag {
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(0.5rem, 1.5vw, 0.62rem);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-soft);
	white-space: nowrap;
}
@media (min-width: 40rem) {
	.et-wordmark__tag { letter-spacing: 0.22em; }
}

.et-nav { display: none; }
.et-nav__list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: clamp(1rem, 1.8vw, 2.25rem);
	margin: 0;
	padding: 0;
}
.et-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: var(--et-tap);
	font-size: clamp(0.86rem, 0.9vw, 0.94rem);
	font-weight: 500;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	position: relative;
	white-space: nowrap;
}
.et-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.55rem;
	width: 100%;
	height: 1px;
	background: var(--wp--preset--color--forest);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}
.et-nav__list a:hover::after,
.et-nav__list a:focus-visible::after { transform: scaleX(1); }

.et-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
}
@media (min-width: 64rem) {
	.et-header__actions { gap: 1rem; }
}

/* Icon-only buttons in the header (call, menu). Square, 44px, never
   shrink. */
.et-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--et-tap);
	height: var(--et-tap);
	flex: none;
	padding: 0;
	background: transparent;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 2px;
	color: var(--wp--preset--color--forest);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.et-icon-btn:hover {
	border-color: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--forest-deep);
}

.et-header__call { display: inline-flex; }
.et-header__phone { display: none; }
.et-header__cta { display: none; }

.et-menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
}
/* :not(.screen-reader-text) so the visually-hidden label inside the button
   is never painted as a fourth bar. */
.et-menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 19px;
	height: 1.5px;
	background: var(--wp--preset--color--ink);
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.et-menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.et-menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.et-menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 64rem) {
	.et-nav { display: block; }
	.et-header__cta { display: inline-flex; }
	.et-header__call { display: none; }
	.et-menu-toggle { display: none; }
	.et-mobile-menu { display: none !important; }
}
@media (min-width: 78rem) {
	.et-header__phone {
		display: inline-flex;
		align-items: center;
		min-height: var(--et-tap);
		font-size: 0.88rem;
		font-weight: 600;
		color: var(--wp--preset--color--ink-soft);
		text-decoration: none;
		white-space: nowrap;
	}
	.et-header__phone:hover { color: var(--wp--preset--color--forest); }
}

/* ---- Mobile menu overlay ---------------------------------------------- */
.et-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: var(--wp--preset--color--ivory);
	display: flex;
	flex-direction: column;
	transform: translateY(-8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
	/* The menu can be taller than the screen on a small phone in
	   landscape — let it scroll rather than clipping the CTA. */
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: env(safe-area-inset-bottom);
}
.et-mobile-menu[hidden] { display: none !important; }
.et-mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
.et-mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-inline: var(--et-gutter);
	min-height: var(--et-header-h);
	border-bottom: 1px solid var(--wp--preset--color--line);
	flex: none;
}
.et-mobile-menu__list {
	list-style: none;
	margin: 0;
	padding: clamp(1.5rem, 5vh, 2.75rem) var(--et-gutter);
	display: flex;
	flex-direction: column;
	gap: clamp(0.75rem, 2.5vh, 1.5rem);
}
.et-mobile-menu__list a {
	min-height: var(--et-tap);
	display: flex;
	align-items: center;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 6.5vw, 2.1rem);
	line-height: 1.15;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	padding-block: 0.15rem;
}
.et-mobile-menu__foot {
	margin-top: auto;
	padding: 1.25rem var(--et-gutter) calc(1.5rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--wp--preset--color--line);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	flex: none;
}
.et-mobile-menu__foot .et-btn { width: 100%; }
.et-mobile-menu__foot a:not(.et-btn) {
	display: inline-flex;
	align-items: center;
	min-height: var(--et-tap);
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-size: 1.05rem;
}
body.et-menu-open { overflow: hidden; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/*                                                                         */
/* Deliberately different compositions. On a phone the hero is capped so    */
/* that WHAT / WHERE / ACTION all land on the first screen and the page     */
/* visibly continues below. On desktop it opens up to a full cinematic      */
/* frame.                                                                  */
/* ---------------------------------------------------------------------- */
.et-hero {
	position: relative;
	display: grid;
	align-items: stretch;
	min-height: clamp(27rem, 72svh, 34rem);
}
.et-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	border: none;
	align-items: stretch;
	overflow: hidden;
}
.et-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	/* Stronger scrim on mobile: the text sits over a much smaller area of
	   image, so legibility needs more help. */
	background: linear-gradient(0deg, rgba(14,33,27,0.68) 0%, rgba(14,33,27,0.32) 48%, rgba(14,33,27,0.08) 100%);
}
.et-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: clamp(0.85rem, 2.2vw, 1.5rem);
	max-width: var(--et-max);
	margin-inline: auto;
	width: 100%;
	padding: clamp(1.5rem, 6vh, 4rem) var(--et-gutter) clamp(1.75rem, 5vh, 4.5rem);
}
.et-hero__eyebrow { color: var(--wp--preset--color--forest-soft); }
.et-hero__eyebrow::before { background: var(--wp--preset--color--forest-soft); }
.et-hero h1 {
	color: var(--wp--preset--color--ivory);
	font-size: var(--wp--preset--font-size--display);
	max-width: 16ch;
	margin: 0;
}
.et-hero p {
	color: var(--wp--preset--color--forest-soft);
	font-size: var(--wp--preset--font-size--lead);
	max-width: 42ch;
	margin: 0;
}
.et-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.4rem;
	align-items: center;
	margin-top: 0.25rem;
}

@media (min-width: 48rem) {
	.et-hero { min-height: clamp(34rem, 78svh, 44rem); }
	.et-hero__media::after {
		background: linear-gradient(90deg, rgba(14,33,27,0.64) 0%, rgba(14,33,27,0.30) 42%, rgba(14,33,27,0.04) 72%);
	}
}
@media (min-width: 64rem) {
	.et-hero { min-height: min(84svh, 52rem); }
	.et-hero__actions { gap: 1rem 1.75rem; margin-top: 0.5rem; }
}
/* Short viewports (landscape phones, 320x568): never let the hero take the
   whole screen — the visitor must be able to see that the page continues. */
@media (max-height: 34rem) {
	.et-hero { min-height: 24rem; }
	.et-hero__content { padding-block: 1.25rem 1.5rem; }
}

/* ---------------------------------------------------------------------- */
/* Destination discovery                                                   */
/*                                                                         */
/* Phone   — an edge-to-edge horizontal rail with snap points. Seven        */
/*           stacked full-width cards would be seven screens of scrolling;  */
/*           a rail keeps discovery to one band, keeps every image large    */
/*           enough to mean something, and the partial next card is the     */
/*           affordance. All card text is always visible — nothing depends  */
/*           on hover, and tabbing scrolls cards into view natively.        */
/* Tablet+ — an auto-fit editorial grid with a double-height feature tile.  */
/*           auto-fit (not fixed column counts) means the grid stays        */
/*           correct with four destinations or with twelve, once the        */
/*           destination CPT drives it.                                     */
/* ---------------------------------------------------------------------- */
.et-destinations {
	display: grid;
	gap: 1rem;
}

@media (max-width: 47.99rem) {
	.et-destinations {
		grid-auto-flow: column;
		grid-auto-columns: min(78vw, 19rem);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--et-gutter);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		/* Room for the focus ring, which would otherwise be clipped by the
		   scroll container. */
		padding-block: 4px;
	}
	.et-destinations::-webkit-scrollbar { display: none; }
	.et-destination-card {
		scroll-snap-align: start;
		aspect-ratio: 3 / 4;
	}
}

.et-destination-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--wp--preset--color--ivory);
	text-decoration: none;
	overflow: hidden;
	min-height: 15rem;
	isolation: isolate;
}
.et-destination-card__media,
.et-destination-card .et-media-placeholder {
	position: absolute;
	inset: 0;
	z-index: 0;
	transition: transform 0.5s ease;
}
.et-destination-card__media { overflow: hidden; }
.et-destination-card__media .et-img { transition: transform .5s ease; }
.et-destination-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(14,33,27,0.86) 0%, rgba(14,33,27,0.34) 58%, rgba(14,33,27,0.06) 100%);
	z-index: 1;
}
.et-destination-card__body {
	position: relative;
	z-index: 2;
	padding: clamp(1rem, 3vw, 1.6rem);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.et-destination-card__meta {
	font-size: clamp(0.68rem, 1.6vw, 0.78rem);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--wp--preset--color--forest-soft);
}
.et-destination-card__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.3rem, 3.4vw, 1.6rem);
	line-height: 1.15;
	margin: 0;
	color: var(--wp--preset--color--ivory);
	max-width: none;
}
.et-destination-card__line {
	font-size: clamp(0.86rem, 2vw, 0.94rem);
	line-height: 1.5;
	color: rgba(246,242,234,0.84);
	margin: 0;
	max-width: 34ch;
}
.et-destination-card__go {
	margin-top: 0.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: var(--wp--preset--color--ivory);
}
.et-destination-card:hover .et-destination-card__media .et-img,
.et-destination-card:hover .et-media-placeholder { transform: scale(1.035); }

.et-destination-card--cta {
	background: var(--wp--preset--color--forest);
	justify-content: center;
}
.et-destination-card--cta::before { display: none; }
.et-destination-card--cta .et-destination-card__title { font-size: clamp(1.2rem, 3vw, 1.45rem); }

/* Hint that the rail scrolls, for the case where the peeking card is not
   obvious enough (e.g. exactly at a snap boundary). Mobile only. */
.et-rail-hint {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin-top: 0.9rem;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--ink-soft);
}
@media (min-width: 48rem) {
	.et-rail-hint { display: none; }
}

@media (min-width: 48rem) {
	.et-destinations {
		grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
		grid-auto-rows: minmax(12rem, auto);
		gap: 1.25rem;
	}
	.et-destination-card--feature {
		grid-column: span 2;
		grid-row: span 2;
	}
}
@media (min-width: 64rem) {
	.et-destinations {
		grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
		grid-auto-rows: minmax(13.5rem, auto);
		gap: 1.5rem;
	}
}

/* ---------------------------------------------------------------------- */
/* Orientation strip                                                       */
/* ---------------------------------------------------------------------- */
.et-orientation {
	display: grid;
	gap: clamp(1.5rem, 4vw, 2rem);
}
.et-orientation__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}
.et-orientation__list li {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	font-size: clamp(0.98rem, 1.4vw, 1.05rem);
	line-height: 1.55;
	color: var(--wp--preset--color--ink);
	max-width: 52ch;
}
.et-orientation__list li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--forest);
	flex: none;
	transform: translateY(-2px);
}
@media (min-width: 52rem) {
	.et-orientation {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		align-items: start;
		gap: clamp(2.5rem, 5vw, 4rem);
	}
}

/* ---------------------------------------------------------------------- */
/* How it works — editorial numbered steps                                 */
/*                                                                         */
/* 1 col → 2x2 at 40rem → 4 across at 64rem. The 2x2 stage exists because   */
/* four columns on a 768px tablet gives each step ~160px, which is not      */
/* enough for a title plus two lines.                                      */
/* ---------------------------------------------------------------------- */
.et-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
.et-step__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	color: var(--wp--preset--color--accent-muted);
	margin: 0 0 0.5rem;
}
.et-step__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.2rem, 1.6vw, 1.3rem);
	margin: 0 0 0.4rem;
	max-width: none;
}
.et-step__text {
	margin: 0;
	color: var(--wp--preset--color--ink-soft);
	font-size: 0.98rem;
	max-width: 40ch;
}
.et-step + .et-step {
	padding-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--line);
}

@media (min-width: 40rem) {
	.et-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 2.5rem;
	}
	.et-step + .et-step { padding-top: 0; border-top: none; }
	/* Rules follow the grid, not the source order: a left edge on the
	   second column, a top edge on the second row. */
	.et-step:nth-child(even) {
		border-left: 1px solid var(--wp--preset--color--line);
		padding-left: 2rem;
	}
	.et-step:nth-child(n + 3) {
		padding-top: 2.25rem;
		border-top: 1px solid var(--wp--preset--color--line);
	}
}
@media (min-width: 64rem) {
	.et-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
	.et-step:nth-child(n + 3) { padding-top: 0; border-top: none; }
	.et-step + .et-step {
		border-left: 1px solid var(--wp--preset--color--line);
		padding-left: clamp(1.25rem, 2vw, 2rem);
	}
	.et-step:nth-child(even) { padding-left: clamp(1.25rem, 2vw, 2rem); }
}

/* ---------------------------------------------------------------------- */
/* Statement band ("Not a group tour")                                     */
/*                                                                         */
/* Stays a visual statement on a phone: the type is still the largest on    */
/* the page, but the band is height-controlled so it reads as a pause in    */
/* the page rather than a screen of its own.                               */
/* ---------------------------------------------------------------------- */
.et-statement {
	text-align: left;
	max-width: 46rem;
}
.et-statement h2 {
	font-size: clamp(1.95rem, 6.4vw + 0.3rem, 4rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.05;
	max-width: 14ch;
	margin: 0 0 1rem;
}
.et-statement p {
	color: var(--wp--preset--color--forest-soft);
	font-size: clamp(0.98rem, 1.4vw, 1.05rem);
	max-width: 46ch;
}
.et-statement__compare {
	margin-top: clamp(1.75rem, 4vw, 2.5rem);
	display: grid;
	gap: 1.25rem;
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid rgba(246,242,234,0.18);
}
.et-statement__compare > div { display: grid; gap: 0.35rem; }
.et-statement__compare .et-label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--forest-soft);
	opacity: 0.75;
}
.et-statement__compare p {
	margin: 0;
	color: var(--wp--preset--color--ivory);
	font-size: 0.98rem;
	max-width: 38ch;
}
@media (min-width: 40rem) {
	.et-statement__compare {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem 2rem;
		max-width: 58rem;
	}
}

/* ---------------------------------------------------------------------- */
/* Transfers row                                                           */
/* 1 → 2 at 40rem → 4 at 64rem. Four across a 768px tablet would leave      */
/* ~145px of usable width per cell.                                        */
/* ---------------------------------------------------------------------- */
.et-transfers-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--wp--preset--color--line);
	border: 1px solid var(--wp--preset--color--line);
}
.et-transfer-item {
	background: var(--wp--preset--color--ivory);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	display: grid;
	gap: 0.4rem;
	align-content: start;
}
.et-transfer-item__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.05rem, 1.4vw, 1.15rem);
	margin: 0;
	max-width: none;
}
.et-transfer-item__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--wp--preset--color--ink-soft);
	max-width: 34ch;
}

.et-transfers-photo {
	margin-top: clamp(2rem, 4vw, 4rem);
	aspect-ratio: 16 / 7;
	overflow: hidden;
}
.et-transfers-photo .et-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (max-width: 47.99rem) {
	.et-transfers-photo { aspect-ratio: 4 / 3; }
}
@media (min-width: 40rem) {
	.et-transfers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
	.et-transfers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------------- */
/* Editorial split — Fleet, Hotel Journeys                                 */
/*                                                                         */
/* Source order is head → media → body, which is deliberately the mobile    */
/* narrative: say what the section is, show it, then explain it. On desktop */
/* grid-template-areas rebuilds it as a two-column editorial split without  */
/* changing the DOM, so the reading order stays correct for screen readers  */
/* and the mobile order is not a compromise of the desktop one.             */
/* ---------------------------------------------------------------------- */
.et-split {
	display: grid;
	gap: clamp(1.25rem, 3.5vw, 2rem);
}
.et-split__body {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}
.et-split__body p { margin: 0; }

@media (min-width: 56rem) {
	.et-split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"head  media"
			"body  media";
		column-gap: clamp(2.5rem, 5vw, 4.5rem);
		row-gap: 1.5rem;
		align-items: start;
	}
	.et-split__head { grid-area: head; }
	.et-split__body { grid-area: body; }
	.et-split__media { grid-area: media; align-self: center; }
	.et-split--media-first {
		grid-template-areas:
			"media head"
			"media body";
	}
}

.et-fleet__tiers {
	display: grid;
	gap: 1rem;
}
.et-fleet__tier {
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--wp--preset--color--line);
}
.et-fleet__tier h3 { font-size: 1.05rem; margin: 0 0 0.3rem; max-width: none; }
.et-fleet__tier p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--wp--preset--color--ink-soft); max-width: none; }
@media (min-width: 30rem) {
	.et-fleet__tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.et-split__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.4rem;
	align-items: center;
}
.et-split__note {
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-soft);
	max-width: 46ch;
}

/* ---------------------------------------------------------------------- */
/* Why EssenceTransfers                                                    */
/* ---------------------------------------------------------------------- */
.et-values {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
.et-value h3 { font-size: 1.05rem; margin: 0 0 0.3rem; max-width: none; }
.et-value p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--wp--preset--color--ink-soft); max-width: 36ch; }
@media (min-width: 34rem) {
	.et-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.5rem; }
}
@media (min-width: 64rem) {
	.et-values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
}

/* ---------------------------------------------------------------------- */
/* FAQ (native details/summary — free accessibility)                       */
/* ---------------------------------------------------------------------- */
.et-faq { border-top: 1px solid var(--wp--preset--color--line); }
.et-faq details {
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.et-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	/* Comfortable target on touch without needing a bigger font. */
	min-height: 48px;
	padding-block: 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.02rem, 1.3vw, 1.12rem);
	line-height: 1.35;
}
.et-faq summary::-webkit-details-marker { display: none; }
.et-faq summary::after {
	content: "+";
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.4rem;
	line-height: 1;
	color: var(--wp--preset--color--accent-muted);
	flex: none;
	transition: transform 0.2s ease;
}
.et-faq details[open] summary::after { transform: rotate(45deg); }
.et-faq details > p {
	margin: 0 0 1.15rem;
	color: var(--wp--preset--color--ink-soft);
	font-size: 0.96rem;
	max-width: 58ch;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* Brand block full width until there is room for a true four-column        */
/* directory; link columns use auto-fit so they never become 3 cramped      */
/* 100px columns on a small tablet.                                         */
/* ---------------------------------------------------------------------- */
.et-footer {
	background: var(--wp--preset--color--forest-deep);
	color: var(--wp--preset--color--forest-soft);
}
.et-footer a { color: var(--wp--preset--color--ivory); }
.et-footer__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 2.5rem);
	grid-template-columns: 1fr;
}
.et-footer__brand { grid-column: 1 / -1; }
.et-footer__wordmark {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.35rem, 3vw, 1.6rem);
	color: var(--wp--preset--color--ivory);
	margin: 0 0 0.75rem;
}
.et-footer__brand p { max-width: 40ch; font-size: 0.92rem; line-height: 1.6; }
.et-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.3rem;
	font-size: 0.92rem;
}
.et-footer__list a,
.et-footer__list span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	text-decoration: none;
}
.et-footer__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.et-footer__heading {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--forest-soft);
	opacity: 0.75;
	margin: 0 0 0.6rem;
}
.et-footer__base {
	margin-top: clamp(2rem, 4vw, 2.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(246,242,234,0.14);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	align-items: center;
	font-size: 0.82rem;
	opacity: 0.85;
}
.et-footer__base a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
}
@media (min-width: 34rem) {
	.et-footer__grid { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
}
@media (min-width: 64rem) {
	.et-footer__grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); }
	.et-footer__brand { grid-column: auto; }
}

/* ---------------------------------------------------------------------- */
/* Closing CTA band                                                        */
/* Left-aligned on a phone (centred short lines read as decoration at that */
/* width); centred once the band is wide enough to hold a composition.     */
/* ---------------------------------------------------------------------- */
.et-final-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(1.25rem, 3vw, 1.75rem);
	text-align: left;
}
.et-final-cta__title {
	max-width: 18ch;
	margin: 0;
}
.et-final-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	width: 100%;
}
@media (min-width: 40rem) {
	.et-final-cta__inner {
		align-items: center;
		text-align: center;
	}
	.et-final-cta__actions {
		justify-content: center;
		width: auto;
	}
}

/* ---------------------------------------------------------------------- */
/* Sticky mobile CTA bar                                                   */
/*                                                                         */
/* One Request a Journey action appears after the hero is scrolled past.   */
/* scrolled past (so it never competes with the hero's own CTA), hides      */
/* while a form field has focus, and hides again once the closing CTA band  */
/* or the footer is on screen, where it would only repeat what is already   */
/* visible. See assets/js/sticky-cta.js.                                   */
/* ---------------------------------------------------------------------- */
.et-sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: flex;
	gap: 0.75rem;
	padding: 0.65rem var(--et-gutter);
	padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
	background: rgba(246, 242, 234, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: 1px solid var(--wp--preset--color--line);
	transform: translateY(110%);
	transition: transform 0.25s ease;
	will-change: transform;
}
.et-sticky-cta.is-visible { transform: translateY(0); }
.et-sticky-cta.is-suppressed { transform: translateY(110%); }
.et-sticky-cta .et-btn {
	flex: 1;
	min-height: var(--et-tap);
	padding-block: 0.7rem;
}
@media (min-width: 64rem) {
	.et-sticky-cta { display: none; }
}

/* Reserve space so the sticky bar never covers the last of the footer. */
@media (max-width: 63.99rem) {
	.et-has-sticky-cta .et-footer__base { padding-bottom: 3.5rem; }
}

/* ================================================================
   V1 internal pages
   ================================================================ */
.et-page-hero {
	padding-block: clamp(5rem, 10vw, 9rem);
	background: var(--wp--preset--color--ivory, #f6f2ea);
}
.et-page-hero--dark { background: var(--wp--preset--color--forest-deep, #0e211b); color: #f6f2ea; }
.et-page-hero--dark h1, .et-page-hero--dark p { color: inherit; }
.et-page-hero__narrow { max-width: 58rem; }
.et-page-hero h1 { max-width: 19ch; margin-block: 1rem 1.5rem; font-size: clamp(2.25rem, 2.3vw + 1.5rem, 4.5rem); }
.et-page-hero p { max-width: 45rem; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.et-page-hero__grid { display: grid; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.et-page-hero__grid > * { min-width: 0; }
.et-page-hero__grid .et-media { min-height: 0; aspect-ratio: 4 / 3; }
.et-page-media { position: relative; width: 100%; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--stone); }
.et-page-media .et-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.et-section-heading { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.et-section-heading h2, .et-prose-grid h2, .et-callout h2 { margin-block: .8rem 1.2rem; font-size: clamp(2.35rem, 5vw, 5rem); }
.et-card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.wp-block-post-template.et-card-grid > li { margin-block: 0; }
.et-card-grid .wp-block-post-featured-image { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.et-card-grid .wp-block-post-featured-image a { display: block; height: 100%; }
.et-card-grid .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.et-content-card { min-width: 0; border: 1px solid var(--wp--preset--color--line, #dad1be); background: #fff; }
.et-content-card .et-media { min-height: 15rem; }
.et-content-card__media { aspect-ratio: 4 / 5; overflow: hidden; }
.et-content-card__body { padding: clamp(1.25rem, 3vw, 2rem); }
.et-content-card__body h2, .et-content-card__body h3 { margin-block: .35rem .7rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.et-kicker, .et-meta { color: var(--wp--preset--color--accent-muted, #8a7c61); font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.et-prose-grid, .et-callout, .et-request-grid, .et-destination-layout { display: grid; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.et-editorial-media { display: grid; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.et-editorial-media h2 { margin-block: .8rem 1.2rem; font-size: clamp(2.35rem, 5vw, 5rem); }
.et-prose-grid p + p { margin-top: 1.15rem; }
.et-service-card { padding: clamp(1.5rem, 3vw, 2.4rem); border-top: 1px solid var(--wp--preset--color--line, #dad1be); }
.et-service-card > span { color: #8a7c61; font-size: .78rem; }
.et-service-card h2, .et-service-card h3 { margin-block: .8rem; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.et-fleet-grid { display: grid; gap: clamp(3rem, 7vw, 7rem); }
.et-fleet-card { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.et-fleet-card .et-media { min-height: 0; }
.et-fleet-card h2 { margin-block: .8rem 1rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.et-note { margin-top: 1.5rem; color: var(--wp--preset--color--ink-soft, #5c564a); font-size: .9rem; }
.et-price-panel { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--wp--preset--color--stone, #eae3d3); }
.et-destination-layout.et-destination-layout--pricing-only { grid-template-columns: minmax(0, 46rem); justify-content: center; }
.et-destination-layout--pricing-only .et-price-panel { position: static; }
.et-price { display: grid; gap: .2rem; padding-block: 1rem; border-bottom: 1px solid #cfc4ae; }
.et-price span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.et-price strong { font-family: var(--wp--preset--font-family--display, Georgia, serif); font-size: 1.5rem; }
.et-entry-content > * + * { margin-top: 1.25rem; }
.et-entry-content h2 { margin-top: 2.5rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.et-request-page { min-height: 70vh; }
.et-request-grid h1 { margin-block: .8rem 1.3rem; font-size: clamp(2.25rem, 2.3vw + 1.5rem, 4.5rem); }
.et-form { display: grid; gap: 1.15rem; padding: clamp(1.25rem, 4vw, 2.5rem); background: #fff; border: 1px solid var(--wp--preset--color--line, #dad1be); }
.et-form label { display: grid; gap: .45rem; font-weight: 600; }
.et-form .et-field-label { display: inline; }
.et-form .et-note { margin: 0; }
.et-form .et-btn:disabled { opacity: .6; cursor: not-allowed; }
.et-form-status { margin-bottom: 1.5rem; }
.et-form input, .et-form textarea { width: 100%; min-height: 48px; padding: .8rem .9rem; border: 1px solid #aaa18e; border-radius: 0; background: #fff; color: #211e19; font: inherit; }
.et-form textarea { resize: vertical; }
.et-form input:focus, .et-form textarea:focus { outline: 2px solid #173229; outline-offset: 2px; border-color: #173229; }
.et-form__row { display: grid; gap: 1.15rem; }
.et-honeypot { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.et-form-status { padding: 2rem; border-left: 4px solid #173229; background: #fff; }

@media (min-width: 40rem) {
	.et-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.et-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
	.et-page-hero__grid, .et-prose-grid, .et-callout, .et-request-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.et-editorial-media { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
	.et-callout { align-items: center; }
	.et-callout > :last-child { justify-self: end; }
	.et-fleet-card { grid-template-columns: 1.1fr .9fr; }
	.et-fleet-card:nth-child(even) .et-media { order: 2; }
	.et-destination-layout { grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .7fr); }
	.et-price-panel { position: sticky; top: 7rem; }
}
@media (min-width: 64rem) {
	.et-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.et-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 47.99rem) {
	.et-page-hero { padding-block: 4.5rem; }
	.et-page-hero--split { padding-bottom: 0; }
	.et-page-hero--split .et-container { padding-inline: 0; }
	.et-page-hero--split .et-page-hero__grid > :first-child { padding-inline: var(--et-gutter, 1.25rem); }
	.et-page-hero__grid .et-media { min-height: 0; aspect-ratio: 3 / 2; }
	.et-callout .et-btn { width: 100%; }
}
