/*--------------------------------------------------------------
# Inner Circle Hero Section
# Full-bleed dark hero with overlay, centered content,
# eyebrow, heading, subtitle, price badge, feature pills & CTAs.
--------------------------------------------------------------*/

/* ── Section wrapper ── */
.ic-hero {
	position: relative;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-align: center;
}

/* ── Background ── */

/* Since 1 Dec 2026, Anish's picture (inner-circle-hero.webp, 1672×941): the
   hand holding The Points Partner card on white, over a torn-paper collage
   of planes, cards, a business-class bed, lounges and places along the
   bottom (card-with-hand.webp, the hand alone, before).
   A plain background, with nothing over it: Anish asked for no white fades,
   veils or glows ("just keep that image on the background"). It fills the
   hero (`cover`) from the top, so the card is never cut; on screens wider
   than the picture the bottom of the collage is what gets cut, and on
   portrait phones and tablets only the middle shows, the hand and card. */
.ic-hero__bg {
	position: absolute;
	inset: 0;
	background-image: url('../../images/inner-circle-hero.webp');
	background-size: cover;
	/* 20px up from the top (Anish, 1 Dec: 10px, then 10px more). Where the
	   picture is only as tall as the hero, that leaves 20px at the bottom,
	   where the fade below is already solid or nearly solid white (99% or
	   more even on a 320×568 phone), so the picture's edge doesn't show. */
	background-position: center top -20px;
	background-repeat: no-repeat;
}

/* A white fade over the bottom of the hero only (Anish, 1 Dec), so the
   collage blends into the white section below. Nothing else covers the
   picture. It was a straight fade over the bottom 10%, which still read as
   the section ending (Anish: "make it a little more smooth"), so now it
   runs over the bottom 20% on an eased curve (smootherstep): it starts too
   gently to show a line, does most of its work in the middle, and is solid
   white for the last 2%, so the collage is gone before the edge.
   On .ic-hero__bg rather than .ic-hero so it stays under the copy, which
   carries z-index: 1. */
.ic-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 80%,
		rgba(255, 255, 255, 0.016) 82.25%,
		rgba(255, 255, 255, 0.104) 84.5%,
		rgba(255, 255, 255, 0.275) 86.75%,
		rgba(255, 255, 255, 0.5) 89%,
		rgba(255, 255, 255, 0.725) 91.25%,
		rgba(255, 255, 255, 0.896) 93.5%,
		rgba(255, 255, 255, 0.984) 95.75%,
		var(--tpp-white) 98%
	);
	pointer-events: none;
}

/* Background video — sits over the fallback image, under the overlay.
   CURRENTLY UNUSED: the <video> was removed from hero.php on 2026-08-27.
   Kept, along with .ic-hero__sound below, so restoring it is a markup-only
   change. assets/images/inner-circle-hero.mp4 is retained for the same
   reason. */
.ic-hero__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Decorative and muted: never interactive. */
	pointer-events: none;
}

/* ── Sound toggle ── */
.ic-hero__sound {
	position: absolute;
	right: var(--tpp-container-padding);
	bottom: 28px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ic-hero__sound:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--tpp-white);
}

.ic-hero__sound:focus-visible {
	outline: 2px solid var(--tpp-white);
	outline-offset: 3px;
}

/* Muted is the default state, so the crossed-out icon shows first. */
.ic-hero__sound-icon--on {
	display: none;
}

.ic-hero__sound.is-unmuted .ic-hero__sound-icon--off {
	display: none;
}

.ic-hero__sound.is-unmuted .ic-hero__sound-icon--on {
	display: block;
}

/* ── Container ── */
.ic-hero__container {
	position: relative;
	/* All the copy sits 60px lower than its centred place (Anish, 1 Dec
	   2026: 20px, then 40px more). Done as 60px of top margin, which the
	   centring halves to 30px, plus a 30px offset. On short screens, where
	   the copy is taller than the window, the margin makes the hero grow
	   instead, so the last button isn't cut off at its bottom edge (a plain
	   60px offset cut it by 16px on a 320×568 phone). */
	top: 30px;
	z-index: 1;
	width: 100%;
	max-width: 860px;
	margin: 60px auto 0;
	padding: 200px var(--tpp-container-padding) 64px;

	/* Scroll-reveal */
	opacity: 0;
	transform: translateY(36px);
	transition:
		opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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


/* ──────────────────────────────────────────────
   Eyebrow
   ────────────────────────────────────────────── */

.ic-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--tpp-font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tpp-black);
	margin-bottom: 18px;
}

.ic-hero__eyebrow svg {
	flex-shrink: 0;
}


/* ──────────────────────────────────────────────
   Heading
   ────────────────────────────────────────────── */

.ic-hero__heading {
	font-family: var(--tpp-font-heading);
	font-size: clamp(2.8rem, 6vw + 0.5rem, 5rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: var(--tpp-black);
	margin: 0 0 16px;
}


/* ──────────────────────────────────────────────
   Subtitle
   ────────────────────────────────────────────── */

.ic-hero__subtitle {
	font-family: var(--tpp-font-body);
	font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
	font-weight: 400;
	line-height: 1.75;
	/* Full black, no halo (3 Dec 2026, Anish): the line now sits mostly on
	   the picture's white. A white halo (1 Dec) came off with this. */
	color: var(--tpp-black);
	margin: 0 auto 24px;
	max-width: 680px;
}


/* ──────────────────────────────────────────────
   Price badge
   ────────────────────────────────────────────── */

.ic-hero__price-badge {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-bottom: 28px;
}

.ic-hero__price-amount {
	font-family: var(--tpp-font-heading);
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1;
	color: var(--tpp-black);
	letter-spacing: -0.04em;
}

.ic-hero__price-period {
	font-family: var(--tpp-font-body);
	font-size: 1rem;
	font-weight: 400;
	color: var(--tpp-text-light);
}

.ic-hero__price-note {
	width: 100%;
	font-family: var(--tpp-font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--tpp-text-light);
	margin-top: 4px;
}


/* ──────────────────────────────────────────────
   Highlight pills
   ────────────────────────────────────────────── */

/* TEMPORARILY HIDDEN for review — 2026-08-27.
   To restore: change display back to flex. The markup is untouched in
   template-parts/inner-circle/hero.php, so nothing else needs reverting.
   Note the four pills (Zooms / Academy / Community / Sessions) are now
   only represented in the subtitle above, which was shortened to keep
   them rather than drop them. */
.ic-hero__highlights {
	display: none;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.ic-hero__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	background: rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: var(--tpp-radius-pill);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background 0.3s ease, border-color 0.3s ease;
}

.ic-hero__pill:hover {
	background: rgba(0, 0, 0, 0.09);
	border-color: rgba(0, 0, 0, 0.2);
}

.ic-hero__pill-icon {
	display: flex;
	align-items: center;
	color: var(--tpp-black);
}

.ic-hero__pill-text {
	font-family: var(--tpp-font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--tpp-text);
	white-space: nowrap;
}


/* ──────────────────────────────────────────────
   CTAs
   ────────────────────────────────────────────── */

.ic-hero__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ic-hero__cta {
	padding: 15px 32px;
	font-size: 0.9375rem;
	border-radius: var(--tpp-radius-pill);
}

/* Primary CTA — solid black, for a light photo background */
.ic-hero__cta--primary {
	background: var(--tpp-black);
	color: var(--tpp-white);
	border: 1.5px solid var(--tpp-black);
}

.ic-hero__cta--primary:hover {
	background: var(--tpp-dark);
	border-color: var(--tpp-dark);
	color: var(--tpp-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ic-hero__cta--primary:visited,
.ic-hero__cta--primary:hover:visited,
.ic-hero__cta--primary:focus,
.ic-hero__cta--primary:active {
	color: var(--tpp-white);
}

.ic-hero__cta--primary .btn-arrow {
	transition: transform var(--tpp-transition);
}

.ic-hero__cta--primary:hover .btn-arrow {
	transform: translateX(4px);
}

/* Key button: orange (29 Nov 2026). Only the hero's "Join the Inner
   Circle" has it; the Lounge Pass and Schedule join buttons further down
   share --primary and stay black. */
.ic-hero__cta--key {
	background: var(--tpp-accent);
	border: 1.5px solid var(--tpp-accent);
}

.ic-hero__cta--key,
.ic-hero__cta--key:visited,
.ic-hero__cta--key:hover,
.ic-hero__cta--key:focus,
.ic-hero__cta--key:active {
	color: var(--tpp-black);
}

.ic-hero__cta--key:hover {
	background: var(--tpp-accent-dark);
	border-color: var(--tpp-accent-dark);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ic-hero__cta--key .btn-arrow {
	transition: transform var(--tpp-transition);
}

.ic-hero__cta--key:hover .btn-arrow {
	transform: translateX(4px);
}

/* The join button's black arrow circle (1 Dec 2026, Anish), like the site's
   other orange buttons. On hover the arrow turns to point up and right and
   slides a little that way. The circle overlaps the button's top and bottom
   padding (negative margins), so the button stays as tall as the black one
   beside it. */
.ic-hero__cta--chip {
	gap: 12px;
	padding-right: 8px;
	padding-left: 28px;
}

.ic-hero__cta-chip {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: -9px 0;
	border-radius: 50%;
	background: var(--tpp-black);
	color: var(--tpp-accent);
}

.ic-hero__cta-chip svg {
	width: 15px;
	height: 15px;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ic-hero__cta--chip:hover .ic-hero__cta-chip svg,
.ic-hero__cta--chip:focus-visible .ic-hero__cta-chip svg {
	transform: translate(2px, -2px) rotate(-45deg);
}

/* "Private Zoom Consultations" uses --primary (black, above) since 1 Dec
   2026 (Anish). It was outlined; the --outline style it had is gone. */

/* "Watch a call" (Owen, 25 Nov 2026): a pill centred under the two
   buttons, taking visitors down to the call clips straight below the hero.
   Lighter than the two buttons so they keep the lead, and the same as the
   Consultation page's "Watch the segment". */
/* Black since 29 Nov 2026 (it was the accent): the orange now marks the
   key button above it, and this is a supporting one. */
.ic-hero__watch,
.ic-hero__watch:visited,
.ic-hero__watch:hover,
.ic-hero__watch:focus,
.ic-hero__watch:active {
	color: var(--tpp-white);
}

.ic-hero__watch {
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin: 22px auto 0;
	padding: 8px 20px 8px 8px;
	border-radius: var(--tpp-radius-pill);
	background: var(--tpp-black);
	font-family: var(--tpp-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.25s ease;
}

.ic-hero__watch:hover,
.ic-hero__watch:focus-visible {
	background: var(--tpp-dark);
}

.ic-hero__watch i {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--tpp-accent);
	color: var(--tpp-black);
}

.ic-hero__watch svg {
	width: 12px;
	height: 12px;
	margin-left: 2px;
}


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

/* Tablet (≥768px) */
@media screen and (min-width: 768px) {
	.ic-hero__heading {
		font-size: clamp(3rem, 5.5vw, 4.5rem);
	}
}

/* Mobile (≤767px) */
@media screen and (max-width: 767px) {
	.ic-hero {
		min-height: 100vh;
		min-height: 100dvh;
	}

	/* Was 160px top against 56px bottom. The section is min-height: 100dvh
	   with align-items: center, so the container is already centred — that
	   padding was added on top of the centring and pushed the copy far below
	   the middle, opening the gap under the header. This page does not use
	   the overlay header either (only About and Book Travel do), so the
	   header sits in flow above the hero and no clearance is needed here.
	   Symmetric now: the centring does the work. */
	.ic-hero__container {
		padding: 56px var(--tpp-container-padding) 56px;
	}

	.ic-hero__heading {
		font-size: clamp(2.2rem, 9vw, 3rem);
	}

	.ic-hero__price-amount {
		font-size: 2.2rem;
	}

	.ic-hero__highlights {
		gap: 8px;
	}

	.ic-hero__pill {
		padding: 7px 14px;
	}

	.ic-hero__pill-text {
		font-size: 0.75rem;
	}

	.ic-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ic-hero__cta {
		width: 100%;
		justify-content: center;
	}
}

/* Small mobile (≤480px) */
@media screen and (max-width: 480px) {
	.ic-hero__container {
		padding: 44px var(--tpp-container-padding) 44px;
	}

	.ic-hero__eyebrow {
		font-size: 0.75rem;
	}

	.ic-hero__price-badge {
		margin-bottom: 24px;
	}

	.ic-hero__highlights {
		margin-bottom: 26px;
	}
}


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

@media (prefers-reduced-motion: reduce) {
	/* Fall back to the still background image. js/inner-circle-hero.js
	   also pauses the video, since display:none alone would leave it
	   decoding out of sight. */
	.ic-hero__video {
		display: none;
	}

	/* No video means nothing to unmute. */
	.ic-hero__sound {
		display: none;
	}

	.ic-hero__container {
		transition: none;
	}

	/* The arrow still turns on hover, without the motion. */
	.ic-hero__cta-chip svg {
		transition: none;
	}
}
