/*
 * Homepage-only sections (PPI Frada.dc.html). Loaded only on is_front_page().
 */

/* Hero */
.pf-hero {
	position: relative;
	padding: 136px 24px 80px;
	overflow: hidden;
}

.pf-hero__glow-1 {
	position: absolute;
	top: -180px;
	left: 50%;
	transform: translateX(-50%);
	width: 900px;
	height: 560px;
	background: radial-gradient(ellipse at center, rgba(0, 166, 81, .28), rgba(0, 155, 77, .18) 38%, rgba(248, 251, 248, 0) 70%);
	filter: blur(20px);
	animation: ppiGlow 9s ease-in-out infinite;
	pointer-events: none;
}

.pf-hero__glow-2 {
	position: absolute;
	top: 120px;
	right: 8%;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(126, 217, 87, .22), rgba(248, 251, 248, 0) 70%);
	filter: blur(10px);
	animation: ppiFloat 11s ease-in-out infinite;
	pointer-events: none;
}

.pf-hero__inner {
	max-width: 920px;
	margin: 0 auto;
	position: relative;
	text-align: center;
}

.pf-hero__title {
	font-weight: 800;
	font-size: clamp(2.6rem, 6.6vw, 5.4rem);
	line-height: 1.02;
	letter-spacing: -.03em;
	color: var(--pf-ink);
}

.pf-hero__lead {
	max-width: 620px;
	margin: 30px auto 0;
	font-size: clamp(1.05rem, 1.4vw, 1.22rem);
	line-height: 1.65;
	color: var(--pf-muted);
	font-weight: 500;
}

.pf-hero__cta-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 38px;
	flex-wrap: wrap;
}

.pf-hero__media {
	max-width: 1080px;
	margin: 72px auto 0;
	position: relative;
}

.pf-hero__media-glow {
	position: absolute;
	inset: -1px;
	border-radius: 30px;
	opacity: .5;
	filter: blur(34px);
	transform: translateY(24px) scale(.95);
}

.pf-hero__media-frame {
	position: relative;
	border-radius: 28px;
	padding: 10px;
	box-shadow: 0 40px 90px -40px rgba(30, 30, 30, .5);
}

.pf-hero__media-inner {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 16 / 8;
	background: linear-gradient(135deg, #0a2a1a, #0e3826);
}

.pf-home-gallery,
.pf-home-gallery__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.pf-home-gallery {
	overflow: hidden;
	touch-action: pan-y;
}

.pf-home-gallery:focus {
	outline: none;
}

.pf-home-gallery:focus-visible {
	outline: 3px solid rgba(126, 217, 87, .95);
	outline-offset: -5px;
}

.pf-home-gallery__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity .65s ease;
}

.pf-home-gallery__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.pf-home-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.pf-home-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .58);
	border-radius: 50%;
	background: rgba(10, 42, 26, .68);
	box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .65);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s ease, transform .2s ease;
}

.pf-home-gallery__arrow:hover {
	background: rgba(0, 155, 77, .9);
}

.pf-home-gallery__arrow:focus-visible,
.pf-home-gallery__dot:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.pf-home-gallery__arrow--prev {
	left: 18px;
}

.pf-home-gallery__arrow--next {
	right: 18px;
}

.pf-home-gallery__dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(10, 42, 26, .52);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transform: translateX(-50%);
}

.pf-home-gallery__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .52);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.pf-home-gallery__dot.is-active {
	background: #fff;
	transform: scale(1.25);
}

@media (max-width: 600px) {
	.pf-home-gallery__arrow {
		width: 44px;
		height: 44px;
	}

	.pf-home-gallery__arrow--prev {
		left: 10px;
	}

	.pf-home-gallery__arrow--next {
		right: 10px;
	}

	.pf-home-gallery__dots {
		top: 12px;
		right: 12px;
		bottom: auto;
		left: auto;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pf-home-gallery__slide,
	.pf-home-gallery__arrow,
	.pf-home-gallery__dot {
		transition: none;
	}
}

@media (max-width: 600px) {
	.pf-hero__cta-row a {
		justify-content: center;
	}
}

/* Generic section spacing used across the homepage */
.pf-section {
	padding: 30px 24px 100px;
}

/* Fritter portal CTA */
.pf-fritter {
	padding: 60px 24px 100px;
}

.pf-fritter__card {
	position: relative;
	border-radius: var(--pf-radius-xl);
	overflow: hidden;
	background: var(--pf-green-deepest);
	padding: clamp(36px, 5vw, 68px);
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 40px;
	align-items: center;
}

.pf-fritter__card--coming-soon {
	filter: saturate(.86);
}

.pf-fritter__status {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	margin-bottom: 16px;
	border: 1px solid rgba(126, 217, 87, .28);
	border-radius: 999px;
	background: rgba(126, 217, 87, .12);
	color: #d9ffc9;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
}

.pf-fritter__button--disabled {
	cursor: default;
	opacity: .68;
	filter: saturate(.65);
	pointer-events: none;
}

.pf-fritter__button--disabled:hover {
	transform: none;
}

.pf-fritter__glow-1 {
	position: absolute;
	top: -120px;
	right: -60px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	opacity: .5;
	filter: blur(70px);
}

.pf-fritter__glow-2 {
	position: absolute;
	bottom: -90px;
	left: 30%;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(126, 217, 87, .3), transparent 70%);
	filter: blur(30px);
}

.pf-fritter__content {
	position: relative;
}

.pf-fritter__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--pf-green-accent);
	margin-bottom: 18px;
}

.pf-fritter__title {
	font-weight: 700;
	font-size: clamp(1.9rem, 3.4vw, 2.9rem);
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #fff;
}

.pf-fritter__text {
	margin-top: 18px;
	max-width: 520px;
	font-size: clamp(1rem, 1.2vw, 1.12rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, .72);
	font-weight: 500;
}

.pf-fritter__media {
	position: relative;
	display: flex;
	justify-content: center;
}

.pf-fritter__icon-wrap {
	position: relative;
	width: 210px;
	height: 210px;
	border-radius: 28px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: ppiFloat 7s ease-in-out infinite;
}

.pf-fritter__icon-wrap img {
	width: 140px;
	height: 140px;
	object-fit: contain;
}

@media (max-width: 880px) {
	.pf-fritter__card {
		grid-template-columns: 1fr;
	}
}

/* Events */
.pf-events__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 46px;
}

.pf-events__heading {
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 1.04;
	letter-spacing: -.02em;
	color: var(--pf-ink);
}

.pf-events__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 24px;
}

.pf-events__feature {
	position: relative;
	border-radius: var(--pf-radius-lg);
	overflow: hidden;
	text-decoration: none;
	background: #fff;
	border: 1px solid rgba(30, 30, 30, .06);
	box-shadow: 0 1px 2px rgba(30, 30, 30, .04), 0 30px 60px -38px rgba(30, 30, 30, .4);
	display: flex;
	flex-direction: column;
	transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s;
}

.pf-events__feature:hover {
	transform: translateY(-6px);
	box-shadow: 0 40px 80px -34px rgba(30, 30, 30, .5);
}

.pf-events__feature-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #0a2a1a;
}

.pf-events__feature-tag {
	position: absolute;
	top: 18px;
	left: 18px;
	padding: 7px 14px;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}

.pf-events__feature-body {
	padding: 30px 30px 32px;
}

.pf-events__feature-date {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	font-weight: 700;
	color: #009B4D;
	margin-bottom: 12px;
}

.pf-events__feature-title {
	font-weight: 700;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	letter-spacing: -.02em;
	color: var(--pf-ink);
}

.pf-events__feature-excerpt {
	margin-top: 12px;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--pf-muted);
	font-weight: 500;
}

.pf-events__feature-link {
	margin-top: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 15px;
	color: var(--pf-ink);
}

.pf-events__side {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.pf-events__compact {
	display: flex;
	flex: 0 0 174px;
	height: 174px;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--pf-radius-lg);
	background: #fff;
	border: 1px solid rgba(30, 30, 30, .06);
	box-shadow: 0 1px 2px rgba(30, 30, 30, .04), 0 22px 45px -38px rgba(30, 30, 30, .35);
	text-decoration: none;
	transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
}

.pf-events__compact:hover {
	transform: translateY(-3px);
	box-shadow: 0 26px 52px -38px rgba(30, 30, 30, .42);
}

.pf-events__side > .pf-events__compact:first-child {
	flex: 1 1 260px;
	height: auto;
	min-height: 260px;
	flex-direction: column;
}

.pf-events__side > .pf-events__compact:first-child .pf-events__compact-media {
	flex: 1 1 170px;
	width: 100%;
	min-height: 170px;
}

.pf-events__side > .pf-events__compact:first-child .pf-events__compact-body {
	flex: 0 0 auto;
	min-height: 174px;
	padding: 20px 22px 19px;
}

.pf-events__side > .pf-events__compact:first-child .pf-events__compact-date {
	margin-bottom: 8px;
	font-size: 12.5px;
}

.pf-events__side > .pf-events__compact:first-child .pf-events__compact-title {
	font-size: 1.3rem;
	line-height: 1.2;
}

.pf-events__side > .pf-events__compact:first-child .pf-events__compact-excerpt {
	-webkit-line-clamp: 3;
	margin-top: 8px;
	font-size: .9rem;
	line-height: 1.48;
}

.pf-events__side > .pf-events__compact:first-child .pf-events__compact-link {
	margin-top: 14px;
	font-size: 13.5px;
}

.pf-events__compact-media {
	flex: 0 0 132px;
	min-width: 0;
	overflow: hidden;
	background: #0a2a1a;
}

.pf-events__compact-media img,
.pf-events__compact-media .pf-image-slot {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pf-events__compact-body {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	padding: 16px 18px 15px;
}

.pf-events__compact-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 11.5px;
	font-weight: 700;
	color: #009B4D;
}

.pf-events__compact-title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-weight: 700;
	font-size: 1.08rem;
	line-height: 1.18;
	letter-spacing: -.015em;
	color: var(--pf-ink);
}

.pf-events__compact-excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin-top: 6px;
	font-size: .82rem;
	line-height: 1.4;
	color: var(--pf-muted);
	font-weight: 500;
}

.pf-events__compact-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	font-size: 12.5px;
	font-weight: 700;
	color: #009B4D;
}

.pf-events__archive {
	position: relative;
	flex: 0 0 auto;
	border-radius: var(--pf-radius-lg);
	padding: 18px 20px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}

.pf-events__archive:hover {
	transform: translateY(-6px);
}

.pf-events__archive {
	background: #fff;
	border: 1px solid rgba(30, 30, 30, .06);
	box-shadow: 0 1px 2px rgba(30, 30, 30, .04), 0 30px 60px -42px rgba(30, 30, 30, .35);
}

.pf-events__archive > div {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 14px;
	min-width: 0;
}

.pf-events__archive-icon {
	grid-row: 1 / 3;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: rgba(0, 155, 77, .08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.pf-events__archive-title {
	font-weight: 700;
	font-size: 1.08rem;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--pf-ink);
}

.pf-events__archive-text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin-top: 3px;
	font-size: .8rem;
	line-height: 1.4;
	color: var(--pf-muted);
	font-weight: 500;
}

.pf-events__archive-link {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 13px;
	color: #009B4D;
	white-space: nowrap;
}

.pf-events__empty {
	border-radius: var(--pf-radius-lg);
	border: 1px dashed rgba(0, 122, 61, .35);
	background: linear-gradient(135deg, rgba(0, 122, 61, .06), rgba(0, 166, 81, .1));
	padding: 48px 30px;
	text-align: center;
	color: var(--pf-muted);
	font-weight: 600;
}

@media (max-width: 880px) {
	.pf-events__grid {
		grid-template-columns: 1fr;
	}

	.pf-events__compact {
		flex: 0 0 auto;
		height: auto;
		min-height: 168px;
	}

	.pf-events__side > .pf-events__compact:first-child {
		flex: 0 0 auto;
		height: auto;
		min-height: 0;
	}

	.pf-events__side > .pf-events__compact:first-child .pf-events__compact-media {
		flex: 0 0 auto;
		min-height: 0;
		aspect-ratio: 16 / 7;
	}

	.pf-events__side > .pf-events__compact:first-child .pf-events__compact-body {
		min-height: 0;
	}
}

@media (max-width: 600px) {
	.pf-events__compact {
		min-height: 176px;
	}

	.pf-events__compact-media {
		flex-basis: 110px;
	}

	.pf-events__compact-body {
		padding: 15px 14px 14px;
	}

	.pf-events__side > .pf-events__compact:first-child .pf-events__compact-media {
		aspect-ratio: 16 / 8;
	}

	.pf-events__archive {
		align-items: flex-start;
		padding: 16px;
		gap: 12px;
	}

	.pf-events__archive > div {
		grid-template-columns: 40px minmax(0, 1fr);
		column-gap: 11px;
	}

	.pf-events__archive-icon {
		width: 40px;
		height: 40px;
	}

	.pf-events__archive-link {
		padding-top: 2px;
		font-size: 12px;
	}
}

/* Podcast */
.pf-podcast__card {
	border-radius: var(--pf-radius-xl);
	background: #fff;
	border: 1px solid rgba(30, 30, 30, .06);
	box-shadow: 0 1px 2px rgba(30, 30, 30, .04), 0 30px 70px -45px rgba(30, 30, 30, .4);
	padding: clamp(28px, 4vw, 52px);
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 44px;
	align-items: center;
}

.pf-podcast__title {
	font-weight: 700;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	line-height: 1.08;
	letter-spacing: -.02em;
	color: var(--pf-ink);
}

.pf-podcast__text {
	margin-top: 16px;
	font-size: 1.06rem;
	line-height: 1.7;
	color: var(--pf-muted);
	font-weight: 500;
}

.pf-podcast__embed-wrap {
	position: relative;
}

.pf-podcast__embed-glow {
	position: absolute;
	inset: -6px;
	border-radius: 24px;
	opacity: .35;
	filter: blur(28px);
}

.pf-podcast__embed-wrap iframe {
	position: relative;
	border-radius: 20px;
	width: 100%;
	height: 351px;
	border: 0;
	box-shadow: 0 24px 50px -28px rgba(30, 30, 30, .5);
}

@media (max-width: 880px) {
	.pf-podcast__card {
		grid-template-columns: 1fr;
	}
}

/* Merch teaser */
.pf-merch__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 56px;
	align-items: center;
}

.pf-merch__title {
	font-weight: 700;
	font-size: clamp(2rem, 3.8vw, 3rem);
	line-height: 1.05;
	letter-spacing: -.02em;
	color: var(--pf-ink);
}

.pf-merch__text {
	margin-top: 18px;
	max-width: 460px;
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--pf-muted);
	font-weight: 500;
}

.pf-merch__cta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.pf-merch__collage {
	position: relative;
	height: 440px;
}

.pf-merch__collage-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 340px;
	height: 340px;
	border-radius: 50%;
	opacity: .22;
	filter: blur(50px);
}

.pf-merch__photo {
	position: absolute;
	width: 54%;
	border-radius: 24px;
	padding: 8px;
	background: #fff;
	border: 1px solid rgba(30, 30, 30, .07);
	box-shadow: 0 30px 60px -30px rgba(30, 30, 30, .5);
	transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.pf-merch__photo-inner {
	border-radius: 17px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.pf-merch__photo--1 {
	top: 10px;
	left: 6%;
	transform: rotate(-5deg);
}

.pf-merch__photo--1:hover {
	transform: rotate(-2deg) translateY(-6px);
}

.pf-merch__photo--1 .pf-merch__photo-inner {
	background: linear-gradient(135deg, #0a2a1a, #10402b);
}

.pf-merch__photo--2 {
	bottom: 0;
	right: 5%;
	width: 50%;
	transform: rotate(5deg);
}

.pf-merch__photo--2:hover {
	transform: rotate(2deg) translateY(-6px);
}

.pf-merch__photo--2 .pf-merch__photo-inner {
	background: linear-gradient(135deg, #1f1a08, #4a3a12);
}

@media (max-width: 880px) {
	.pf-merch__grid {
		grid-template-columns: 1fr;
	}

	.pf-merch__collage {
		height: 320px;
	}
}

/* Closing CTA */
.pf-closing__card {
	position: relative;
	overflow: hidden;
	border-radius: 34px;
	padding: clamp(44px, 6vw, 84px) clamp(28px, 5vw, 72px);
	text-align: center;
}

.pf-closing__glow-1 {
	position: absolute;
	top: -100px;
	left: -60px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(126, 217, 87, .5), transparent 70%);
	filter: blur(40px);
}

.pf-closing__glow-2 {
	position: absolute;
	bottom: -120px;
	right: -40px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 70%);
	filter: blur(40px);
}

.pf-closing__content {
	position: relative;
}

.pf-closing__title {
	font-weight: 800;
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
	line-height: 1.04;
	letter-spacing: -.025em;
	color: #fff;
	max-width: 760px;
	margin: 0 auto;
}

.pf-closing__text {
	margin: 22px auto 0;
	max-width: 540px;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, .85);
	font-weight: 500;
}

.pf-closing__cta-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 38px;
	flex-wrap: wrap;
}

.pf-closing__social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 42px;
}

.pf-closing__social a {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .3);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .2s;
}

.pf-closing__social a:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, .26);
}

@media (max-width: 600px) {
	.pf-closing__cta-row a,
	.pf-hero__cta-row a {
		justify-content: center;
	}
}
