/*
 * Professionally Unwell — component styles.
 * Tokens (colors, fonts, sizes, spacing) come from theme.json as --wp--preset--* / --wp--custom--*.
 * Selectors are prefixed with :root so they outrank WordPress's single-class layout rules
 * (in the editor, :root is rewritten to .editor-styles-wrapper).
 */

:root {
	--pu-magenta: var(--wp--preset--color--magenta, #E0218A);
	--pu-plum: var(--wp--preset--color--plum, #3D0722);
	--pu-ink: var(--wp--preset--color--ink, #14060E);
	--pu-cream: var(--wp--preset--color--cream, #FBEAF0);
	--pu-white: var(--wp--preset--color--white, #FFFFFF);
	--pu-border: var(--wp--custom--color--border, rgba(251, 234, 240, 0.1));
	--pu-input-border: var(--wp--custom--color--input-border, rgba(251, 234, 240, 0.2));
	--pu-input-fill: var(--wp--custom--color--input-fill, rgba(251, 234, 240, 0.06));
	--pu-placeholder: var(--wp--custom--color--placeholder, rgba(251, 234, 240, 0.35));
	--pu-mono: var(--wp--preset--font-family--plex-mono, "IBM Plex Mono", monospace);
	--pu-sans: var(--wp--preset--font-family--archivo, Archivo, Helvetica, sans-serif);
	--pu-ease: var(--wp--custom--transition, 150ms ease);
	--pu-max: 1240px;
	--pu-gutter: 28px;
	--pu-section: clamp(64px, 8vw, 120px);
	--pu-subpage: clamp(56px, 7vw, 100px);
}

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

html {
	scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

:root :where(p, h1, h2, h3, h4, ul, ol, figure) {
	margin: 0;
}

:root img {
	max-width: 100%;
	height: auto;
}

:root input::placeholder,
:root textarea::placeholder {
	color: var(--pu-placeholder);
	opacity: 1;
}

:root :focus-visible {
	outline: 2px solid var(--pu-magenta);
	outline-offset: 2px;
}

.screen-reader-text:not(:focus) {
	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;
}

/* Shared bits ---------------------------------------------------------- */

:root .pu-wrap {
	width: 100%;
	max-width: var(--pu-max);
	margin-inline: auto;
	padding-inline: var(--pu-gutter);
}

:root .pu-eyebrow {
	font-family: var(--pu-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: normal;
	text-transform: uppercase;
	color: var(--pu-magenta);
}

:root .pu-eyebrow--lg {
	font-size: 13px;
}

:root .pu-lede {
	font-size: 18px;
	line-height: 1.55;
	color: rgba(251, 234, 240, 0.78);
	text-wrap: pretty;
}

:root .pu-lede--lg {
	font-size: 19px;
}

:root .pu-chip {
	display: inline-block;
	border: 1px solid var(--pu-input-border);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: normal;
	color: rgba(251, 234, 240, 0.7);
	white-space: nowrap;
}

:root .pu-chip--sm {
	padding: 6px 12px;
	font-size: 12px;
	color: rgba(251, 234, 240, 0.75);
}

:root a.pu-chip:hover {
	border-color: var(--pu-magenta);
	color: var(--pu-magenta);
}

:root .pu-photo {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	overflow: hidden;
	background: var(--pu-plum);
	margin: 0;
}

:root .pu-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

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

:root .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

:root .wp-block-button__link {
	white-space: nowrap;
	transition: background-color var(--pu-ease), color var(--pu-ease), border-color var(--pu-ease);
	text-decoration: none;
}

:root .wp-block-button.is-style-large .wp-block-button__link {
	padding: 18px 30px;
	font-size: 17px;
}

:root .wp-block-button.is-style-secondary .wp-block-button__link {
	background: var(--pu-plum);
	color: var(--pu-cream);
	padding: 14px 24px;
	font-size: 15px;
}

:root .wp-block-button.is-style-secondary .wp-block-button__link:hover,
:root .wp-block-button.is-style-secondary .wp-block-button__link:focus-visible {
	background: var(--pu-ink);
	color: var(--pu-cream);
}

:root .wp-block-button.is-style-pu-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(251, 234, 240, 0.25);
	color: var(--pu-cream);
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
}

:root .wp-block-button.is-style-pu-outline .wp-block-button__link:hover,
:root .wp-block-button.is-style-pu-outline .wp-block-button__link:focus-visible {
	background: transparent;
	border-color: var(--pu-magenta);
	color: var(--pu-magenta);
}

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

:root .wp-site-blocks > header.pu-header,
:root header.wp-block-template-part.pu-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wp--custom--color--header-bg, rgba(20, 6, 14, 0.88));
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--pu-border);
}

.admin-bar .wp-site-blocks > header.pu-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.pu-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.pu-header {
		top: 0;
	}
}

:root .pu-header__inner {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: 14px var(--pu-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

:root .pu-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--pu-cream);
	flex: none;
}

:root .pu-brand:hover {
	color: var(--pu-cream);
}

:root .pu-brand img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: block;
	flex: none;
}

:root .pu-brand__text {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}

:root .pu-brand__text span {
	color: var(--pu-magenta);
}

:root .pu-header__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	min-width: 0;
}

:root .pu-nav .wp-block-navigation__container {
	gap: 4px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

:root .pu-nav .wp-block-navigation-item__content {
	display: block;
	padding: 10px 2px;
	margin: 0 10px;
	border-bottom: 2px solid transparent;
	color: rgba(251, 234, 240, 0.7);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: normal;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color var(--pu-ease), border-color var(--pu-ease);
}

:root .pu-nav .wp-block-navigation-item__content:hover,
:root .pu-nav .wp-block-navigation-item__content:focus-visible,
:root .pu-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--pu-cream);
	border-bottom-color: var(--pu-magenta);
}

:root .pu-header__cta {
	margin-left: 12px;
	flex: none;
}

:root .pu-header__cta .wp-block-button__link {
	border-radius: 4px;
	padding: 11px 18px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: normal;
	text-transform: uppercase;
}

/* Hamburger below 900px (core switches at 600px; widen it). */
:root .pu-nav .wp-block-navigation__responsive-container-open,
:root .pu-nav .wp-block-navigation__responsive-container-close {
	color: var(--pu-cream);
}

:root .pu-nav .wp-block-navigation__responsive-container-open svg,
:root .pu-nav .wp-block-navigation__responsive-container-close svg {
	width: 28px;
	height: 28px;
}

@media (max-width: 899px) {
	:root .pu-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	:root .pu-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	:root .pu-nav .wp-block-navigation__responsive-container.is-menu-open {
		display: flex;
		position: fixed;
		inset: 0;
		z-index: 100000;
		padding: 20px var(--pu-gutter) 40px;
		background: var(--pu-ink);
		color: var(--pu-cream);
	}

	:root .pu-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		display: flex;
	}

	:root .pu-nav .is-menu-open .wp-block-navigation__responsive-container-content {
		padding-top: 64px;
		align-items: flex-start;
	}

	:root .pu-nav .is-menu-open .wp-block-navigation__container {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	:root .pu-nav .is-menu-open .wp-block-navigation-item__content {
		font-size: 20px;
		margin: 0;
		padding: 8px 0;
	}

	:root .pu-brand__text {
		font-size: 14px;
	}
}

/* backdrop-filter makes the header the containing block for the fixed overlay; drop it while open. */
:root .pu-header:has(.is-menu-open),
.has-modal-open .wp-site-blocks > header.pu-header {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

:root .pu-header__nav {
	flex: none;
}

:root .pu-brand {
	flex: 0 1 auto;
	min-width: 0;
}

@media (max-width: 480px) {
	:root .pu-header__inner {
		gap: 12px;
	}

	:root .pu-brand {
		gap: 10px;
	}

	:root .pu-brand__text {
		font-size: 13px;
		line-height: 0.95;
	}

	:root .pu-brand__text span {
		display: block;
	}
}

@media (max-width: 360px) {

	:root .pu-header__cta {
		margin-left: 4px;
	}

	:root .pu-header__cta .wp-block-button__link {
		padding: 9px 12px;
		font-size: 11px;
	}
}

/* Home: hero ----------------------------------------------------------- */

:root .pu-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--pu-border);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}

@media (min-width: 840px) {
	:root .pu-hero {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

:root .pu-hero__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
	min-width: 0;
	padding: clamp(64px, 9vw, 130px) var(--pu-gutter) clamp(56px, 7vw, 100px) max(var(--pu-gutter), calc((100vw - var(--pu-max)) / 2 + var(--pu-gutter)));
}

:root .pu-hero__title {
	font-size: var(--wp--preset--font-size--hero, clamp(56px, 8vw, 128px));
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 0.82;
}

:root .pu-hero__title mark {
	background: none;
	color: var(--pu-magenta);
}

:root .pu-hero__lede {
	max-width: 520px;
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.45;
	color: rgba(251, 234, 240, 0.78);
	text-wrap: pretty;
}

:root .pu-hero__media {
	position: relative;
	min-height: 420px;
	order: -1;
}

@media (min-width: 840px) {
	:root .pu-hero__media {
		order: 0;
	}
}

:root .pu-hero__img {
	position: absolute;
	inset: 0;
	margin: 0;
}

:root .pu-hero__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	display: block;
}

:root .pu-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, var(--pu-ink) 0%, rgba(20, 6, 14, 0) 35%),
		linear-gradient(0deg, var(--pu-ink) 0%, rgba(20, 6, 14, 0) 30%);
}

:root .pu-nametags {
	position: absolute;
	left: 28px;
	bottom: 28px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

:root .pu-nametag {
	background: var(--pu-magenta);
	color: var(--pu-plum);
	font-family: var(--pu-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: normal;
	padding: 7px 11px;
	border-radius: 0;
}

:root .pu-platforms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

:root .pu-platforms__label {
	font-family: var(--pu-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(251, 234, 240, 0.5);
}

/* Social icons */
:root .pu-social {
	list-style: none;
	margin: 0 0 0 -8px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

:root .pu-social a {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	color: var(--pu-magenta);
	transition: color var(--pu-ease);
}

:root .pu-social a:hover,
:root .pu-social a:focus-visible {
	color: var(--pu-cream);
}

:root .pu-social svg {
	display: block;
}

:root .pu-social--sm {
	margin: 0;
	gap: 8px;
}

:root .pu-social--sm a {
	width: 36px;
	height: 36px;
}

/* Email capture */
:root .pu-signup {
	scroll-margin-top: 100px;
}

:root .pu-signup__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 560px;
	margin: 0;
}

:root .pu-signup .gform_body {
	flex: 1 1 240px;
	min-width: 0;
}

:root .pu-signup .ginput_container,
:root .pu-signup .gfield {
	margin: 0;
	padding: 0;
	border: 0;
}

:root .pu-signup input[type="email"] {
	width: 100%;
	min-width: 0;
	margin: 0;
	background: var(--pu-input-fill);
	border: 1px solid var(--pu-input-border);
	border-radius: 999px;
	padding: 16px 22px;
	font-family: var(--pu-sans);
	font-size: 16px;
	line-height: normal;
	color: var(--pu-cream);
	outline: none;
	transition: border-color var(--pu-ease);
}

:root .pu-signup input[type="email"]:focus {
	border-color: var(--pu-magenta);
}

:root .pu-signup .gform_footer {
	flex: none;
	margin: 0;
	padding: 0;
}

:root .pu-signup .gform_button,
:root .pu-form-panel .gform_button {
	-webkit-appearance: none;
	appearance: none;
	background: var(--pu-magenta);
	color: var(--pu-plum);
	border: 0;
	border-radius: 999px;
	padding: 16px 26px;
	font-family: var(--pu-sans);
	font-size: 16px;
	font-weight: 800;
	line-height: normal;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--pu-ease), color var(--pu-ease);
}

:root .pu-signup .gform_button:hover,
:root .pu-signup .gform_button:focus-visible,
:root .pu-form-panel .gform_button:hover,
:root .pu-form-panel .gform_button:focus-visible {
	background: var(--pu-cream);
	color: var(--pu-plum);
}

:root .pu-signup__note {
	flex-basis: 100%;
	font-size: 13px;
	line-height: normal;
	color: rgba(251, 234, 240, 0.5);
}

:root .pu-signup .gfield_validation_message {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--pu-cream);
}

:root .pu-signup .gfield_validation_message::before,
:root .pu-form-panel .gfield_validation_message::before {
	content: "— ";
	color: var(--pu-magenta);
	font-weight: 900;
}

:root .pu-signup .gfield_error input[type="email"] {
	border-color: var(--pu-magenta);
}

:root .pu-signup__done {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--pu-cream);
}

:root .pu-signup--sm .pu-signup__form {
	max-width: 480px;
}

:root .pu-signup--sm .gform_body {
	flex-basis: 200px;
}

:root .pu-signup--sm input[type="email"] {
	padding: 14px 20px;
	font-size: 15px;
}

:root .pu-signup--sm .gform_button {
	padding: 14px 22px;
	font-size: 15px;
}

:root .pu-hp,
:root .gform_validation_container {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Home: warning strip -------------------------------------------------- */

:root .pu-ticker {
	background: var(--pu-cream);
	color: var(--pu-plum);
	overflow: hidden;
	border-bottom: 1px solid var(--pu-border);
}

:root .pu-ticker__track {
	display: flex;
	width: max-content;
	white-space: nowrap;
	padding: 12px 0;
	font-family: var(--pu-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.18em;
	line-height: normal;
}

:root .pu-ticker__track > p {
	padding: 0 28px;
	border-right: 2px solid var(--pu-magenta);
}

@media (prefers-reduced-motion: no-preference) {
	.pu-site .pu-ticker__track {
		animation: pu-marquee 40s linear infinite;
	}

	.pu-site .pu-ticker:hover .pu-ticker__track {
		animation-play-state: paused;
	}
}

@keyframes pu-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* Home: agenda cards --------------------------------------------------- */

:root .pu-agenda {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: var(--pu-section) var(--pu-gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(260px, calc(33.333% - 24px))), 1fr));
	gap: 24px;
}

:root .pu-agenda__head {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 720px;
	margin-bottom: 16px;
}

:root .pu-card {
	background: var(--pu-plum);
	border-radius: 16px;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

:root .pu-card__num {
	font-family: var(--pu-mono);
	font-size: 40px;
	font-weight: 500;
	line-height: 1;
	color: var(--pu-magenta);
}

:root .pu-card__title {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

:root .pu-card__body {
	font-size: 15px;
	line-height: 1.5;
	color: rgba(251, 234, 240, 0.72);
}

/* Magenta band (home + Employee of the Month) -------------------------- */

:root .pu-band {
	background: var(--pu-magenta);
	color: var(--pu-plum);
}

:root .pu-band .pu-eyebrow {
	color: inherit;
	font-weight: 500;
}

:root .pu-band__inner {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: clamp(56px, 7vw, 100px) var(--pu-gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, calc(50% - 40px))), 1fr));
	gap: 40px;
	align-items: center;
}

:root .pu-band__left {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

:root .pu-band__title {
	font-size: clamp(44px, 6.4vw, 96px);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 0.82;
	color: var(--pu-white);
	overflow-wrap: anywhere;
}

:root .pu-band__right {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 480px;
}

:root .pu-band__right > p {
	font-size: 19px;
	line-height: 1.45;
	font-weight: 500;
}

:root .pu-band a:not(.wp-block-button__link) {
	color: inherit;
	text-decoration: underline;
}

:root .pu-band--page .pu-band__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
}

:root .pu-giant {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-weight: 900;
	color: var(--pu-white);
}

:root .pu-giant__big {
	/* Design min is 80px; below ~545px that overflows a phone, so it scales with the viewport there. */
	font-size: clamp(48px, 15vw, 220px);
	letter-spacing: -0.065em;
	line-height: 0.78;
}

:root .pu-giant__small {
	font-size: clamp(28px, 3.6vw, 52px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: normal;
	color: var(--pu-plum);
}

/* Hosts ---------------------------------------------------------------- */

:root .pu-hosts {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: var(--pu-section) var(--pu-gutter);
	display: flex;
	flex-direction: column;
	gap: 32px;
}

:root .pu-headrow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}

:root .pu-grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(280px, calc(50% - 24px))), 1fr));
	gap: 24px;
}

:root .pu-grid-2--wide {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, calc(50% - 40px))), 1fr));
	gap: 40px;
}

:root .pu-host {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

:root .pu-host__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

:root .pu-host__name {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: normal;
}

:root .pu-host__role {
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	color: var(--pu-magenta);
}

:root .pu-host__bio {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(251, 234, 240, 0.72);
}

:root .pu-host--lg {
	gap: 20px;
}

:root .pu-host--lg .pu-host__name {
	font-size: 32px;
	letter-spacing: -0.035em;
}

:root .pu-host--lg .pu-host__role {
	font-size: 15px;
	margin-top: -14px;
}

:root .pu-host--lg .pu-host__bio {
	margin-top: 0;
	font-size: 16px;
	line-height: 1.55;
	color: rgba(251, 234, 240, 0.75);
}

/* Home: story CTA ------------------------------------------------------ */

:root .pu-cta {
	border-top: 1px solid var(--pu-border);
}

:root .pu-cta__inner {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: var(--pu-section) var(--pu-gutter);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

:root .pu-cta__title {
	max-width: 14ch;
	font-size: var(--wp--preset--font-size--cta-heading, clamp(40px, 6.5vw, 96px));
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 0.85;
}

:root .pu-cta__lede {
	max-width: 520px;
	font-size: 18px;
	line-height: 1.5;
	color: rgba(251, 234, 240, 0.72);
}

/* Subpages ------------------------------------------------------------- */

:root .pu-subpage {
	padding-top: var(--pu-subpage);
	padding-bottom: var(--pu-subpage);
}

:root .pu-intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 820px;
}

:root .pu-intro--press {
	max-width: 760px;
}

:root .pu-stack-page {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 5vw, 64px);
}

/* Two-column form pages (submit, ask, guest, employee) */
:root .pu-formpage {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: var(--pu-subpage) var(--pu-gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(320px, calc(50% - 80px))), 1fr));
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

:root .pu-formpage--tight {
	padding: clamp(48px, 6vw, 88px) var(--pu-gutter);
}

:root .pu-formpage__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

:root .pu-dashlist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
	line-height: normal;
	color: rgba(251, 234, 240, 0.7);
}

:root .pu-dashlist li {
	display: flex;
	gap: 10px;
}

:root .pu-dashlist li::before {
	content: "—";
	color: var(--pu-magenta);
	font-weight: 900;
	flex: none;
}

/* Story / question pill toggle */
:root .pu-toggle {
	align-self: flex-start;
	gap: 6px;
	border: 1px solid var(--pu-input-border);
	border-radius: 999px;
	padding: 4px;
}

:root .pu-toggle .wp-block-button__link {
	background: transparent;
	color: rgba(251, 234, 240, 0.7);
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 800;
	line-height: normal;
}

:root .pu-toggle .wp-block-button__link:hover {
	background: transparent;
	color: var(--pu-cream);
}

:root .pu-toggle .is-active .wp-block-button__link,
:root .pu-toggle .is-active .wp-block-button__link:hover {
	background: var(--pu-magenta);
	color: var(--pu-plum);
}

/* Form panel (fallback markup and Gravity Forms output) */
:root .pu-form-panel {
	background: var(--pu-plum);
	border-radius: 20px;
	padding: clamp(24px, 3vw, 40px);
	scroll-margin-top: 100px;
	min-width: 0;
}

:root .pu-form-panel form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
}

:root .pu-form-panel .gform_body,
:root .pu-form-panel .gform-body {
	margin: 0;
	padding: 0;
}

:root .pu-form-panel .gform_fields {
	display: flex !important;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

:root .pu-form-panel .gfield {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	max-width: none;
}

:root .pu-form-panel .gfield_label,
:root .pu-form-panel legend.gfield_label {
	display: block;
	margin: 0;
	padding: 0;
	font-family: var(--pu-sans);
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	color: var(--pu-cream);
}

:root .pu-form-panel .pu-sublabel {
	font-weight: 400;
	color: rgba(251, 234, 240, 0.5);
}

:root .pu-form-panel .gfield_required:not(.screen-reader-text) {
	display: none;
}

:root .pu-form-panel .ginput_container {
	margin: 0;
	padding: 0;
}

:root .pu-form-panel input[type="text"],
:root .pu-form-panel input[type="email"],
:root .pu-form-panel input[type="url"],
:root .pu-form-panel input[type="tel"],
:root .pu-form-panel textarea {
	display: block;
	width: 100%;
	margin: 0;
	background: var(--pu-input-fill);
	border: 1px solid var(--pu-input-border);
	border-radius: 12px;
	padding: 14px 16px;
	font-family: var(--pu-sans);
	font-size: 16px;
	line-height: normal;
	color: var(--pu-cream);
	outline: none;
	box-shadow: none;
	transition: border-color var(--pu-ease);
}

:root .pu-form-panel textarea {
	line-height: 1.5;
	resize: vertical;
	height: auto;
	min-height: 0;
}

:root .pu-form-panel input:focus,
:root .pu-form-panel textarea:focus {
	border-color: var(--pu-magenta);
}

:root .pu-form-panel .gfield--type-checkbox .gchoice {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}

:root .pu-form-panel input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	flex: none;
	accent-color: var(--pu-magenta);
	cursor: pointer;
}

:root .pu-form-panel .gchoice label {
	font-size: 15px;
	font-weight: 400;
	color: var(--pu-cream);
	cursor: pointer;
	margin: 0;
	max-width: none;
}

:root .pu-form-panel .gform_footer {
	display: flex;
	margin: 0;
	padding: 0;
}

:root .pu-form-panel .gform_button {
	width: 100%;
	padding: 18px 28px;
	font-size: 17px;
}

:root .pu-form-panel--story .gform_footer,
:root .pu-form-panel--question .gform_footer {
	margin-top: 6px;
}

:root .pu-form-panel .gfield_validation_message,
:root .pu-form-panel .validation_message {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--pu-cream);
}

:root .pu-form-panel .gfield_error input,
:root .pu-form-panel .gfield_error textarea {
	border-color: var(--pu-magenta);
}

:root .pu-form-panel .gfield_error .gfield_label {
	color: var(--pu-cream);
}

:root .pu-form-panel .gform_validation_errors {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--pu-magenta);
	border-radius: 12px;
	background: none;
	box-shadow: none;
}

:root .pu-form-panel .gform_validation_errors p,
:root .pu-form-panel .gform_validation_errors h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--pu-cream);
}

:root .pu-form-panel .gform_confirmation_message,
:root .pu-sent {
	font-size: var(--wp--preset--font-size--section-heading, clamp(32px, 4.4vw, 56px));
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.95;
	color: var(--pu-cream);
}

:root .pu-form-panel--sent:focus {
	outline: none;
}

/* Employee of the Month: wall of fame */
:root .pu-wall {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

:root .pu-wall__label,
:root .pu-kit__label,
:root .pu-stamps__label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: normal;
	text-transform: uppercase;
	color: rgba(251, 234, 240, 0.55);
}

:root .pu-wall__list {
	list-style: none;
	margin: -12px 0 0;
	padding: 0;
}

:root .pu-wall__row {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--pu-border);
	margin-top: 12px;
}

:root .pu-wall__ep {
	font-family: var(--pu-mono);
	font-size: 13px;
	line-height: normal;
	color: var(--pu-magenta);
	padding-top: 4px;
}

:root .pu-wall__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

:root .pu-wall__who {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: normal;
}

:root .pu-wall__crime {
	font-size: 15px;
	line-height: 1.45;
	color: rgba(251, 234, 240, 0.7);
}

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

:root .pu-about {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: var(--pu-subpage) var(--pu-gutter);
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 6vw, 80px);
}

:root .pu-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(220px, calc(33.333% - 20px))), 1fr));
	gap: 20px;
	border-top: 1px solid var(--pu-border);
	padding-top: 40px;
}

:root .pu-fact {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

:root .pu-fact__k {
	font-family: var(--pu-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.16em;
	line-height: normal;
	text-transform: uppercase;
	color: rgba(251, 234, 240, 0.5);
}

:root .pu-fact__v {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: normal;
}

/* Be a guest tiles */
:root .pu-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(160px, calc(33.333% - 16px))), 1fr));
	gap: 16px;
	margin-top: 8px;
}

:root .pu-tile {
	border: 1px solid rgba(251, 234, 240, 0.12);
	border-radius: 14px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

:root .pu-tile__v {
	font-size: 17px;
	font-weight: 700;
	line-height: normal;
}

/* Press ---------------------------------------------------------------- */

:root .pu-press {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: var(--pu-subpage) var(--pu-gutter);
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 5vw, 64px);
}

:root .pu-grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(240px, calc(33.333% - 20px))), 1fr));
	gap: 20px;
}

:root .pu-contact {
	background: var(--pu-plum);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

:root .pu-contact__email {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: normal;
	word-break: break-all;
}

:root .pu-contact__email a {
	color: var(--pu-cream);
	transition: color var(--pu-ease);
}

:root .pu-contact__email a:hover {
	color: var(--pu-magenta);
}

:root .pu-contact__note {
	font-size: 14px;
	line-height: 1.45;
	color: rgba(251, 234, 240, 0.65);
}

:root .pu-kit {
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-top: 1px solid var(--pu-border);
	padding-top: 40px;
}

:root .pu-kit__links {
	gap: 10px;
}

:root .pu-kit__links .wp-block-button__link {
	padding: 12px 20px;
}

/* Episodes ------------------------------------------------------------- */

:root .pu-episode {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: clamp(48px, 6vw, 88px) var(--pu-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

@media (min-width: 720px) {
	:root .pu-episode {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	}

	:root .pu-episode__aside {
		position: sticky;
		top: 92px;
	}
}

:root .pu-episode__aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

:root .pu-episode__main {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

:root .pu-ep-cover {
	position: relative;
	aspect-ratio: 1;
	border-radius: 16px;
	overflow: hidden;
	background: var(--pu-magenta);
}

:root .pu-ep-cover svg,
:root .pu-ep-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

:root .pu-ep-cover svg text {
	font-family: var(--pu-sans);
}

:root .pu-ep-cover__tag {
	position: absolute;
	left: 20px;
	top: 20px;
	background: var(--pu-plum);
	color: var(--pu-cream);
	font-family: var(--pu-mono);
	font-size: 13px;
	letter-spacing: 0.14em;
	line-height: normal;
	padding: 8px 12px;
}

:root .pu-player {
	background: var(--pu-plum);
	border-radius: 16px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

:root .pu-player__row {
	display: flex;
	align-items: center;
	gap: 14px;
}

:root .pu-player__play {
	width: 52px;
	height: 52px;
	flex: none;
	border-radius: 50%;
	border: 0;
	background: var(--pu-magenta);
	color: var(--pu-plum);
	display: grid;
	place-items: center;
	font-size: 18px;
	font-weight: 900;
	cursor: not-allowed;
}

:root .pu-player__track {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

:root .pu-player__bar {
	position: relative;
	height: 6px;
	border-radius: 3px;
	background: rgba(251, 234, 240, 0.15);
}

:root .pu-player__bar span {
	position: absolute;
	inset: 0 auto 0 0;
	border-radius: 3px;
	background: var(--pu-magenta);
}

:root .pu-player__times {
	display: flex;
	justify-content: space-between;
	font-family: var(--pu-mono);
	font-size: 12px;
	line-height: normal;
	color: rgba(251, 234, 240, 0.55);
}

:root .pu-player__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

:root .pu-player__embed iframe {
	width: 100%;
	border: 0;
	border-radius: 12px;
}

:root .pu-ep-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

:root .pu-ep-title {
	font-size: var(--wp--preset--font-size--episode-title, clamp(36px, 4.6vw, 64px));
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 0.9;
}

:root .pu-ep-desc {
	display: flex;
	flex-direction: column;
	gap: 1em;
	font-size: 18px;
	line-height: 1.55;
	color: rgba(251, 234, 240, 0.78);
	text-wrap: pretty;
}

:root .pu-guest-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px;
	border: 1px solid rgba(251, 234, 240, 0.12);
	border-radius: 14px;
}

:root .pu-guest-card__photo {
	width: 96px;
	height: 96px;
	flex: none;
	border-radius: 50%;
	overflow: hidden;
	background: var(--pu-plum);
}

:root .pu-guest-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

:root .pu-guest-card__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: normal;
}

:root .pu-guest-card__label {
	font-family: var(--pu-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(251, 234, 240, 0.5);
}

:root .pu-guest-card__name {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

:root .pu-guest-card__line {
	font-size: 14px;
	color: rgba(251, 234, 240, 0.65);
}

:root .pu-stamps {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

:root .pu-stamps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

:root .pu-stamps__row {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--pu-border);
	font-size: 16px;
	line-height: normal;
}

:root .pu-stamps__time {
	font-family: var(--pu-mono);
	color: var(--pu-magenta);
}

:root .pu-stamps__text {
	color: rgba(251, 234, 240, 0.85);
}

:root .pu-eotm-callout {
	background: var(--pu-magenta);
	color: var(--pu-plum);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

:root .pu-eotm-callout .pu-eyebrow {
	color: inherit;
	font-weight: 500;
}

:root .pu-eotm-callout__name {
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.95;
}

:root .pu-eotm-callout__quote {
	font-size: 17px;
	line-height: 1.45;
	font-weight: 500;
}

/* Episode archive */
:root .pu-ep-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 24px;
}

:root .pu-ep-card a {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--pu-cream);
}

:root .pu-ep-card__meta {
	font-family: var(--pu-mono);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pu-magenta);
}

:root .pu-ep-card__title {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	transition: color var(--pu-ease);
}

:root .pu-ep-card a:hover .pu-ep-card__title {
	color: var(--pu-magenta);
}

/* Plain pages (Privacy, Terms) ----------------------------------------- */

:root .pu-page {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 880px;
}

:root .pu-prose {
	font-size: 18px;
	line-height: 1.55;
	color: rgba(251, 234, 240, 0.78);
}

:root .pu-prose > * + * {
	margin-top: 1em;
}

:root .pu-prose :where(h2, h3) {
	margin-top: 1.6em;
	color: var(--pu-cream);
}

:root .pu-prose a {
	text-decoration: underline;
}

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

:root .wp-site-blocks > footer.pu-footer,
:root footer.wp-block-template-part.pu-footer {
	border-top: 1px solid var(--pu-border);
	margin-top: 0;
}

:root .pu-footer__inner {
	max-width: var(--pu-max);
	margin: 0 auto;
	padding: clamp(48px, 6vw, 80px) var(--pu-gutter) 32px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

:root .pu-footer__top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(280px, calc(50% - 40px))), 1fr));
	gap: 40px;
	align-items: start;
}

:root .pu-footer__signup {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

:root .pu-footer__title {
	font-size: var(--wp--preset--font-size--footer-heading, clamp(28px, 3.4vw, 44px));
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 0.9;
}

:root .pu-footer__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

:root .pu-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

:root .pu-footer__label {
	font-family: var(--pu-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	line-height: normal;
	text-transform: uppercase;
	color: rgba(251, 234, 240, 0.5);
}

:root .pu-footer__link {
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
}

:root .pu-footer__link a {
	color: rgba(251, 234, 240, 0.8);
	transition: color var(--pu-ease);
}

:root .pu-footer__link a:hover {
	color: var(--pu-magenta);
}

:root .pu-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	border-top: 1px solid var(--pu-border);
	padding-top: 24px;
}

:root .pu-footer__legal-mark {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	line-height: normal;
	color: rgba(251, 234, 240, 0.55);
}

:root .pu-footer__legal-mark img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	flex: none;
	display: block;
}

:root .pu-footer__legal {
	display: flex;
	gap: 18px;
	font-size: 13px;
	line-height: normal;
}

:root .pu-footer__legal a {
	color: rgba(251, 234, 240, 0.55);
}

:root .pu-footer__legal a:hover {
	color: var(--pu-cream);
}

/* Main content fills the viewport so the footer sits at the bottom. */
:root .wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 0;
}

:root .wp-site-blocks > .pu-main {
	flex: 1;
	margin-top: 0;
}

:root .wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Gravity Forms: the story checkbox's legend is for screen readers only. */
:root .pu-form-panel .gfield--no-legend > legend {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
