/* PowerPuff Agency theme styles. */

/* ---------- Fonts (Archivo, SIL OFL 1.1 — see ../fonts/OFL.txt) ---------- */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
	--pp-pink: #DF37C1;
	--pp-green: #08D6A0;
	--pp-blue: #5C82F2;
	--pp-bg: #000;
	--pp-bg-alt: #0A0A0A;
	--pp-surface: #141414;
	--pp-line: #1E1E1E;
	--pp-line-mid: #262626;
	--pp-line-strong: #3A3A3A;
	--pp-text: #F4F4F4;
	--pp-muted: #BDBDBD;
	--pp-subtle: #8A8A8A;
	--pp-ink: #000;
	--pp-gutter: clamp(16px, 4vw, 56px);
	--pp-header-h: 73px; /* Measured by main.js. */
	--pp-footer-h: 78px; /* Measured by main.js. */
	--pp-adminbar: 0px;
	--pp-accent: var(--pp-green);
	--pp-spring: cubic-bezier(.34, 1.56, .64, 1);
}

.pp-accent-pink { --pp-accent: var(--pp-pink); }
.pp-accent-green { --pp-accent: var(--pp-green); }
.pp-accent-blue { --pp-accent: var(--pp-blue); }
.pp-accent-text { --pp-accent: var(--pp-text); }

/* Shades derived from the Customizer colors; the first value is the fallback for older browsers. */
:root {
	--pp-line-mid: #262626;
	--pp-line-mid: color-mix(in srgb, var(--pp-line) 70%, var(--pp-line-strong));
	--pp-knob: #6A6A6A;
	--pp-knob: color-mix(in srgb, var(--pp-subtle) 60%, var(--pp-line-strong));
	--pp-header-bg: rgba(0, 0, 0, .84);
	--pp-header-bg: color-mix(in srgb, var(--pp-bg) 84%, transparent);
	--pp-ink-line: rgba(0, 0, 0, .3);
	--pp-ink-line: color-mix(in srgb, var(--pp-ink) 30%, transparent);
}

.pp-c-pink { color: var(--pp-pink); }
.pp-c-green { color: var(--pp-green); }
.pp-c-blue { color: var(--pp-blue); }

/* ---------- Base ---------- */

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

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

body {
	margin: 0;
	background: var(--pp-bg);
	color: var(--pp-text);
	font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-stretch: 112%;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--pp-text);
}

a:hover {
	opacity: .8;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--pp-green);
	outline-offset: 4px;
}

.admin-bar {
	--pp-adminbar: 32px;
}

@media (max-width: 782px) {
	.admin-bar {
		--pp-adminbar: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar {
		--pp-adminbar: 0px;
	}
}

section[id] {
	scroll-margin-top: calc(var(--pp-header-h) + var(--pp-adminbar));
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--pp-text);
	color: var(--pp-ink);
	font-weight: 700;
	text-decoration: none;
}

.pp-container {
	width: 100%;
	max-width: calc(1320px + 2 * var(--pp-gutter));
	margin-inline: auto;
	padding-inline: var(--pp-gutter);
}

/* Full-screen sections: each one fills the window below the sticky header; the last one shares it with the footer. */
.pp-fullscreen #content > section {
	min-height: calc(100vh - var(--pp-header-h) - var(--pp-adminbar));
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pp-fullscreen #content > section:last-of-type {
	min-height: calc(100vh - var(--pp-header-h) - var(--pp-adminbar) - var(--pp-footer-h));
}

.pp-fullscreen .pp-portfolio > .pp-container {
	padding-bottom: clamp(88px, 9vw, 140px);
}

/* ---------- Shared pieces ---------- */

.pp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--pp-text);
	color: var(--pp-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.pp-eyebrow {
	margin: 0 0 28px;
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--pp-accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.pp-heading {
	display: flex;
	align-items: center;
	gap: 24px;
	color: var(--pp-accent);
}

.pp-h2 {
	margin: 0;
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(32px, 3.6vw, 52px);
	line-height: 1.05;
	white-space: nowrap;
}

.pp-rule {
	flex: 1;
	display: flex;
	align-items: center;
}

.pp-rule svg {
	flex: none;
}

.pp-rule__line {
	flex: 1;
	height: 1px;
	background: currentColor;
}

.pp-lift {
	transition: transform .35s ease, border-color .35s ease;
}

.pp-lift:hover {
	transform: translateY(-6px);
}

.pp-section {
	border-top: 1px solid var(--pp-line);
}

.pp-section--alt {
	background: var(--pp-bg-alt);
	border-bottom: 1px solid var(--pp-line);
}

.pp-section--plain {
	border-top: 0;
}

.pp-section__inner {
	padding-block: clamp(72px, 8vw, 120px);
}

.pp-section__inner--roomy {
	padding-block: clamp(88px, 9vw, 140px);
}

.pp-section__lead {
	margin: 20px 0 0;
	color: var(--pp-muted);
}

@keyframes pp-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

@keyframes pp-pop {
	from { opacity: 0; transform: translateY(28px) scale(.9) rotate(-4deg); }
	to { opacity: 1; transform: none; }
}

.pp-float {
	animation: pp-float 7s ease-in-out infinite;
}

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

.pp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--pp-header-bg);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--pp-line);
}

.admin-bar .pp-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .pp-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .pp-header {
		top: 0;
	}
}

.pp-header__inner {
	padding-block: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 32px;
}

.pp-header__menu {
	display: contents;
}

.pp-logo {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
}

.pp-logo__img {
	display: block;
	height: 44px;
	width: auto;
}

.pp-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 clamp(18px, 2.4vw, 36px);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .02em;
}

.pp-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--pp-accent);
	text-decoration: none;
}

.pp-menu-toggle {
	display: none;
}

@media (max-width: 759px) {
	.js .pp-menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-height: 44px;
		padding: 0 18px;
		border: 1px solid var(--pp-line-strong);
		border-radius: 999px;
		background: none;
		color: var(--pp-text);
		font: inherit;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
	}

	.pp-menu-toggle__icon,
	.pp-menu-toggle__icon::before {
		display: block;
		width: 16px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform .3s ease;
	}

	.pp-menu-toggle__icon {
		position: relative;
		transform: translateY(-3px);
	}

	.pp-menu-toggle__icon::before {
		content: "";
		position: absolute;
		top: 6px;
	}

	.pp-header.is-open .pp-menu-toggle__icon {
		transform: rotate(45deg);
	}

	.pp-header.is-open .pp-menu-toggle__icon::before {
		transform: translateY(-6px) rotate(-90deg);
	}

	.js .pp-header__menu {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 4px 0 18px;
	}

	.js .pp-header.is-open .pp-header__menu {
		display: flex;
	}

	.js .pp-menu {
		flex-direction: column;
		align-items: flex-start;
		font-size: 20px;
	}
}

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

.pp-hero {
	position: relative;
	overflow: hidden;
}

.pp-hero__inner {
	padding-top: clamp(56px, 7vw, 104px);
	padding-bottom: clamp(64px, 7vw, 112px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px 48px;
}

.pp-hero__text {
	flex: 999 1 560px;
	min-width: 0;
}

.pp-hero__title {
	margin: 0;
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(40px, 5.3vw, 80px);
	line-height: 1.05;
	letter-spacing: -.01em;
}

.pp-hero__intro {
	margin: 28px 0 0;
	max-width: 560px;
	color: var(--pp-muted);
	font-size: clamp(17px, 1.4vw, 21px);
}

.pp-hero__art {
	position: relative;
	flex: 1 1 380px;
	max-width: 540px;
	height: clamp(340px, 36vw, 520px);
}

/* The blend sits on the rotated wrapper: it forms its own layer, so blending the image inside it would not reach the page. */
.pp-tile {
	position: absolute;
	mix-blend-mode: screen;
}

.pp-tile img {
	display: block;
	width: 100%;
	height: auto;
}

.pp-tile--1 {
	left: 0;
	top: 4%;
	width: 50%;
	transform: rotate(-9deg);
}

.pp-tile--2 {
	right: 0;
	top: 0;
	width: 44%;
	transform: rotate(7deg);
}

.pp-tile--2 img {
	animation-delay: -2.3s;
}

.pp-tile--3 {
	left: 24%;
	bottom: 0;
	width: 52%;
	transform: rotate(-3deg);
}

.pp-tile--3 img {
	animation-delay: -4.6s;
}

/* ---------- About ---------- */

.pp-about__grid {
	padding-block: clamp(88px, 9vw, 140px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 48px 72px;
}

.pp-about__art {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	justify-content: flex-start;
}

.pp-about__art img {
	display: block;
	width: 100%;
	max-width: 600px;
	height: auto;
	mix-blend-mode: screen;
}

.pp-about__body {
	flex: 1 1 520px;
	min-width: 0;
	max-width: 640px;
}

.pp-about__text {
	margin-top: clamp(28px, 3vw, 40px);
	font-stretch: 125%;
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.65;
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.pp-about__text p {
	margin: 1.2em 0 0;
}

.pp-about__text p:first-child {
	margin-top: 0;
}

/* ---------- Portfolio intro ---------- */

.pp-portfolio > .pp-container {
	padding-top: clamp(88px, 9vw, 140px);
	padding-bottom: clamp(48px, 5vw, 72px);
}

.pp-portfolio__title {
	margin: 0;
}

.pp-portfolio__title svg {
	display: block;
	width: 100%;
	height: auto;
}

.pp-outline-text {
	fill: none;
	stroke: var(--pp-accent);
	stroke-width: 1.4;
	font-family: "Archivo", sans-serif;
	font-stretch: 125%;
	font-weight: 800;
	font-size: 160px;
}

.pp-portfolio__bar {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

.pp-portfolio__intro {
	margin: 0;
	max-width: 560px;
	color: var(--pp-muted);
	font-size: 18px;
}

.pp-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pp-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px; /* 46px plus the border, as in the design. */
	padding: 0 20px;
	border: 1px solid var(--pp-accent);
	border-radius: 999px;
	color: var(--pp-text);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.pp-pill span {
	color: var(--pp-accent);
}

/* ---------- Posters ---------- */

.pp-posters {
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
	display: grid;
	gap: 20px;
}

.pp-posters img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 18px;
}

.pp-switch-row {
	margin-top: clamp(36px, 4vw, 56px);
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 28px);
	color: var(--pp-accent);
}

.pp-switch-row .pp-rule {
	min-width: 24px;
}

.pp-switch {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: clamp(14px, 1.6vw, 20px);
	min-height: 64px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pp-text);
	font: inherit;
	text-align: right;
	cursor: pointer;
}

.no-js .pp-switch {
	display: none;
}

.pp-switch__label {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.2;
}

.pp-switch__title {
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(15px, 1.25vw, 18px);
	letter-spacing: .02em;
	text-transform: uppercase;
}

.pp-switch__hint {
	margin-top: 6px;
	color: var(--pp-subtle);
	font-size: 13px;
}

.pp-switch__hint--on,
.pp-switch.is-on .pp-switch__hint--off {
	display: none;
}

.pp-switch.is-on .pp-switch__hint--on {
	display: block;
	color: var(--pp-accent);
	font-weight: 600;
}

.pp-switch__track {
	position: relative;
	flex: none;
	width: 92px;
	height: 50px;
	border-radius: 999px;
	border: 1.5px solid var(--pp-line-strong);
	background: var(--pp-surface);
	transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.pp-switch__knob {
	position: absolute;
	top: 50%;
	left: 5px;
	width: 38px;
	height: 38px;
	margin-top: -19px;
	transition: transform .6s var(--pp-spring);
}

.pp-switch__knob svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: var(--pp-knob);
	transition: fill .35s ease;
}

.pp-spark {
	position: absolute;
	display: block;
	width: 14px;
	height: 14px;
	opacity: 0;
	transform: scale(0) rotate(-90deg);
	transition: transform .5s var(--pp-spring), opacity .3s ease;
}

.pp-spark--1 {
	top: -16px;
	left: 8px;
	fill: var(--pp-green);
}

.pp-spark--2 {
	top: -10px;
	right: -16px;
	width: 13px;
	height: 13px;
	fill: var(--pp-blue);
}

.pp-spark--3 {
	bottom: -15px;
	left: 38px;
	width: 10px;
	height: 10px;
	fill: var(--pp-green);
}

.pp-switch:hover .pp-switch__knob {
	transform: rotate(45deg);
}

.pp-switch:hover .pp-switch__track {
	border-color: var(--pp-knob);
}

.pp-switch.is-on .pp-switch__track {
	background: var(--pp-accent);
	border-color: var(--pp-accent);
	box-shadow: 0 0 32px -6px var(--pp-accent);
}

.pp-switch.is-on .pp-switch__knob {
	transform: translateX(41px) rotate(360deg);
}

.pp-switch.is-on:hover .pp-switch__knob {
	transform: translateX(41px) rotate(405deg);
}

.pp-switch.is-on .pp-switch__knob svg {
	fill: var(--pp-text);
}

.pp-switch.is-on .pp-spark {
	opacity: 1;
	transform: scale(1) rotate(0);
}

.pp-switch.is-on .pp-spark--2 {
	transition-delay: .08s;
}

.pp-switch.is-on .pp-spark--3 {
	transition-delay: .16s;
}

.pp-switch:focus-visible {
	outline: none;
}

.pp-switch:focus-visible .pp-switch__track {
	outline: 2px solid var(--pp-green);
	outline-offset: 4px;
}

.pp-fun {
	list-style: none;
	margin: clamp(32px, 3.5vw, 48px) 0 0;
	padding: 0;
	display: grid;
	gap: 20px;
}

.js .pp-fun:not(.is-open) {
	display: none;
}

.pp-fun img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 14px;
}

.pp-fun.is-open img {
	animation: pp-pop .65s var(--pp-spring) backwards;
	animation-delay: calc(var(--i, 0) * .05s);
}

/* ---------- Reels ---------- */

.pp-reels {
	list-style: none;
	margin: 48px 0 0;
	padding: 6px;
	display: grid;
	gap: 32px 28px;
}

/* Posters and reels fill the full width: the column counts come from powerpuff_grid_columns(). */
.pp-posters,
.pp-fun,
.pp-reels {
	grid-template-columns: repeat(var(--c1, 1), minmax(0, 1fr));
}

@media (min-width: 480px) {
	.pp-posters,
	.pp-fun,
	.pp-reels {
		grid-template-columns: repeat(var(--c2, 2), minmax(0, 1fr));
	}
}

@media (min-width: 700px) {
	.pp-posters,
	.pp-fun,
	.pp-reels {
		grid-template-columns: repeat(var(--c3, 3), minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.pp-posters,
	.pp-fun,
	.pp-reels {
		grid-template-columns: repeat(var(--c4, 4), minmax(0, 1fr));
	}
}

.pp-reel {
	position: relative;
	display: block;
	width: 100%;
	border-radius: 30px;
	box-shadow: 0 0 0 5px var(--pp-bg-alt), 0 0 0 6px var(--pp-accent);
	overflow: hidden;
	color: inherit;
}

a.pp-reel:hover {
	opacity: 1;
}

.pp-reel img,
.pp-reel__frame {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: cover;
}

.pp-reel__frame {
	background: var(--pp-bg);
	pointer-events: none;
}

.pp-reel__notch {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 40%;
	height: 18px;
	background: var(--pp-bg-alt);
	border-radius: 0 0 12px 12px;
}

.pp-reel__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--pp-accent);
	color: var(--pp-ink);
	transform: translate(-50%, -50%);
	transition: transform .35s var(--pp-spring);
}

.pp-reel:hover .pp-reel__play {
	transform: translate(-50%, -50%) scale(1.1);
}

.pp-modal {
	width: min(420px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: 24px;
	background: var(--pp-bg);
	overflow: visible;
}

.pp-modal::backdrop {
	background: rgba(0, 0, 0, .85);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.pp-modal__video {
	display: block;
	width: 100%;
	max-height: calc(100vh - 32px);
	border-radius: 24px;
	background: var(--pp-bg);
}

.pp-modal__close {
	position: absolute;
	top: -14px;
	right: -14px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--pp-text);
	color: var(--pp-ink);
	cursor: pointer;
}

/* ---------- Photoshoot ---------- */

.pp-bento {
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: 20px;
}

.pp-shot {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	background: var(--pp-surface);
	aspect-ratio: 1 / 1;
}

.pp-shot > img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.pp-shot:hover > img {
	transform: scale(1.06);
}

.pp-shot--big {
	grid-column: span 2;
	grid-row: span 2;
}

.pp-shot--tall {
	grid-row: span 2;
	aspect-ratio: auto;
}

.pp-shot--wide {
	grid-column: span 2;
	aspect-ratio: auto;
}

.pp-shot__sticker {
	position: absolute;
	top: 16px;
	right: 16px;
	width: clamp(30px, 3vw, 44px);
	height: clamp(30px, 3vw, 44px);
	fill: var(--pp-accent);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
	transform: scale(0) rotate(-140deg);
	transition: transform .55s var(--pp-spring);
}

.pp-shot:hover .pp-shot__sticker {
	transform: scale(1) rotate(0);
}

@media (max-width: 720px) {
	.pp-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.pp-shot--wide {
		aspect-ratio: 2 / 1;
	}
}

/* ---------- Team ---------- */

.pp-team-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 3vw, 40px);
	color: var(--pp-line-strong);
}

.pp-team-heading .pp-rule {
	min-width: 16px;
}

.pp-team-heading h2 {
	flex: none;
	margin: 0;
	color: var(--pp-text);
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(48px, 7vw, 104px);
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.pp-team {
	margin-top: clamp(48px, 5vw, 72px);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 48px 32px;
}

.pp-member {
	flex: 0 1 calc((100% - 64px) / 3);
	min-width: min(100%, 300px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.pp-member__alias {
	margin: 0 0 10px;
	color: var(--pp-accent);
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(30px, 2.8vw, 42px);
	line-height: 1;
	text-transform: uppercase;
}

.pp-member__name {
	margin: 0;
	font-stretch: 125%;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.pp-member__role {
	margin: 4px 0 0;
	color: var(--pp-subtle);
	font-size: 14px;
}

.pp-member__photo {
	position: relative;
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1;
	margin: 16px 0;
}

.pp-member__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	clip-path: polygon(1.79% 49.76%, 17.04% 43.63%, 4.77% 33.07%, 20.96% 32.65%, 13.44% 18.9%, 28.47% 23.77%, 26.23% 7.86%, 38.4% 18.16%, 41.37% 1.75%, 49.69% 16.89%, 57.97% 2.83%, 61.55% 18.17%, 73.48% 8.3%, 71.4% 23.87%, 86.63% 18.52%, 78.81% 32.59%, 94.73% 33.24%, 82.79% 43.66%, 98% 49.76%, 82.49% 55.93%, 95.02% 66.36%, 78.91% 66.73%, 86.77% 81.25%, 71.59% 76.07%, 74.07% 92.26%, 61.36% 82.08%, 58.35% 98.06%, 49.98% 83.88%, 41.61% 98.06%, 38.11% 81.71%, 26.2% 91.29%, 28.56% 75.38%, 13.69% 80.56%, 21.43% 66.67%, 4.78% 66.41%, 17.32% 55.51%);
}

/* Portraits that are already cut into the star (the starter ones) keep their own frame size. */
.pp-member__photo.is-cutout {
	overflow: hidden;
}

.pp-member__photo.is-cutout img {
	height: auto;
	clip-path: none;
}

.pp-member__star {
	display: block;
	width: 100%;
	height: 100%;
	fill: var(--pp-surface);
	stroke: var(--pp-line-strong);
	stroke-width: .4;
	stroke-dasharray: 1.4 1;
}

.pp-member__soon {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--pp-subtle);
	font-size: 14px;
}

.pp-member__foot {
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.pp-member__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--pp-accent);
	font-weight: 700;
	text-decoration: none;
}

/* ---------- Superpowers ---------- */

.pp-powers__head {
	position: relative;
}

.pp-powers__title {
	margin: 0;
	line-height: .98;
	text-transform: uppercase;
}

.pp-powers__title span {
	display: block;
	font-stretch: 125%;
}

.pp-powers__line1 {
	font-weight: 400;
	font-size: clamp(32px, 3.4vw, 50px);
}

.pp-powers__line2 {
	color: var(--pp-accent);
	font-weight: 800;
	font-size: clamp(34px, 3.9vw, 56px);
}

.pp-powers__intro {
	margin: clamp(20px, 2vw, 28px) 0 0;
	max-width: 640px;
	color: var(--pp-muted);
	font-size: clamp(17px, 1.35vw, 20px);
	line-height: 1.55;
}

.pp-powers__deco {
	position: absolute;
	top: clamp(-40px, calc(5vw - 90px), 0px);
	right: 0;
	display: block;
	width: clamp(64px, 10vw, 150px);
	height: auto;
	mix-blend-mode: screen;
}

.pp-powers__box {
	margin-top: clamp(40px, 4.5vw, 64px);
	border: 1px solid var(--pp-line-strong);
	border-radius: 28px;
	overflow: hidden;
}

.pp-powers__list {
	list-style: none;
	margin: 0 -1px -1px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(260px, 30%)), 1fr));
}

.pp-powers__list li {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: clamp(24px, 2.5vw, 36px) clamp(20px, 2vw, 28px);
	border-right: 1px solid var(--pp-line-mid);
	border-bottom: 1px solid var(--pp-line-mid);
}

.pp-powers__list svg {
	flex: none;
	fill: var(--pp-accent);
}

.pp-powers__list span {
	flex: 1;
	font-stretch: 125%;
	font-weight: 600;
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.3;
	text-transform: uppercase;
}

/* ---------- Contact ---------- */

.pp-contact__title {
	margin: 0;
	color: var(--pp-text);
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(40px, 6.4vw, 92px);
	line-height: 1;
	text-transform: uppercase;
}

.pp-cards {
	margin-top: clamp(40px, 4.5vw, 64px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 20px;
}

.pp-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: clamp(24px, 2.6vw, 36px);
	border-radius: 28px;
	background: var(--pp-accent);
	color: var(--pp-ink);
}

.pp-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.pp-card__label {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.6;
	text-transform: uppercase;
}

.pp-card__icon {
	flex: none;
	fill: var(--pp-ink);
	transition: transform .6s var(--pp-spring);
}

.pp-card:hover .pp-card__icon {
	transform: rotate(180deg) scale(1.15);
}

.pp-card__body {
	margin-top: auto;
	padding-top: clamp(36px, 4vw, 56px);
}

.pp-card__body--list {
	border-bottom: 1.5px solid var(--pp-ink-line);
}

.pp-card a {
	color: var(--pp-ink);
	text-decoration: none;
}

.pp-card a:hover {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pp-card__big {
	display: block;
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(20px, 1.95vw, 28px);
	line-height: 1.15;
}

.pp-copy {
	margin-top: 20px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--pp-ink);
	color: var(--pp-text);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.pp-copy svg {
	fill: var(--pp-accent);
}

.no-js .pp-copy {
	display: none;
}

.pp-row-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 70px;
	padding: 12px 0;
	border-top: 1.5px solid var(--pp-ink-line);
}

.pp-row-link__text {
	display: flex;
	flex-direction: column;
}

.pp-row-link__name {
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(20px, 1.95vw, 28px);
	line-height: 1.1;
	text-transform: uppercase;
}

.pp-row-link__sub {
	margin-top: 2px;
	font-size: 15px;
	font-weight: 600;
}

.pp-row-link__arrow {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pp-ink);
	color: var(--pp-text);
}

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

.pp-footer {
	border-top: 1px solid var(--pp-line);
}

.pp-footer__inner {
	padding-top: 24px;
	padding-bottom: 32px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	color: var(--pp-subtle);
	font-size: 13px;
}

/* ---------- Blog, pages, 404 ---------- */

.pp-page {
	padding-block: clamp(56px, 7vw, 104px) clamp(72px, 8vw, 120px);
}

.pp-page__header {
	margin-bottom: clamp(32px, 4vw, 56px);
}

.pp-page__title {
	margin: 0;
	max-width: 18ch;
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(36px, 4.6vw, 68px);
	line-height: 1.05;
	letter-spacing: -.01em;
}

.pp-page__image {
	margin: 0 0 clamp(32px, 4vw, 56px);
}

.pp-page__image img {
	display: block;
	width: 100%;
	max-height: 640px;
	object-fit: cover;
	border-radius: 18px;
}

.pp-entries {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--pp-line);
}

.pp-entry {
	padding-block: 28px;
	border-bottom: 1px solid var(--pp-line);
}

.pp-entry__title {
	margin: 0;
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.15;
}

.pp-entry__title a {
	text-decoration: none;
}

.pp-entry__meta {
	margin: 8px 0 0;
	color: var(--pp-subtle);
	font-size: 14px;
}

.pp-entry__excerpt {
	color: var(--pp-muted);
}

.pp-entry__excerpt p {
	margin: 12px 0 0;
}

.pp-prose {
	max-width: 760px;
}

.pp-prose > * + * {
	margin-top: 1.1em;
}

.pp-prose p,
.pp-prose ul,
.pp-prose ol,
.pp-prose figure,
.pp-prose blockquote,
.pp-prose pre,
.pp-prose table {
	margin-bottom: 0;
}

.pp-prose h2,
.pp-prose h3,
.pp-prose h4 {
	margin: 1.8em 0 0;
	font-stretch: 125%;
	font-weight: 800;
	line-height: 1.15;
}

.pp-prose h2 {
	font-size: clamp(26px, 2.6vw, 36px);
}

.pp-prose h3 {
	font-size: clamp(21px, 2vw, 26px);
}

.pp-prose a {
	color: var(--pp-green);
	text-underline-offset: 3px;
}

.pp-prose blockquote {
	margin-inline: 0;
	padding-left: 24px;
	border-left: 3px solid var(--pp-pink);
	font-size: 1.15em;
}

.pp-prose img {
	border-radius: 14px;
}

.pp-prose pre,
.pp-prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9em;
}

.pp-prose pre {
	overflow-x: auto;
	padding: 20px;
	border-radius: 14px;
	background: var(--pp-surface);
}

.pp-prose table {
	width: 100%;
	border-collapse: collapse;
}

.pp-prose th,
.pp-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--pp-line-strong);
	text-align: left;
}

.pp-prose .alignwide {
	max-width: 1100px;
}

.pp-prose .alignfull {
	max-width: none;
}

.pp-prose .aligncenter {
	margin-inline: auto;
	text-align: center;
}

.wp-caption-text,
.wp-element-caption {
	margin-top: 8px;
	color: var(--pp-subtle);
	font-size: 14px;
}

.has-pp-pink-color { color: var(--pp-pink); }
.has-pp-green-color { color: var(--pp-green); }
.has-pp-blue-color { color: var(--pp-blue); }
.has-pp-black-color { color: var(--pp-ink); }
.has-pp-white-color { color: var(--pp-text); }
.has-pp-pink-background-color { background-color: var(--pp-pink); }
.has-pp-green-background-color { background-color: var(--pp-green); }
.has-pp-blue-background-color { background-color: var(--pp-blue); }
.has-pp-black-background-color { background-color: var(--pp-ink); }
.has-pp-white-background-color { background-color: var(--pp-text); }

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid var(--pp-line-strong);
	border-radius: 999px;
	text-decoration: none;
}

.pagination .page-numbers.current {
	border-color: var(--pp-green);
	color: var(--pp-green);
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
	min-height: 46px;
	padding: 10px 16px;
	border: 1px solid var(--pp-line-strong);
	border-radius: 14px;
	background: var(--pp-surface);
	color: var(--pp-text);
	font: inherit;
}

input[type="submit"],
.search-submit {
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--pp-text);
	color: var(--pp-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.pp-comments {
	max-width: 760px;
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--pp-line);
}

.pp-comments__list {
	padding-left: 0;
	list-style: none;
}

.pp-comments textarea {
	width: 100%;
}

.pp-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-bottom: clamp(24px, 3vw, 40px);
	color: var(--pp-subtle);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.pp-back__icon {
	transform: rotate(180deg);
}

.pp-member-page {
	min-height: 50vh;
}

.pp-404 .pp-404__text {
	margin: 24px 0 32px;
	max-width: 560px;
	color: var(--pp-muted);
	font-size: clamp(17px, 1.4vw, 21px);
}

/* ---------- Motion preferences ---------- */

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

	.pp-float,
	.pp-fun.is-open img {
		animation: none;
	}

	.pp-lift,
	.pp-switch__track,
	.pp-switch__knob,
	.pp-switch__knob svg,
	.pp-spark,
	.pp-shot > img,
	.pp-shot__sticker,
	.pp-card__icon,
	.pp-reel__play,
	.pp-menu-toggle__icon,
	.pp-menu-toggle__icon::before {
		transition: none;
	}
}
