/* ==========================================================================
   Home page
   
   ========================================================================== */

/* ---------- Hero ---------- */

.hero {
	/* Fill the screen below the header (and the WordPress admin bar when logged in),
	   so the stats bar sits exactly at the bottom of the first screen. */
	--hero-offset: var(--header-h);
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: min(920px, calc(100vh - var(--hero-offset)));
	min-height: min(920px, calc(100svh - var(--hero-offset)));
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	background: var(--ink);
}

.hero__slides,
.hero__slide {
	position: absolute;
	inset: 0;
}

.hero__slides {
	z-index: -2;
}

.hero__slide {
	opacity: 0;
	transition: opacity 1.6s var(--ease-in-out);
}

.hero__slide.is-active {
	opacity: 1;
}

.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
}

.hero__slide.is-active img {
	animation: kenBurns 9s linear both;
}

@keyframes kenBurns {
	from { transform: scale(1.12) translate3d(0, 0, 0); }
	to { transform: scale(1) translate3d(-1%, -1%, 0); }
}

.hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(15, 36, 29, 0.88) 0%, rgba(15, 36, 29, 0.55) 45%, rgba(15, 36, 29, 0.1) 100%),
		linear-gradient(0deg, rgba(15, 36, 29, 0.85) 0%, transparent 40%);
}

.hero__inner {
	position: relative;
	display: grid;
	flex: 1;
	align-items: center;
	gap: 40px;
	padding-block: clamp(56px, 8vw, 110px) 40px;
}

@media (min-width: 1100px) {
	.hero__inner {
		grid-template-columns: 1fr 340px;
		align-items: end;
	}
}

.hero__content {
	max-width: 760px;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	animation: fadeUp 1s var(--ease) 0.1s both;
}

.hero__eyebrow .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 4px rgba(159, 217, 79, 0.25);
	animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
	50% { box-shadow: 0 0 0 9px rgba(159, 217, 79, 0); }
}

.hero__title {
	margin-bottom: 22px;
	font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.6rem);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #fff;
	animation: fadeUp 1.1s var(--ease) 0.2s both;
}

.hero__title em {
	color: var(--lime);
}

.hero__text {
	max-width: 58ch;
	margin-bottom: 32px;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
	color: rgba(255, 255, 255, 0.82);
	animation: fadeUp 1.1s var(--ease) 0.35s both;
}

.hero .btn-row {
	animation: fadeUp 1.1s var(--ease) 0.5s both;
}

.hero-card {
	position: relative;
	display: grid;
	gap: 10px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--radius-lg);
	background: rgba(15, 36, 29, 0.45);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	color: #fff;
	text-decoration: none;
	animation: fadeUp 1.1s var(--ease) 0.7s both;
	transition: transform 0.5s var(--ease), background-color 0.4s;
}

.hero-card:hover {
	transform: translateY(-6px);
	background: rgba(15, 36, 29, 0.6);
}

.hero-card__label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lime);
}

.hero-card__title {
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.15;
}

.hero-card__meta {
	display: grid;
	gap: 6px;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.8);
}

.hero-card__meta span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hero-card__meta .icon {
	width: 17px;
	height: 17px;
	color: var(--lime);
}

.hero-card__price {
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 1.35rem;
	font-weight: 800;
}

.hero-card__price small {
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
}

.hero-card__arrow {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--coral-deep);
	transition: transform 0.4s var(--ease);
}

.hero-card:hover .hero-card__arrow {
	transform: rotate(-45deg);
}

@media (max-width: 1099px) {
	.hero-card {
		max-width: 420px;
	}
}

.hero__stats {
	position: relative;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(15, 36, 29, 0.35);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
	.stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.stats li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 16px 20px 0;
}

@media (min-width: 900px) {
	.stats li + li {
		padding-left: 28px;
		border-left: 1px solid rgba(255, 255, 255, 0.14);
	}
}

.stats strong {
	font-family: var(--serif);
	font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
	font-weight: 300;
	line-height: 1;
	color: var(--lime);
	white-space: nowrap;
}

.stats span {
	max-width: 16ch;
	font-size: 0.84rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
}

.hero__dots {
	position: absolute;
	right: var(--gutter);
	top: 24px;
	display: flex;
	gap: 6px;
}

.hero__dots button {
	width: 26px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.35);
	overflow: hidden;
}

.hero__dots button.is-active {
	background: rgba(255, 255, 255, 0.35) linear-gradient(#fff, #fff) no-repeat left / 0 100%;
	animation: dotFill 7s linear forwards;
}

@keyframes dotFill {
	to { background-size: 100% 100%; }
}

/* WordPress admin bar (logged-in editors only). */
.admin-bar .hero {
	--hero-offset: calc(var(--header-h) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .hero {
		--hero-offset: calc(var(--header-h) + 46px);
	}
}

/* ---------- Marquee ---------- */

.marquee {
	padding: 22px 0;
	background: var(--coral-deep);
	color: #fff;
	overflow: hidden;
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: 32px;
	width: max-content;
	animation: marquee 50s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee__item {
	font-family: var(--serif);
	font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem);
	font-style: italic;
	font-weight: 300;
	white-space: nowrap;
}

.marquee__sep .icon {
	width: 26px;
	height: 26px;
	color: rgba(255, 255, 255, 0.7);
}

@keyframes marquee {
	to { transform: translateX(-50%); }
}

/* ---------- Intro ---------- */

.intro {
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(45% 55% at 12% 45%, rgba(227, 161, 63, 0.12), transparent 70%),
		radial-gradient(40% 50% at 95% 10%, rgba(159, 217, 79, 0.1), transparent 70%),
		var(--cream);
}

/* Faint lotus watermark behind the text. */
.intro__watermark {
	position: absolute;
	right: -6%;
	bottom: -12%;
	z-index: -1;
	width: min(560px, 50vw);
	aspect-ratio: 1;
	color: var(--moss);
	opacity: 0.06;
	pointer-events: none;
}

.intro__watermark .icon {
	width: 100%;
	height: 100%;
	stroke-width: 0.5;
}

.intro__grid {
	display: grid;
	gap: clamp(56px, 8vw, 110px);
	align-items: center;
}

@media (min-width: 1000px) {
	.intro__grid {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	}
}

/* ---------- Arch collage ---------- */

.intro__media {
	position: relative;
	width: min(100%, 520px);
	margin-inline: auto;
	padding: 34px 16% 70px 0;
}

.intro__img {
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.intro__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--ease);
}

.intro__media:hover .intro__img img {
	transform: scale(1.04);
}

/* Main photo: a tall arch. */
.intro__img--main {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 5.2;
	border-radius: 999px 999px 28px 28px;
}

/* Gold outline arch, offset behind the photo. */
.intro__arch-line {
	position: absolute;
	top: 12px;
	left: 22px;
	right: calc(16% - 22px);
	bottom: 48px;
	border: 1.5px solid rgba(197, 146, 59, 0.55);
	border-radius: 999px 999px 32px 32px;
	pointer-events: none;
}

/* Singing-bowl photo: a floating circle. */
.intro__img--small {
	position: absolute;
	right: 0;
	bottom: 18px;
	z-index: 2;
	width: 46%;
	aspect-ratio: 1;
	border: 8px solid var(--cream);
	border-radius: 50%;
	animation: introFloat 7s ease-in-out infinite;
}

@keyframes introFloat {
	50% { transform: translateY(-12px); }
}

/* Rotating seal with the logo. */
.intro__seal {
	position: absolute;
	top: 0;
	right: 4%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: var(--shadow);
}

.intro__seal-text {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: sealSpin 28s linear infinite;
}

.intro__seal-text text {
	fill: var(--coral-deep);
	font-family: var(--sans);
	font-size: 8.6px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.intro__seal-logo {
	width: 50px;
	height: 50px;
}

@keyframes sealSpin {
	to { transform: rotate(360deg); }
}

/* Founder card. */
.intro__founder {
	position: absolute;
	left: -18px;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 20px 10px 10px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: var(--shadow);
	line-height: 1.25;
}

.intro__founder-photo {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	border: 2px solid var(--lime);
}

.intro__founder small {
	display: block;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--moss);
}

.intro__founder strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.08rem;
	font-weight: 500;
	color: var(--ink);
}

.intro__founder em {
	font-size: 0.78rem;
	font-style: normal;
	color: var(--muted);
}

/* ---------- Text ---------- */

.intro__content .section-head {
	margin-bottom: 24px;
}

.intro__lead {
	font-size: clamp(1.05rem, 1rem + 0.25vw, 1.18rem);
	line-height: 1.75;
	color: var(--text);
}

/* "Shiv Tattva" pull-quote. */
.intro__quote {
	position: relative;
	margin: 28px 0 34px;
	padding: 22px 26px 22px 28px;
	border-radius: 0 var(--radius) var(--radius) 0;
	background: linear-gradient(90deg, rgba(227, 161, 63, 0.12), rgba(227, 161, 63, 0.02));
	box-shadow: inset 3px 0 0 var(--saffron);
}

.intro__quote-label {
	display: inline-block;
	margin-bottom: 6px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #a36d2a;
}

.intro__quote blockquote {
	margin: 0;
}

.intro__quote p {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.1rem, 1rem + 0.45vw, 1.32rem);
	font-style: italic;
	font-weight: 300;
	line-height: 1.5;
	color: var(--ink);
}

/* Numbered pillars. */
.pillars {
	display: grid;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.pillar {
	display: grid;
	grid-template-columns: 44px 44px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 18px 6px;
	border-bottom: 1px solid var(--line);
	transition: background-color 0.4s var(--ease), padding 0.4s var(--ease);
}

.pillar:hover {
	padding-left: 14px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), transparent);
}

.pillar__num {
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1;
	color: var(--sand-2);
	transition: color 0.4s;
	-webkit-text-stroke: 0.6px var(--muted);
}

.pillar:hover .pillar__num {
	color: var(--coral);
	-webkit-text-stroke: 0;
}

.pillar__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: var(--shadow-sm);
	color: var(--coral-deep);
	transition: background-color 0.4s, color 0.4s;
}

.pillar:hover .pillar__icon {
	background: var(--ink);
	color: var(--lime);
}

.pillar__icon .icon {
	width: 20px;
	height: 20px;
}

.pillar__text strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.16rem;
	font-weight: 500;
	color: var(--ink);
}

.pillar__text span {
	font-size: 0.93rem;
	color: var(--muted);
}

.intro__content .btn-row {
	align-items: center;
	gap: 22px;
}

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
	.intro__media {
		padding: 26px 12% 60px 0;
	}
	.intro__seal {
		width: 92px;
		height: 92px;
		right: 0;
	}
	.intro__seal-logo {
		width: 40px;
		height: 40px;
	}
	.intro__founder {
		left: 0;
		padding-right: 14px;
	}
	.intro__founder strong {
		font-size: 0.98rem;
	}
	.pillar {
		grid-template-columns: 34px 40px minmax(0, 1fr);
		gap: 12px;
	}
	.pillar__icon {
		width: 40px;
		height: 40px;
	}
}

/* ---------- Program paths (premium cards) ---------- */

.path-grid {
	display: grid;
	gap: clamp(20px, 2.4vw, 30px);
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.path-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.path-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.path-card {
	--path-accent: #c43b33;
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: 0 2px 6px rgba(15, 36, 29, 0.04), 0 18px 40px -26px rgba(15, 36, 29, 0.35);
	overflow: hidden;
	transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.path-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1px solid rgba(15, 36, 29, 0.07);
	pointer-events: none;
	transition: border-color 0.4s;
}

.path-card:hover {
	box-shadow: 0 30px 60px -28px rgba(15, 36, 29, 0.45);
}

.path-card:hover::after {
	border-color: color-mix(in srgb, var(--path-accent) 45%, transparent);
}

/* Category colours (same family as the program pages and menu). */
.path-card--wellness-programs { --path-accent: #4f7d2a; }
.path-card--yoga-trek { --path-accent: #2b6a8c; }
.path-card--healing-programs { --path-accent: #7a4fa3; }
.path-card--singing-bowl { --path-accent: #a0661c; }
.path-card--online-courses { --path-accent: #1d7a72; }

/* Photo */
.path-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.path-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}


.path-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 36, 29, 0.35) 0%, transparent 40%, rgba(15, 36, 29, 0.25) 100%);
}

.path-card__icon {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	transition: background-color 0.4s, border-color 0.4s;
}

.path-card:hover .path-card__icon {
	background: var(--path-accent);
	border-color: var(--path-accent);
}

.path-card__count {
	position: absolute;
	top: 20px;
	right: 16px;
	z-index: 1;
	padding: 6px 12px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Body */
.path-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 24px;
	border-top: 3px solid var(--path-accent);
}

.path-card__eyebrow {
	margin: 0 0 6px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--path-accent);
}

.path-card__title {
	margin: 0 0 16px;
	font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
	line-height: 1.12;
}

.path-card__title a {
	text-decoration: none;
}

.path-card__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	border-radius: 14px;
	background: color-mix(in srgb, var(--path-accent) 7%, var(--cream));
}

.path-card__facts li {
	padding: 12px 14px;
}

.path-card__facts li + li {
	border-left: 1px solid color-mix(in srgb, var(--path-accent) 18%, transparent);
}

.path-card__facts small {
	display: block;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.path-card__facts strong {
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--ink);
	white-space: nowrap;
}

/* Program preview */
.path-card__list {
	display: grid;
	flex: 1;
	align-content: start;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.path-card__list li + li {
	border-top: 1px dashed var(--line);
}

.path-card__list a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 2px;
	font-size: 0.9rem;
	color: var(--text);
	text-decoration: none;
	transition: color 0.25s, padding 0.3s var(--ease);
}

.path-card__list a:hover {
	padding-left: 8px;
	color: var(--path-accent);
}

.path-card__list span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.path-card__list em {
	flex: none;
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 700;
	color: var(--muted);
}

.path-card__more a {
	justify-content: flex-start;
	font-weight: 700;
	color: var(--path-accent);
}

/* Actions */
.path-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.path-card__actions .btn {
	width: 100%;
	min-height: 44px;
}

.path-card__actions .btn--outline {
	--btn-fg: var(--ink);
	border-color: var(--line);
}

.path-card__actions .btn--outline:hover {
	--btn-bg: var(--ink);
	--btn-fg: #fff;
	border-color: var(--ink);
}

/* ---------- Program path cards: a different hover effect for each ---------- */

/* 1 · Yoga Courses — 3D tilt that follows the mouse (pages/home.js) + a light sweep. */
/* The prefix outranks the scroll-in (.js .reveal) transform, so hover transforms apply. */
.paths .path-grid .path-card.is-visible {
	transition: transform 0.5s var(--ease), box-shadow 0.55s var(--ease), opacity 0.9s var(--ease);
}

.paths .path-grid .path-card--yoga-courses:hover {
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
	transition: transform 0.2s ease-out, box-shadow 0.55s var(--ease);
}

.path-card--yoga-courses .path-card__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 66%);
	transform: translateX(-120%);
	pointer-events: none;
}

.path-card--yoga-courses:hover .path-card__media::before {
	transform: translateX(120%);
	transition: transform 1.1s var(--ease);
}

.path-card--yoga-courses:hover .path-card__media img {
	transform: scale(1.05);
}

/* 2 · Yoga & Wellness — the card "breathes" with a slow green glow. */
.path-card--wellness-programs:hover {
	animation: pathBreathe 3.2s ease-in-out infinite;
}

.path-card--wellness-programs:hover .path-card__media img {
	transform: scale(1.1);
	transition-duration: 3s;
}

@keyframes pathBreathe {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 24px 50px -28px rgba(15, 36, 29, 0.45), 0 0 0 0 rgba(79, 125, 42, 0);
	}
	50% {
		transform: scale(1.02);
		box-shadow: 0 34px 64px -28px rgba(15, 36, 29, 0.5), 0 0 0 8px rgba(79, 125, 42, 0.14);
	}
}

/* 3 · Himalayan Yoga Trek — the photo pans upward, like climbing towards the peaks. */
.path-card--yoga-trek .path-card__media img {
	object-position: center 85%;
	transform: scale(1.12);
	transition: object-position 2.4s var(--ease), transform 2.4s var(--ease);
}

.paths .path-grid .path-card--yoga-trek:hover {
	transform: translateY(-10px);
}

.path-card--yoga-trek:hover .path-card__media img {
	object-position: center 15%;
	transform: scale(1.02);
}

/* 4 · Healing Programs — a glowing energy border circles the card. */
@property --path-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

.path-card--healing-programs::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	padding: 2px;
	border-radius: inherit;
	background: conic-gradient(from var(--path-angle), var(--path-accent), #f1a8d8, transparent 35%, transparent 60%, #d2b3f2, var(--path-accent));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s;
	animation: pathSpin 3s linear infinite paused;
}

.path-card--healing-programs:hover::before {
	opacity: 1;
	animation-play-state: running;
}

.paths .path-grid .path-card--healing-programs:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -26px rgba(122, 79, 163, 0.5);
}

.path-card--healing-programs:hover .path-card__media img {
	transform: scale(1.06);
	filter: saturate(1.15);
}

@keyframes pathSpin {
	to { --path-angle: 360deg; }
}

/* 5 · Singing Bowl Training — sound-wave ripples from the bowl icon. */
.path-card--singing-bowl .path-card__icon::before,
.path-card--singing-bowl .path-card__icon::after {
	content: "";
	position: absolute;
	inset: -1px;
	border: 2px solid #efc16f;
	border-radius: 14px;
	opacity: 0;
}

.path-card--singing-bowl:hover .path-card__icon::before {
	animation: pathRipple 1.8s ease-out infinite;
}

.path-card--singing-bowl:hover .path-card__icon::after {
	animation: pathRipple 1.8s ease-out 0.6s infinite;
}

@keyframes pathRipple {
	0% { transform: scale(1); opacity: 0.9; border-radius: 14px; }
	100% { transform: scale(3.2); opacity: 0; border-radius: 50%; }
}

/* The photo gently "settles", like a bowl coming to rest. */
.path-card--singing-bowl .path-card__media img {
	transform: scale(1.08);
}

.paths .path-grid .path-card--singing-bowl:hover {
	transform: translateY(-6px);
}

.path-card--singing-bowl:hover .path-card__media img {
	transform: scale(1);
	filter: sepia(0.15) saturate(1.1);
}

/* 6 · Online Courses — a colour screen slides up and the icon moves to the centre. */
.path-card--online-courses .path-card__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(0deg, rgba(29, 122, 114, 0.88), rgba(29, 122, 114, 0.55));
	transform: translateY(101%);
	transition: transform 0.6s var(--ease);
}

.path-card--online-courses:hover .path-card__media::before {
	transform: none;
}

.path-card--online-courses .path-card__icon {
	z-index: 2;
	transition: top 0.6s var(--ease), left 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s;
}

.path-card--online-courses:hover .path-card__icon {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1.6);
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.6);
}

.paths .path-grid .path-card--online-courses:hover {
	transform: translateY(-6px);
}

/* No motion for visitors who ask for less of it. */
@media (prefers-reduced-motion: reduce) {
	.paths .path-grid .path-card,
	.paths .path-grid .path-card:hover {
		transform: none !important;
		animation: none !important;
	}
	.path-card::before,
	.path-card__icon::before,
	.path-card__icon::after {
		animation: none !important;
	}
}

/* ---------- A day at the ashram ---------- */

.day__glow {
	position: absolute;
	top: -20%;
	right: -10%;
	width: 60vw;
	height: 60vw;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(159, 217, 79, 0.16), transparent 65%);
	pointer-events: none;
}

.day__grid {
	position: relative;
	display: grid;
	gap: 56px;
}

@media (min-width: 1000px) {
	.day__grid {
		grid-template-columns: 1fr 1fr;
		gap: 88px;
		align-items: start;
	}
	.day__intro {
		position: sticky;
		top: 160px;
	}
}

.day__photo img {
	width: 100%;
	border-radius: var(--radius-lg);
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.timeline {
	position: relative;
	display: grid;
	gap: 6px;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 94px;
	width: 1px;
	background: linear-gradient(var(--lime), rgba(159, 217, 79, 0.1));
}

.timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 32px;
	align-items: center;
	padding: 12px 18px 12px 0;
	border-radius: var(--radius-sm);
	transition: background-color 0.4s;
}

.timeline__item:hover {
	background: rgba(255, 255, 255, 0.05);
}

.timeline__item::before {
	content: "";
	position: absolute;
	left: 89px;
	width: 11px;
	height: 11px;
	border: 2px solid var(--lime);
	border-radius: 50%;
	background: var(--ink);
	transition: background-color 0.3s, transform 0.3s var(--ease);
}

.timeline__item:hover::before {
	background: var(--lime);
	transform: scale(1.3);
}

.timeline__time {
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--lime);
	text-align: right;
}

.timeline__text {
	font-family: var(--serif);
	font-size: 1.15rem;
	color: #fff;
}

/* ---------- Treks rail ---------- */

.treks {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.8);
	overflow: hidden;
	isolation: isolate;
}

.treks__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.22;
}

.treks__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.3);
}

.treks::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, var(--ink) 0%, rgba(15, 36, 29, 0.6) 50%, var(--ink) 100%);
}

.treks .section-title {
	color: #fff;
}

.treks .section-lead {
	color: rgba(255, 255, 255, 0.75);
}

.rail {
	display: flex;
	gap: 20px;
	padding: 4px max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))) 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
	scrollbar-width: none;
}

.rail::-webkit-scrollbar {
	display: none;
}

.trek-card {
	position: relative;
	display: flex;
	flex: 0 0 min(82vw, 360px);
	align-items: flex-end;
	aspect-ratio: 3 / 4.1;
	padding: 24px;
	border-radius: var(--radius-lg);
	color: #fff;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	scroll-snap-align: start;
}

.trek-card > img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}

.trek-card:hover > img {
	transform: scale(1.08);
}

.trek-card__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, transparent 30%, rgba(15, 36, 29, 0.92) 100%);
}

.trek-card__num {
	position: absolute;
	top: 18px;
	right: 22px;
	font-family: var(--serif);
	font-size: 2.8rem;
	font-weight: 300;
	line-height: 1;
	color: rgba(255, 255, 255, 0.7);
}

.trek-card__body {
	display: grid;
	gap: 6px;
	width: 100%;
}

.trek-card__duration {
	justify-self: start;
	padding: 5px 12px;
	border-radius: var(--pill);
	background: var(--lime);
	color: var(--ink);
	font-size: 0.75rem;
	font-weight: 800;
}

.trek-card__title {
	font-family: var(--serif);
	font-size: 1.55rem;
	line-height: 1.15;
}

.trek-card__loc {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.78);
}

.trek-card__loc .icon {
	width: 15px;
	height: 15px;
}

.trek-card__price {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-weight: 800;
	font-size: 1.1rem;
}

/* ---------- Healing ---------- */

.healing__grid {
	display: grid;
	gap: 24px;
}

@media (min-width: 1000px) {
	.healing__grid {
		grid-template-columns: 1.05fr 1fr;
	}
}

.healing__feature {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 540px;
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--radius-lg);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.healing__feature > img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}

.healing__feature:hover > img {
	transform: scale(1.05);
}

.healing__feature::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(15, 36, 29, 0.1) 20%, rgba(15, 36, 29, 0.92) 85%);
}

.healing__feature h3 {
	max-width: 20ch;
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
	color: #fff;
}

.mini-list {
	display: grid;
	gap: 8px;
	margin-top: 18px !important;
}

.mini-list a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	transition: background-color 0.3s, transform 0.3s var(--ease);
}

.mini-list a:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateX(4px);
}

.mini-list small {
	font-weight: 600;
	color: var(--lime);
}

.healing__side {
	display: grid;
	gap: 24px;
}

.healing__block {
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: var(--shadow-sm);
}

.healing__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.4rem;
}

.healing__heading .icon {
	color: var(--moss);
}

.retreat-list {
	display: grid;
	gap: 10px;
}

.retreat-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 16px;
	align-items: center;
	padding: 10px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: background-color 0.3s;
}

.retreat-item:hover {
	background: var(--sand);
}

.retreat-item img {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	object-fit: cover;
}

.retreat-item strong {
	display: block;
	color: var(--ink);
}

.retreat-item small {
	color: var(--muted);
}

.retreat-item__price {
	font-weight: 800;
	color: var(--coral-deep);
	white-space: nowrap;
}

/* ---------- Stay ---------- */

.stay__grid {
	display: grid;
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

@media (min-width: 1000px) {
	.stay__grid {
		grid-template-columns: 1.1fr 1fr;
	}
}

.feature-list {
	display: grid;
	gap: 26px;
}

@media (min-width: 640px) {
	.feature-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.feature__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 14px;
	border-radius: 16px;
	background: var(--ink);
	color: var(--lime);
}

.feature__title {
	font-size: 1.2rem;
	margin-bottom: 6px;
}

.feature p {
	margin: 0;
	font-size: 0.94rem;
	color: var(--muted);
}

.stay__media {
	position: relative;
	padding-bottom: 18%;
}

.stay__media img:first-child {
	width: 88%;
	aspect-ratio: 4 / 4.4;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.stay__media-small {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 52%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 8px solid var(--cream);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

/* Hero card: shared / private room prices. */
.hero-card__from {
	display: block;
	font-size: 0.7rem !important;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lime) !important;
}

.hero-card__rooms {
	display: block;
	margin-top: 2px;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
}
