/*--------------------------------------------------------------
# Inner Circle — Beds-on-Planes Banner
# Full-bleed cabin-window photo under a small bed icon and one
# line of copy. No buttons — it sets up the member bookings below.
--------------------------------------------------------------*/

/* ── Section ──
   White wrapper, as .ic-banner: the band sits on white, and the bottom
   padding supplies the gap before .ic-wins, which carries no top padding
   of its own. The gap above comes from .ic-diff's 120px. Below 992px the
   padding is set in inner-circle-rhythm.css with the rest of the page. */
.ic-beds {
	background: var(--tpp-white);
	padding: 0 0 100px;
	overflow: hidden;
}

/* ── Full-bleed band ── */
.ic-beds__inner {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Set to 380px on 20 Nov (was clamp(360px, 32vw, 520px) with 72px padding).
	   Phones have their own height below. */
	min-height: 380px;
	padding: 56px var(--tpp-container-padding);
	overflow: hidden;
	background: var(--tpp-black); /* Holds the band while the photo loads */
	text-align: center;

	/* Scroll-reveal */
	opacity: 0;
	transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ic-beds__inner.is-visible {
	opacity: 1;
}


/* ── Photo ──
   Positioned so the window sits in the middle of the band; on a wide
   screen only the outer edge of its frame is trimmed, top and bottom. */
.ic-beds__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 41%;

	/* Settles as the band appears */
	transform: scale(1.06);
	transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ic-beds__inner.is-visible .ic-beds__image {
	transform: scale(1);
}

/* ── Scrim ──
   The sky through the window is bright, so white type needs one: an even
   wash, deepened through the middle where the line sits. */
.ic-beds__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 60% 55% at 50% 50%, rgba(26, 26, 26, 0.45), rgba(26, 26, 26, 0)),
		rgba(26, 26, 26, 0.4);
}


/* ── Icon and line ── */
.ic-beds__content {
	max-width: 900px;

	/* Lifts in just after the band */
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.ic-beds__inner.is-visible .ic-beds__content {
	opacity: 1;
	transform: translateY(0);
}

.ic-beds__icon {
	display: block;
	margin: 0 auto 18px;
	color: rgba(255, 255, 255, 0.85);
}

.ic-beds__heading {
	margin: 0;
	font-family: var(--tpp-font-heading);
	font-size: clamp(1.75rem, 2.2vw + 1rem, 3rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--tpp-white);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

/* Each sentence holds together, so a narrow screen breaks between the
   two rather than mid-sentence */
.ic-beds__line {
	display: inline-block;
}


/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */

/* Mobile (≤767px) */
@media screen and (max-width: 767px) {
	.ic-beds__inner {
		min-height: 240px;
		padding: 44px var(--tpp-container-padding);
	}

	.ic-beds__icon {
		width: 26px;
		height: 26px;
		margin-bottom: 14px;
	}
}


/* ──────────────────────────────────────────────
   Reduced motion
   ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	.ic-beds__inner,
	.ic-beds__image,
	.ic-beds__content {
		transition: none;
	}
}
