/*
 * Base: reset, elements, layout primitives, header, nav, footer.
 * Component and template styles live in components/ and templates/.
 */

/* ---------- Reset ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 1ms !important;
	}
}

body {
	margin: 0;
	background: var(--c-body-bg);
	color: var(--c-body-text);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
}

body.is-locked {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--sp-4);
	font-family: var(--font-display);
	font-weight: 500;
	line-height: var(--lh-heading);
	letter-spacing: var(--tracking-tight);
	text-wrap: balance;
}

h1 {
	font-size: var(--fs-h1);
}

h2 {
	font-size: var(--fs-h2);
}

h3 {
	font-size: var(--fs-h3);
}

h4,
h5,
h6 {
	font-size: var(--fs-lead);
}

p,
ul,
ol,
dl,
blockquote,
figure,
table {
	margin: 0 0 var(--sp-4);
}

p {
	text-wrap: pretty;
}

:where(p, li):last-child {
	margin-bottom: 0;
}

a {
	color: var(--c-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--dur-fast) var(--ease);
}

a:hover,
a:focus-visible {
	color: var(--c-link-hover);
}

img,
picture,
video,
canvas,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img,
video {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

hr {
	height: 1px;
	margin: var(--sp-6) 0;
	border: 0;
	background: var(--c-rule);
}

code,
kbd,
pre,
samp {
	font-family: var(--font-mono);
	font-size: 0.9em;
}

:focus-visible {
	outline: 2px solid var(--c-secondary);
	outline-offset: 3px;
}

/* ---------- Accessibility ---------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip-path: inset(50%);
	white-space: nowrap;
}

.wpx-skip-link {
	position: absolute;
	top: 0;
	left: var(--sp-4);
	z-index: var(--z-overlay);
	padding: var(--sp-3) var(--sp-4);
	background: var(--c-secondary);
	color: var(--c-white);
	text-decoration: none;
	transform: translateY(-150%);
	transition: transform var(--dur-fast) var(--ease);
}

.wpx-skip-link:focus {
	color: var(--c-white);
	transform: translateY(0);
}

/* ---------- Layout ---------- */

.wpx-container {
	width: 100%;
	max-width: var(--w-content);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wpx-container--wide {
	max-width: var(--w-wide);
}

.wpx-container--prose {
	max-width: var(--w-prose);
}

.wpx-section {
	padding-block: var(--section-y);
}

.wpx-section--flush {
	padding-block: 0;
}

.wpx-grid {
	display: grid;
	gap: var(--gutter);
}

@media (width >= 48rem) {
	.wpx-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.wpx-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.wpx-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (width >= 64rem) {
	.wpx-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ---------- Buttons ---------- */

.wpx-button {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-5);
	border: 1px solid var(--c-secondary);
	background: var(--c-secondary);
	color: var(--c-white);
	font-family: var(--font-display);
	font-size: var(--fs-sm);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	text-decoration: none;
	transition:
		background-color var(--dur-fast) var(--ease),
		color var(--dur-fast) var(--ease);
}

.wpx-button:hover,
.wpx-button:focus-visible {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: var(--c-white);
}

.wpx-button--ghost {
	background: transparent;
	color: var(--c-secondary);
}

.wpx-button--ghost:hover,
.wpx-button--ghost:focus-visible {
	background: var(--c-secondary);
	color: var(--c-white);
}

.wpx-button--light {
	border-color: var(--c-white);
	background: transparent;
	color: var(--c-white);
}

.wpx-button--gold {
	border-color: var(--c-gold);
	background: var(--c-gold);
	color: var(--c-nav);
}

.wpx-button--gold:hover,
.wpx-button--gold:focus-visible {
	background: var(--c-white);
	border-color: var(--c-white);
	color: var(--c-nav);
}

.wpx-button--donate {
	min-height: 3.5rem;
	padding: 1rem 1.75rem;
	border-color: var(--c-sunrise);
	background: var(--c-sunrise);
	color: var(--c-nav);
	font-size: var(--fs-body);
	font-weight: 700;
}

.wpx-button--donate:hover,
.wpx-button--donate:focus-visible {
	background: var(--c-lt-gold);
	border-color: var(--c-lt-gold);
	color: var(--c-nav);
}

.wpx-button--pine:hover,
.wpx-button--pine:focus-visible,
.wpx-featured-films .wpx-button:hover,
.wpx-featured-films .wpx-button:focus-visible {
	background: var(--c-pine);
	border-color: var(--c-pine);
	color: var(--c-white);
}

/* ---------- Header ---------- */

.wpx-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: var(--c-nav);
	color: var(--c-white);
	transform: translateY(0);
	transition:
		transform var(--dur) var(--ease),
		box-shadow var(--dur) var(--ease);
}

.wpx-header.is-concealed {
	transform: translateY(-100%);
	box-shadow: none;
}

.wpx-header.is-stuck:not(.is-concealed) {
	box-shadow: var(--shadow-1);
}

.wpx-header__title a {
	color: inherit;
	text-decoration: none;
}

.wpx-header__nav .wpx-nav__link--depth-0,
.wpx-header__nav .wpx-nav__toggle {
	color: var(--c-white);
}

.wpx-header__nav .wpx-nav__link--depth-0:hover,
.wpx-header__nav .wpx-nav__link--depth-0:focus-visible,
.wpx-header__nav .is-current > .wpx-nav__link--depth-0 {
	color: var(--c-sunrise);
}

.wpx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	min-height: 4.5rem;
}

.wpx-header__end {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	margin-left: auto;
}

.wpx-header__brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.wpx-header__brand img {
	width: auto;
	max-height: 2.5rem;
}

.wpx-header__title {
	margin: 0;
	font-size: var(--fs-h3);
}

/* ---------- Navigation ---------- */

.wpx-nav__list {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpx-nav__item {
	position: relative;
}

.wpx-nav__link {
	display: inline-block;
	padding-block: var(--sp-2);
	color: var(--c-text);
	font-family: var(--font-display);
	font-size: var(--fs-sm);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	text-decoration: none;
}

.wpx-nav__link:hover,
.wpx-nav__link:focus-visible,
.is-current > .wpx-nav__link {
	color: var(--c-primary);
}

.wpx-nav__toggle {
	display: inline-grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	background: none;
	vertical-align: middle;
}

.wpx-nav__chevron {
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1.5px solid currentcolor;
	border-bottom: 1.5px solid currentcolor;
	transform: rotate(45deg);
	transition: transform var(--dur-fast) var(--ease);
}

[aria-expanded='true'] .wpx-nav__chevron {
	transform: rotate(-135deg);
}

.wpx-nav__panel,
.wpx-nav__sublist {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Desktop mega panel */
@media (width >= 64rem) {
	.wpx-nav__list--desktop > .wpx-nav__item > .wpx-nav__panel {
		position: absolute;
		top: 100%;
		left: 50%;
		display: grid;
		grid-auto-flow: column;
		gap: var(--sp-7);
		min-width: max-content;
		padding: var(--sp-6);
		background: var(--c-nav);
		color: var(--c-white);
		box-shadow: var(--shadow-1);
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, -0.5rem);
		transition:
			opacity var(--dur-fast) var(--ease),
			transform var(--dur-fast) var(--ease),
			visibility var(--dur-fast);
	}

	.wpx-nav__list--desktop > .wpx-nav__item.is-open > .wpx-nav__panel {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}

	/*
	 * A panel centred on an item near the right edge runs past the viewport and
	 * widens the document, so the last two align to their item's right edge
	 * instead. Revisit if the top level grows past three items.
	 */
	.wpx-nav__list--desktop > .wpx-nav__item:nth-last-child(-n + 2) > .wpx-nav__panel {
		left: auto;
		right: 0;
		transform: translate(0, -0.5rem);
	}

	.wpx-nav__list--desktop > .wpx-nav__item:nth-last-child(-n + 2).is-open > .wpx-nav__panel {
		transform: translate(0, 0);
	}

	.wpx-nav__sublist {
		display: grid;
		gap: var(--sp-2);
		margin-top: var(--sp-3);
	}

	.wpx-nav__list--desktop .wpx-nav__link--depth-1 {
		color: var(--c-white);
		font-size: var(--fs-body);
		text-transform: none;
	}

	.wpx-nav__list--desktop .wpx-nav__link--depth-2 {
		color: rgb(255 255 255 / 72%);
		font-family: var(--font-body);
		font-size: var(--fs-sm);
		letter-spacing: normal;
		text-transform: none;
	}

	.wpx-nav__list--desktop .wpx-nav__link--depth-1:hover,
	.wpx-nav__list--desktop .wpx-nav__link--depth-1:focus-visible,
	.wpx-nav__list--desktop .is-current > .wpx-nav__link--depth-1,
	.wpx-nav__list--desktop .wpx-nav__link--depth-2:hover,
	.wpx-nav__list--desktop .wpx-nav__link--depth-2:focus-visible,
	.wpx-nav__list--desktop .is-current > .wpx-nav__link--depth-2 {
		color: var(--c-sunrise);
	}

	/* Nested toggles are for the mobile accordion only. */
	.wpx-nav__list--desktop .wpx-nav__item--depth-1 > .wpx-nav__toggle,
	.wpx-nav__list--desktop .wpx-nav__item--depth-2 > .wpx-nav__toggle {
		display: none;
	}
}

/* ---------- Menu panel (hamburger) ---------- */

.wpx-header__burger {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.wpx-header__burger span {
	display: block;
	width: 1.25rem;
	height: 2px;
	background: currentcolor;
	transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.wpx-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: var(--z-panel);
	pointer-events: none;
	visibility: hidden;
}

.wpx-mobile-nav.is-open {
	pointer-events: auto;
	visibility: visible;
}

.wpx-mobile-nav__backdrop {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgb(0 0 0 / 45%);
	opacity: 0;
	cursor: pointer;
	transition: opacity var(--dur) var(--ease);
}

.wpx-mobile-nav.is-open .wpx-mobile-nav__backdrop {
	opacity: 1;
}

.wpx-mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: grid;
	align-content: start;
	gap: var(--sp-6);
	width: min(26rem, 92vw);
	padding: calc(var(--sp-8) + 0.5rem) var(--sp-6) var(--sp-6);
	overflow-y: auto;
	background-color: var(--c-menu);
	background-image: var(--wpx-menu-bg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--c-white);
	transform: translateX(100%);
	transition: transform var(--dur) var(--ease);
}

.wpx-mobile-nav.is-open .wpx-mobile-nav__panel {
	transform: translateX(0);
}

.wpx-mobile-nav .wpx-nav__list {
	flex-direction: column;
	align-items: stretch;
	gap: var(--sp-5);
}

.wpx-mobile-nav .wpx-nav__item--depth-0 {
	display: grid;
	gap: 0.375rem;
}

.wpx-mobile-nav .wpx-nav__item--depth-1 {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: var(--sp-3);
}

.wpx-mobile-nav .wpx-nav__link {
	padding-block: var(--sp-1);
	line-height: 1.2;
}

.wpx-mobile-nav .wpx-nav__link,
.wpx-mobile-nav .wpx-nav__toggle,
.wpx-mobile-nav__close {
	color: var(--c-white);
}

.wpx-mobile-nav .wpx-nav__link:hover,
.wpx-mobile-nav .wpx-nav__link:focus-visible,
.wpx-mobile-nav .is-current > .wpx-nav__link {
	color: var(--c-sunrise);
}

.wpx-mobile-nav .wpx-nav__link--depth-0 {
	font-family: var(--font-display);
	font-size: calc(var(--fs-h2) * 0.5);
	letter-spacing: var(--tracking-wide);
	text-transform: none;
	color: var(--c-lt-green);
}

.wpx-mobile-nav .wpx-nav__link--depth-0:hover,
.wpx-mobile-nav .wpx-nav__link--depth-0:focus-visible,
.wpx-mobile-nav .is-current > .wpx-nav__link--depth-0 {
	color: var(--c-sunrise);
}

.wpx-mobile-nav .wpx-nav__link--depth-1 {
	font-size: var(--fs-body);
	text-transform: none;
}

.wpx-mobile-nav .wpx-nav__link--depth-2 {
	font-family: var(--font-body);
	font-size: var(--fs-xs);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: rgb(255 255 255 / 88%);
}

/* Top-level sections stay open; depth-1 folders accordion. */
.wpx-mobile-nav .wpx-nav__item--depth-0 > .wpx-nav__toggle {
	display: none;
}

.wpx-mobile-nav .wpx-nav__item--depth-0 > .wpx-nav__panel {
	display: grid;
	gap: var(--sp-1);
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpx-mobile-nav .wpx-nav__sublist {
	display: none;
	grid-column: 1 / -1;
	gap: var(--sp-1);
	margin: 0;
	padding: var(--sp-1) 0 var(--sp-1) var(--sp-4);
	list-style: none;
}

.wpx-mobile-nav .wpx-nav__item.is-open > .wpx-nav__sublist {
	display: grid;
}

.wpx-mobile-nav__close {
	position: absolute;
	top: var(--sp-4);
	right: var(--sp-4);
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	background: none;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.wpx-mobile-nav .mc4wp-form .wpx-newsletter-row {
	margin-top: 0;
}

.wpx-mobile-nav .mc4wp-form input[type='email'] {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgb(255 255 255 / 35%);
	background: rgb(0 0 0 / 28%);
	color: var(--c-white);
}

.wpx-mobile-nav .mc4wp-form input[type='email']::placeholder {
	color: rgb(255 255 255 / 70%);
}

.wpx-mobile-nav .mc4wp-form input[type='submit'],
.wpx-mobile-nav .mc4wp-form button[type='submit'] {
	min-height: 2.75rem;
	margin-top: var(--sp-2);
	padding: 0.65rem 1.1rem;
	border: 0;
	background: var(--c-sunrise);
	color: var(--c-nav);
	font-weight: 600;
	cursor: pointer;
}

.wpx-mobile-nav .mc4wp-form .wpx-newsletter-row button[type='submit'] {
	margin-top: 0;
	border: 1px solid rgb(255 255 255 / 35%);
	border-left: 0;
	background: rgb(0 0 0 / 28%);
	color: var(--c-white);
	font-weight: 400;
}

@media (width < 64rem) {
	.wpx-header__nav {
		display: none;
	}
}

/* Desktop: top three links only; full tree lives in the hamburger panel. */
@media (width >= 64rem) {
	.wpx-header__nav .wpx-nav__toggle,
	.wpx-header__nav .wpx-nav__panel {
		display: none;
	}
}

/* ---------- Footer ---------- */

.wpx-footer {
	position: relative;
	isolation: isolate;
	padding-block: clamp(3.5rem, 6vw, 5.5rem) var(--sp-8);
	background-color: var(--c-menu);
	background-image: var(--wpx-footer-bg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--c-white);
}

.wpx-footer a {
	color: var(--c-white);
	text-decoration: none;
}

.wpx-footer a:hover,
.wpx-footer a:focus-visible {
	color: var(--c-sunrise);
	text-decoration: none;
}

.wpx-footer__grid {
	display: grid;
	gap: var(--sp-8) var(--gutter);
	align-items: start;
}

@media (width >= 56rem) {
	.wpx-footer__grid {
		grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.4fr);
		column-gap: clamp(2rem, 6vw, 6rem);
	}
}

.wpx-footer__brand-col {
	display: grid;
	gap: var(--sp-7);
	align-content: start;
}

.wpx-footer__donate {
	margin: 0;
}

.wpx-footer__donate a {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: 400;
	line-height: 1.2;
	color: var(--c-sunrise);
}

.wpx-footer__donate a:hover,
.wpx-footer__donate a:focus-visible {
	color: var(--c-white);
}

.wpx-footer__donate-arrow {
	transition: transform var(--dur) var(--ease);
}

.wpx-footer__donate a:hover .wpx-footer__donate-arrow {
	transform: translateX(0.2em);
}

.wpx-footer__social-label {
	margin: 0 0 var(--sp-3);
	font-family: var(--font-display);
	font-size: var(--fs-sm);
	font-weight: 400;
	color: var(--c-white);
}

.wpx-footer__social-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpx-footer__social-list a {
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	color: var(--c-white);
}

.wpx-footer__social-icon {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	background-color: currentcolor;
	mask: no-repeat center / contain;
	-webkit-mask: no-repeat center / contain;
}

.wpx-footer__social-icon--instagram {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 3.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 0 1 12 7.5zm0 2A2.5 2.5 0 1 0 14.5 12 2.5 2.5 0 0 0 12 9.5zM17.5 6.75a1.25 1.25 0 1 1-1.25 1.25 1.25 1.25 0 0 1 1.25-1.25z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 3.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 0 1 12 7.5zm0 2A2.5 2.5 0 1 0 14.5 12 2.5 2.5 0 0 0 12 9.5zM17.5 6.75a1.25 1.25 0 1 1-1.25 1.25 1.25 1.25 0 0 1 1.25-1.25z'/%3E%3C/svg%3E");
}

.wpx-footer__social-icon--vimeo {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22.2 7.1c-.1 2.3-1.7 5.5-4.8 9.5-3.2 4.2-5.9 6.3-8.1 6.3-1.4 0-2.5-1.3-3.5-3.8L4.2 13c-.7-2.5-1.5-3.8-2.3-3.8-.2 0-.8.4-1.9 1.1L0 8.9c1.2-1.1 2.5-2.1 3.7-3.1 1.7-1.4 3-2.2 3.8-2.2 1.9-.2 3.1 1.1 3.5 3.9.5 3 1.2 4.8 1.6 5.5.7 1.5 1.4 2.2 1.9 2.2.6 0 1.5-.9 2.7-2.7 1.2-1.8 1.8-3.2 1.9-4.1.1-1.5-.4-2.3-1.7-2.3-.6 0-1.2.1-1.9.4 1.2-4.1 3.6-6 7.1-5.8 2.6.2 3.8 1.8 3.6 4.8z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22.2 7.1c-.1 2.3-1.7 5.5-4.8 9.5-3.2 4.2-5.9 6.3-8.1 6.3-1.4 0-2.5-1.3-3.5-3.8L4.2 13c-.7-2.5-1.5-3.8-2.3-3.8-.2 0-.8.4-1.9 1.1L0 8.9c1.2-1.1 2.5-2.1 3.7-3.1 1.7-1.4 3-2.2 3.8-2.2 1.9-.2 3.1 1.1 3.5 3.9.5 3 1.2 4.8 1.6 5.5.7 1.5 1.4 2.2 1.9 2.2.6 0 1.5-.9 2.7-2.7 1.2-1.8 1.8-3.2 1.9-4.1.1-1.5-.4-2.3-1.7-2.3-.6 0-1.2.1-1.9.4 1.2-4.1 3.6-6 7.1-5.8 2.6.2 3.8 1.8 3.6 4.8z'/%3E%3C/svg%3E");
}

.wpx-footer__social-icon--youtube {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8zM9.75 15.5v-7l6.5 3.5-6.5 3.5z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8zM9.75 15.5v-7l6.5 3.5-6.5 3.5z'/%3E%3C/svg%3E");
}

.wpx-footer__social-icon--facebook {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 8h3V4h-3c-2.8 0-5 2.2-5 5v2H6v4h3v8h4v-8h3.1l.9-4H13V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 8h3V4h-3c-2.8 0-5 2.2-5 5v2H6v4h3v8h4v-8h3.1l.9-4H13V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
}

.wpx-footer__social-icon--linkedin {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.5 21H3V8.5h3.5V21zM4.7 6.9A2.1 2.1 0 1 1 4.7 2.7a2.1 2.1 0 0 1 0 4.2zM21 21h-3.5v-6.1c0-1.5-.5-2.5-1.8-2.5-1 0-1.5.7-1.8 1.3-.1.2-.1.6-.1.9V21H10V8.5h3.4v1.7c.5-.7 1.3-1.8 3.3-1.8 2.4 0 4.3 1.6 4.3 5V21z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.5 21H3V8.5h3.5V21zM4.7 6.9A2.1 2.1 0 1 1 4.7 2.7a2.1 2.1 0 0 1 0 4.2zM21 21h-3.5v-6.1c0-1.5-.5-2.5-1.8-2.5-1 0-1.5.7-1.8 1.3-.1.2-.1.6-.1.9V21H10V8.5h3.4v1.7c.5-.7 1.3-1.8 3.3-1.8 2.4 0 4.3 1.6 4.3 5V21z'/%3E%3C/svg%3E");
}

.wpx-footer__logo {
	display: block;
	width: auto;
	height: 2rem;
}

.wpx-footer__wordmark {
	font-family: var(--font-display);
	font-size: var(--fs-h2);
	font-weight: 700;
	letter-spacing: var(--tracking-tight);
	text-transform: lowercase;
	color: var(--c-white);
}

.wpx-footer__copy {
	margin: var(--sp-3) 0 0;
	font-size: var(--fs-xs);
	color: rgb(255 255 255 / 78%);
}

.wpx-footer__nav-col {
	display: grid;
	gap: var(--sp-7);
	align-content: start;
}

.wpx-footer__primary {
	display: grid;
	gap: var(--sp-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpx-footer__primary a {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 1.5rem + 3vw, 5rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: var(--tracking-tight);
	color: var(--c-white);
}

.wpx-footer__primary a:hover,
.wpx-footer__primary a:focus-visible {
	color: var(--c-sunrise);
}

.wpx-footer__newsletter {
	max-width: 36rem;
}

.wpx-footer .wpx-newsletter-row,
.wpx-mobile-nav .wpx-newsletter-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 0;
}

.wpx-footer .wpx-newsletter-row input[type='email'],
.wpx-mobile-nav .wpx-newsletter-row input[type='email'] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	border: 1px solid rgb(255 255 255 / 55%);
	border-right: 0;
	background: rgb(0 0 0 / 28%);
	color: var(--c-white);
	font-size: var(--fs-sm);
}

.wpx-footer .wpx-newsletter-row input[type='email']::placeholder,
.wpx-mobile-nav .wpx-newsletter-row input[type='email']::placeholder {
	color: rgb(255 255 255 / 70%);
}

.wpx-footer .wpx-newsletter-row button,
.wpx-mobile-nav .wpx-newsletter-row button {
	flex: 0 0 auto;
	min-width: 3rem;
	min-height: 3rem;
	padding: 0 1rem;
	border: 1px solid rgb(255 255 255 / 55%);
	border-left: 0;
	background: rgb(0 0 0 / 28%);
	color: var(--c-white);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.wpx-footer .wpx-newsletter-row button:hover,
.wpx-footer .wpx-newsletter-row button:focus-visible,
.wpx-mobile-nav .wpx-newsletter-row button:hover,
.wpx-mobile-nav .wpx-newsletter-row button:focus-visible {
	color: var(--c-sunrise);
}

.wpx-footer__heading {
	margin-bottom: var(--sp-3);
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--c-lt-green);
}

.wpx-footer__menu {
	display: grid;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}


/* ---------- Entry content ---------- */

.wpx-prose {
	max-width: var(--w-prose);
}

.wpx-prose > * + * {
	margin-top: var(--sp-4);
}

.wpx-prose img {
	margin-block: var(--sp-5);
}

.wpx-lead {
	font-size: var(--fs-lead);
}

.wpx-eyebrow {
	display: block;
	margin-bottom: var(--sp-2);
	color: var(--c-muted);
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
}

/* ---------- Hero ---------- */

.wpx-hero {
	position: relative;
	display: grid;
	align-items: end;
	padding-block: var(--sp-8);
}

.wpx-hero--standard.has-media {
	min-height: min(70vh, 40rem);
	color: var(--c-white);
}

.wpx-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: var(--c-night);
}

.wpx-hero__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 65%) 0%, rgb(0 0 0 / 10%) 55%);
	content: '';
}

.wpx-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wpx-hero__body {
	position: relative;
	max-width: var(--w-wide);
}

.wpx-hero--standard.has-media .wpx-eyebrow {
	color: rgb(255 255 255 / 78%);
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 40px;
}

.wpx-hero__title {
	max-width: 18ch;
	margin-bottom: var(--sp-3);
	font-size: var(--fs-hero);
	font-weight: 400;
}

.wpx-hero__subtitle {
	max-width: var(--w-prose);
	margin: 0;
}

.wpx-hero--team.has-media {
	min-height: min(78vh, 46rem);
	padding-block: var(--sp-10) var(--sp-8);
}

.wpx-hero--team .wpx-hero__subtitle {
	max-width: 50rem;
	padding-left: var(--sp-4);
	border-left: 1px solid rgb(255 255 255 / 85%);
	font-size: var(--fs-sm);
	line-height: var(--lh-body);
	color: rgb(255 255 255 / 92%);
}

.wpx-hero--connected.has-media {
	min-height: 80vh;
	padding-block: var(--sp-10) var(--sp-8);
}

@media (width >= 64rem) {
	.wpx-hero--connected.has-media {
		min-height: 87vh;
	}
}

.wpx-hero--connected .wpx-hero__body {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-6);
	width: 100%;
}

.wpx-hero--connected .wpx-hero__copy {
	flex: 1 1 16rem;
}

.wpx-hero--connected .wpx-hero__actions {
	margin-top: var(--sp-5);
}

.wpx-hero--connected .wpx-hero__actions .wpx-button--light {
	gap: 1.5rem;
	border-color: transparent;
	background: rgb(255 255 255 / 18%);
}

.wpx-hero--connected .wpx-hero__actions .wpx-button--light::after {
	content: '→';
}

.wpx-hero--connected .wpx-hero__actions .wpx-button--light:hover,
.wpx-hero--connected .wpx-hero__actions .wpx-button--light:focus-visible {
	border-color: transparent;
	background: rgb(255 255 255 / 64%);
	color: var(--c-white);
}

.wpx-hero__lockup {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpx-hero__lockup img {
	display: block;
	width: auto;
	height: auto;
	max-width: 7.5rem;
}

.wpx-hero__lockup-sep {
	color: inherit;
	font-size: 0.9rem;
	line-height: 1;
}

/* ---------- Cards ---------- */

.wpx-card {
	position: relative;
}

.wpx-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.wpx-card__media {
	position: relative;
	overflow: hidden;
	background: var(--c-beige);
	aspect-ratio: 3 / 4;
}

.wpx-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease);
}

.wpx-card__link:hover .wpx-card__image,
.wpx-card__link:focus-visible .wpx-card__image {
	transform: scale(1.04);
}

.wpx-card--tile .wpx-card__body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: var(--sp-5);
	background: linear-gradient(to top, rgb(0 0 0 / 72%) 0%, rgb(0 0 0 / 0%) 100%);
	color: var(--c-white);
}

.wpx-card--tile .wpx-eyebrow {
	color: rgb(255 255 255 / 78%);
}

.wpx-card--tile-films {
	overflow: visible;
}

.wpx-card--tile-films .wpx-card__link {
	display: grid;
	gap: var(--sp-3);
	transition: none;
}

.wpx-card--tile-films .wpx-card__link:hover,
.wpx-card--tile-films .wpx-card__link:focus-visible {
	transform: none;
}

.wpx-card--tile-films .wpx-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	min-height: 0;
	background: var(--c-night);
}

.wpx-card--tile-films .wpx-card__image,
.wpx-card--tile-films .wpx-card__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	pointer-events: none;
}

.wpx-card--tile-films .wpx-card__video {
	z-index: 1;
	opacity: 0;
	transition: opacity 0.35s var(--ease);
}

.wpx-card--tile-films.is-playing .wpx-card__video {
	opacity: 1;
}

.wpx-card--tile-films iframe.wpx-card__video {
	top: 50%;
	left: 50%;
	width: 177.78%;
	height: 177.78%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
}

.wpx-card--tile-films .wpx-card__link:hover .wpx-card__image,
.wpx-card--tile-films .wpx-card__link:focus-visible .wpx-card__image {
	transform: none;
}

.wpx-card--tile-films .wpx-card__caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: var(--sp-4);
	background: linear-gradient(to top, rgb(0 0 0 / 72%) 0%, rgb(0 0 0 / 0%) 100%);
	color: var(--c-white);
}

.wpx-card--tile-films .wpx-card__play {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--c-pine);
}

.wpx-card--tile-films .wpx-card__play svg {
	width: 1.7rem;
	height: 1.7rem;
}

.wpx-card--tile-films .wpx-card__title {
	margin: 0;
	font-size: var(--fs-sm);
	font-weight: 500;
	line-height: 1.25;
	text-transform: none;
}

.wpx-card--tile-films .wpx-card__excerpt {
	margin: 0;
	color: var(--c-text);
	font-size: var(--fs-sm);
	font-weight: 300;
	line-height: var(--lh-body);
}

.wpx-card-grid--films .wpx-card-grid__header :is(h1, h2, h3) {
	margin: 0 0 var(--sp-6);
	color: var(--c-secondary);
	font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
	font-weight: 400;
}

.wpx-card-grid--films .wpx-grid {
	gap: var(--sp-6) var(--sp-5);
}

@media (width < 48rem) {
	.wpx-card-grid--films .wpx-grid--3 {
		grid-template-columns: 1fr;
	}
}

@media (width >= 48rem) and (width < 64rem) {
	.wpx-card-grid--films .wpx-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.wpx-card__title {
	margin: 0;
	font-size: var(--fs-h3);
}

/* ---------- Storytelling footer prelude ---------- */

.wpx-storytelling {
	background: var(--c-lt-beige);
}

.wpx-storytelling__grid {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpx-storytelling__panel {
	margin: 0;
}

.wpx-storytelling__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--sp-5);
	align-items: center;
	padding: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem);
	padding-right: clamp(1.5rem, 8vw, 6rem);
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	transition: background-color 1.6s ease;
}

.wpx-storytelling__link:hover,
.wpx-storytelling__link:focus-visible {
	background: var(--c-beige);
	color: inherit;
}

.wpx-storytelling__body {
	display: grid;
	gap: 0.75rem;
	min-width: 0;
}

.wpx-storytelling__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	font-weight: 400;
	line-height: var(--lh-tight);
}

.wpx-storytelling__rule {
	display: block;
	width: 6%;
	min-width: 2.5rem;
	max-width: 4.5rem;
	height: 1px;
	background: var(--c-accent);
}

.wpx-storytelling__text {
	display: block;
	max-width: 65%;
	font-weight: 300;
	line-height: var(--lh-body);
}

.wpx-storytelling__arrow {
	display: block;
	color: var(--c-accent);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	line-height: 1;
	transition: transform var(--dur) var(--ease);
}

.wpx-storytelling__link:hover .wpx-storytelling__arrow,
.wpx-storytelling__link:focus-visible .wpx-storytelling__arrow {
	transform: translateX(0.35rem);
}

@media (width < 48rem) {
	.wpx-storytelling__grid {
		gap: 1.25rem;
	}

	.wpx-storytelling__text {
		max-width: none;
	}

	.wpx-storytelling__link {
		align-items: start;
		padding-right: clamp(1rem, 2vw, 1.75rem);
	}
}

/* ---------- Search ---------- */

.wpx-search {
	display: flex;
	gap: var(--sp-2);
	max-width: 32rem;
	margin-block: var(--sp-4);
}

.wpx-search__input {
	flex: 1;
	padding: var(--sp-3);
	border: 1px solid var(--c-rule);
	background: var(--c-white);
}

/* ---------- Pagination ---------- */

.pagination {
	margin-top: var(--sp-7);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding-inline: var(--sp-2);
	border: 1px solid var(--c-rule);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--c-secondary);
	border-color: var(--c-secondary);
	color: var(--c-white);
}
