/*
 * Homepage sections after the hero: shared section layout, then one block per
 * section in page order. Spacing comes from the --pm-space-* scale and
 * --pm-section-y (see tokens.css).
 */

/* ---------- Shared ---------- */
.pm-section {
	position: relative;
	padding-block-start: var(--pm-section-y);
}

.pm-main > .pm-section:last-child {
	padding-block-end: var(--pm-section-y);
}

.pm-eyebrow {
	margin-block-end: var(--pm-space-3);
	color: var(--pm-accent);
	font-family: var(--pm-font-display);
	font-size: clamp(11px, 0.9vw, 13px);
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.3;
	text-transform: uppercase;
}

.pm-heading {
	font-size: clamp(26px, 2.35vw, 34px);
	letter-spacing: -0.005em;
	line-height: 1.08;
}

.pm-line {
	display: block;
}

.pm-section-head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: end;
	gap: var(--pm-space-5) clamp(24px, 4vw, 72px);
	margin-block-end: var(--pm-section-head-gap);
}

.pm-section-head__intro {
	max-width: 30em;
	color: var(--pm-text-2);
	font-size: clamp(14.5px, 1.05vw, 16px);
	line-height: 1.55;
}

.pm-text-link {
	display: inline-flex;
	align-items: center;
	gap: var(--pm-space-3);
	padding-block-end: 6px;
	border-bottom: 1px solid currentColor;
	color: var(--pm-accent);
	font-family: var(--pm-font-display);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.pm-text-link .pm-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--pm-ease);
}

.pm-text-link:hover .pm-icon {
	transform: translateX(3px);
}

/* Heading column + content column (process, testimonials). */
.pm-split {
	display: grid;
	grid-template-columns: minmax(200px, 0.27fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--pm-space-6) clamp(32px, 3.5vw, 56px);
}

.pm-empty {
	display: flex;
	align-items: center;
	gap: var(--pm-space-4);
	padding: var(--pm-space-5) var(--pm-space-6);
	border: 1px dashed rgb(255 255 255 / 16%);
	border-radius: var(--pm-radius-lg);
	background: rgb(255 255 255 / 2%);
	color: var(--pm-text-2);
	font-size: 15px;
}

.pm-empty__icon {
	flex: none;
	width: 16px;
	height: auto;
	color: var(--pm-accent);
}

@media (max-width: 999.98px) {
	.pm-section-head {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}

	.pm-section-head__intro {
		grid-column: 1 / -1;
		grid-row: 2;
	}

}

@media (max-width: 1199.98px) {
	.pm-split {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 599.98px) {
	.pm-section-head {
		grid-template-columns: minmax(0, 1fr);
	}

	.pm-section-head > .pm-text-link {
		justify-self: start;
	}
}

/*
 * Shared card hover: the Services card treatment (yellow border, soft glow and
 * a 3px lift), reused by every card so the site has one interaction language.
 * Only on devices that really hover, so taps never leave a card "stuck", and
 * without the lift for visitors who prefer reduced motion. It adds no cursor
 * change, so cards that are not links do not pretend to be.
 */
.pm-hover {
	transition:
		background-color 0.25s var(--pm-ease),
		border-color 0.25s var(--pm-ease),
		box-shadow 0.25s var(--pm-ease),
		transform 0.25s var(--pm-ease);
}

/* Items with no card of their own (tools, process steps) gain one on hover. */
.pm-hover--ghost {
	border: 1px solid transparent;
	border-radius: var(--pm-radius-lg);
}

@media (hover: hover) {
	.pm-hover:hover {
		border-color: var(--pm-card-border-hover);
		box-shadow: 0 18px 40px -26px var(--pm-glow);
		transform: translateY(-3px);
	}

	.pm-hover--ghost:hover {
		background-color: var(--pm-card-bg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pm-hover:hover {
		transform: none;
	}
}

/* Labels for demo (sample) content: small yellow pill and a muted note. */
.pm-demo-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border: 1px solid rgb(239 252 25 / 45%);
	border-radius: 999px;
	background: rgb(10 10 10 / 72%);
	color: var(--pm-accent);
	font-family: var(--pm-font-display);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	white-space: nowrap;
}

.pm-demo-note {
	margin-block-start: var(--pm-space-4);
	color: var(--pm-text-muted);
	font-size: 12.5px;
	line-height: 1.5;
}

/* ---------- Tools I master ---------- */
.pm-home .pm-tools {
	/* The hero already ends with open space below its buttons. */
	padding-block-start: var(--pm-space-5);
}

.pm-tools__panel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	padding: var(--pm-space-5) clamp(20px, 2.6vw, 40px);
	border: 1px solid var(--pm-card-border);
	border-radius: var(--pm-radius-lg);
	background: linear-gradient(180deg, var(--pm-card-bg-top), var(--pm-card-bg));
}

.pm-tools__title {
	margin-inline-end: clamp(20px, 2.6vw, 40px);
	padding-block: var(--pm-space-3);
	padding-inline-end: clamp(20px, 2.6vw, 40px);
	border-inline-end: 1px solid rgb(255 255 255 / 18%);
	font-size: clamp(15px, 1.2vw, 18px);
	letter-spacing: 0.01em;
	line-height: 1.2;
	white-space: nowrap;
}

.pm-tools__list {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: var(--pm-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Padding offset by a negative margin: the hover card grows into the gap, so the content does not move. */
.pm-tool {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	margin: calc(-1 * var(--pm-space-2));
	padding: var(--pm-space-2);
}

.pm-tool-badge {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-block-end: var(--pm-space-3);
	border: 1.5px solid var(--pm-badge-fg);
	border-radius: 9px;
	background: var(--pm-badge-bg);
	box-shadow: 0 6px 18px -8px var(--pm-badge-fg);
	color: var(--pm-badge-fg);
	font-family: var(--pm-font-body);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
}

.pm-tool-badge--figma {
	border-color: rgb(255 255 255 / 22%);
	background: #1e1e1e;
	box-shadow: none;
}

.pm-tool-badge--image {
	overflow: hidden;
	border: 0;
	background: none;
	box-shadow: none;
}

.pm-tool-badge--image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pm-tool__name {
	color: var(--pm-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.pm-tool__desc {
	margin-block-start: var(--pm-space-1);
	color: var(--pm-text-muted);
	font-size: 12.5px;
	line-height: 1.4;
}

@media (max-width: 1199.98px) {
	.pm-tools__panel {
		grid-template-columns: minmax(0, 1fr);
		padding: var(--pm-space-6);
	}

	.pm-tools__title {
		margin: 0 0 var(--pm-space-5);
		padding: 0;
		border: 0;
		white-space: normal;
	}

	.pm-tools__title .pm-line {
		display: inline;
	}

	.pm-tools__title .pm-line + .pm-line::before {
		content: " ";
	}

	.pm-tools__list {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--pm-space-5) var(--pm-space-4);
	}
}

@media (max-width: 599.98px) {
	.pm-tools__panel {
		padding: var(--pm-space-5);
	}

	.pm-tools__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- About ---------- */
.pm-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	align-items: center;
	gap: var(--pm-space-7) clamp(32px, 4vw, 64px);
}

.pm-about__text {
	display: grid;
	gap: var(--pm-space-4);
	max-width: 36em;
	margin-block-start: var(--pm-space-5);
	color: var(--pm-text-2);
	font-size: clamp(15px, 1.1vw, 16.5px);
	line-height: 1.65;
}

.pm-about__stats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pm-space-5) var(--pm-space-6);
	margin: var(--pm-space-6) 0 0;
	padding: 0;
	list-style: none;
}

.pm-about__stat {
	display: flex;
	align-items: center;
	gap: var(--pm-space-3);
	color: var(--pm-text-2);
	font-size: 14px;
	line-height: 1.35;
}

.pm-about__stat strong {
	display: block;
	color: var(--pm-text);
	font-weight: 600;
}

.pm-about__stat-icon {
	flex: none;
	width: 32px;
	height: 32px;
	color: var(--pm-accent);
}

.pm-about__action {
	margin-block-start: var(--pm-space-6);
}

.pm-about__visual {
	position: relative;
	isolation: isolate;
	padding-inline-end: clamp(48px, 9%, 120px);
}

/* Soft yellow light behind the image. */
.pm-about__visual::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 12% 22% 8% 10%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(239 252 25 / 20%), transparent);
	filter: blur(30px);
}

.pm-about__frame {
	aspect-ratio: 16 / 11;
}

.pm-about__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image:
		linear-gradient(to right, transparent 0%, #000 12%, #000 84%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 10%, #000 84%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(to right, transparent 0%, #000 12%, #000 84%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 10%, #000 84%, transparent 100%);
	mask-composite: intersect;
}

.pm-about__script {
	position: absolute;
	top: 6%;
	right: 0;
	color: rgb(255 255 255 / 88%);
	font-family: var(--pm-font-script);
	font-size: clamp(38px, 3.6vw, 54px);
	line-height: 0.82;
	text-shadow: 0 2px 16px rgb(0 0 0 / 70%);
	transform: rotate(-8deg);
	transform-origin: top right;
	pointer-events: none;
}

.pm-about__script .pm-line:nth-child(even) {
	padding-inline-start: 0.6em;
}

.pm-about__pixels {
	position: absolute;
	right: clamp(8px, 2%, 24px);
	bottom: 6%;
	width: clamp(22px, 2.4vw, 32px);
	color: var(--pm-accent);
	filter: drop-shadow(0 0 14px rgb(239 252 25 / 45%));
}

@media (max-width: 999.98px) {
	.pm-about__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pm-about__visual {
		max-width: 720px;
	}
}

@media (max-width: 599.98px) {
	.pm-about__visual {
		margin-inline: calc(-1 * var(--pm-gutter));
		padding-inline-end: 0;
	}

	.pm-about__script {
		right: var(--pm-gutter);
		font-size: 30px;
	}
}

/* ---------- Services ---------- */
.pm-services__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(12px, 1.2vw, 18px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-service {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: var(--pm-space-5) 20px 20px;
	border: 1px solid var(--pm-card-border);
	border-radius: var(--pm-radius-lg);
	background: linear-gradient(180deg, var(--pm-card-bg-top), var(--pm-card-bg));
}

.pm-service__icon {
	width: 36px;
	height: 36px;
	color: var(--pm-accent);
}

.pm-service__title {
	margin-block-start: 18px;
	font-family: var(--pm-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
}

.pm-service__link {
	text-decoration: none;
}

/* The whole card is the link's click target. */
.pm-service__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.pm-service__link:focus-visible {
	outline: none;
}

.pm-service:has(.pm-service__link:focus-visible) {
	outline: 2px solid var(--pm-accent);
	outline-offset: 3px;
}

.pm-service__desc {
	flex: 1;
	margin-block-start: var(--pm-space-2);
	color: var(--pm-text-muted);
	font-size: 13.5px;
	line-height: 1.5;
}

.pm-service__arrow {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-block-start: 18px;
	border: 1.5px solid var(--pm-accent);
	border-radius: 50%;
	color: var(--pm-accent);
	transition:
		background-color 0.25s var(--pm-ease),
		color 0.25s var(--pm-ease);
}

.pm-service__arrow .pm-icon {
	width: 14px;
	height: 14px;
}

/* The card itself uses the shared .pm-hover effect; the arrow fills in too. */
@media (hover: hover) {
	.pm-service--link:hover .pm-service__arrow {
		background: var(--pm-accent);
		color: var(--pm-on-accent);
	}
}

@media (max-width: 1199.98px) {
	.pm-services__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 699.98px) {
	.pm-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 459.98px) {
	.pm-services__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Creative workstation (full-width band) ---------- */
.pm-section--band {
	--pm-band-pad: clamp(48px, 5vw, 72px);
	margin-block-start: var(--pm-section-y);
	padding-block: var(--pm-band-pad);
	overflow: clip;
	border-block: 1px solid var(--pm-border);
	background: linear-gradient(90deg, #080908 0%, #0d0e0b 50%, #080908 100%);
}

/* The section after a band keeps the normal gap from the band's edge. */
.pm-section--band + .pm-section {
	padding-block-start: var(--pm-section-y);
}

.pm-workstation__inner {
	position: relative;
	display: grid;
	/* The highlights column fits its longest label ("High-Quality Output") on one line. */
	grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr) minmax(232px, 0.22fr);
	align-items: center;
	min-height: clamp(300px, 27vw, 390px);
}

.pm-workstation__content {
	position: relative;
	z-index: 2;
	grid-column: 1;
	grid-row: 1;
}

.pm-workstation__text {
	max-width: 30em;
	margin-block-start: var(--pm-space-4);
	color: var(--pm-text-2);
	font-size: clamp(15px, 1.05vw, 16px);
	line-height: 1.6;
}

.pm-workstation__action {
	margin-block-start: var(--pm-space-5);
}

/* The image fills the band's height and fades into it at the sides. */
.pm-workstation__media {
	z-index: 1;
	grid-column: 2;
	grid-row: 1;
	align-self: stretch;
	margin-block: calc(-1 * var(--pm-band-pad));
	margin-inline: -2% -6%;
}

.pm-workstation__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% 50%;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.pm-workstation__features {
	position: relative;
	z-index: 2;
	display: grid;
	grid-column: 3;
	grid-row: 1;
	gap: 22px;
	margin: 0;
	padding: 0 0 0 var(--pm-space-4);
	list-style: none;
}

.pm-workstation__features li {
	display: flex;
	align-items: center;
	gap: var(--pm-space-3);
	color: #e2e2e2;
	font-size: 14.5px;
	line-height: 1.3;
	white-space: nowrap;
}

.pm-workstation__icon {
	flex: none;
	width: 26px;
	height: 26px;
	color: var(--pm-accent);
}

@media (max-width: 1199.98px) {
	.pm-workstation__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--pm-space-6);
		min-height: 0;
	}

	.pm-workstation__content,
	.pm-workstation__media,
	.pm-workstation__features {
		grid-column: 1;
		grid-row: auto;
	}

	.pm-workstation__media {
		aspect-ratio: 16 / 8;
		margin: 0 calc(-1 * var(--pm-gutter));
	}

	.pm-workstation__image {
		-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
		mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
	}

	.pm-workstation__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--pm-space-5);
		padding: 0;
	}
}

@media (max-width: 599.98px) {
	.pm-workstation__features li {
		white-space: normal;
	}

	.pm-workstation__media {
		aspect-ratio: 4 / 3;
	}
}

/* ---------- Work process ---------- */
.pm-process__steps {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: var(--pm-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Padding offset by a negative margin, as for the tools: hovering never shifts the layout. */
.pm-step {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: start;
	gap: var(--pm-space-4);
	margin: calc(-1 * var(--pm-space-3));
	padding: var(--pm-space-3);
}

.pm-step__icon {
	width: 38px;
	height: 38px;
	margin-block-start: 6px;
	color: var(--pm-accent);
}

.pm-step__number {
	display: block;
	color: var(--pm-text-muted);
	font-size: 13px;
	line-height: 1.3;
}

.pm-step__title {
	margin-block: 2px var(--pm-space-1);
	font-family: var(--pm-font-body);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
}

.pm-step__text {
	color: var(--pm-text-muted);
	font-size: 13.5px;
	line-height: 1.5;
}

.pm-step__arrow {
	width: 20px;
	height: 20px;
	margin-block-start: 16px;
	color: var(--pm-text-muted);
}

.pm-step:last-child .pm-step__arrow {
	visibility: hidden;
}

@media (max-width: 899.98px) {
	.pm-process__steps {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--pm-space-6) var(--pm-space-5);
	}

	.pm-step {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.pm-step__arrow {
		display: none;
	}
}

@media (max-width: 559.98px) {
	.pm-process__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--pm-space-5);
	}
}

/* ---------- Testimonials ---------- */
.pm-carousel {
	display: flex;
	align-items: center;
	gap: var(--pm-space-5);
	min-width: 0;
}

.pm-carousel__track {
	--pm-per-view: 3;
	display: grid;
	flex: 1;
	grid-auto-columns: calc((100% - (var(--pm-per-view) - 1) * var(--pm-space-4)) / var(--pm-per-view));
	grid-auto-flow: column;
	gap: var(--pm-space-4);
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.pm-carousel__track::-webkit-scrollbar {
	display: none;
}

.pm-testimonial {
	scroll-snap-align: start;
}

/*
 * Avatar beside the rating on the first row; the quote and the name use the
 * card's full width below, so narrow cards stay compact.
 */
.pm-testimonial__figure {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	grid-template-rows: auto 1fr auto;
	align-content: start;
	gap: 14px var(--pm-space-4);
	height: 100%;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--pm-card-border);
	border-radius: var(--pm-radius-lg);
	background: linear-gradient(180deg, var(--pm-card-bg-top), var(--pm-card-bg));
}

.pm-testimonial__avatar {
	grid-column: 1;
	grid-row: 1;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}

.pm-testimonial__avatar--initial {
	display: grid;
	place-items: center;
	border: 1.5px solid var(--pm-accent);
	color: var(--pm-accent);
	font-family: var(--pm-font-display);
	font-size: 22px;
	font-weight: 800;
}

.pm-testimonial__body {
	display: contents;
}

.pm-testimonial__top {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--pm-space-2);
}

.pm-stars {
	display: flex;
	gap: 3px;
	color: var(--pm-accent);
}

.pm-stars .pm-icon {
	width: 14px;
	height: 14px;
}

.pm-testimonial__quote {
	grid-column: 1 / -1;
	margin: 0;
	color: #d4d4d4;
	font-size: 13.5px;
	line-height: 1.55;
}

.pm-testimonial__quote p::before {
	content: "\201C";
}

.pm-testimonial__quote p::after {
	content: "\201D";
}

.pm-testimonial__cite {
	grid-column: 1 / -1;
	font-size: 12.5px;
	line-height: 1.4;
}

.pm-testimonial__cite strong {
	display: block;
	color: var(--pm-text);
	font-size: 14px;
	font-weight: 600;
}

.pm-testimonial__cite span {
	color: var(--pm-text-muted);
}

/* One understated label under the heading when the reviews are illustrative. */
.pm-demo-label {
	display: inline-flex;
	align-items: center;
	gap: var(--pm-space-2);
	margin-block-start: var(--pm-space-3);
	color: var(--pm-text-muted);
	font-size: 12.5px;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.pm-demo-label::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	background: var(--pm-accent);
}

.pm-carousel__nav {
	display: flex;
	flex: none;
	gap: 10px;
}

.pm-carousel__nav[hidden] {
	display: none;
}

.pm-carousel__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1.5px solid var(--pm-accent);
	border-radius: 50%;
	background: transparent;
	color: var(--pm-accent);
	cursor: pointer;
	transition:
		background-color 0.2s var(--pm-ease),
		color 0.2s var(--pm-ease),
		opacity 0.2s var(--pm-ease);
}

.pm-carousel__btn .pm-icon {
	width: 16px;
	height: 16px;
}

.pm-carousel__btn:hover:not(:disabled) {
	background: var(--pm-accent);
	color: var(--pm-on-accent);
}

.pm-carousel__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

@media (max-width: 1199.98px) {
	.pm-carousel__track {
		--pm-per-view: 2;
	}
}

@media (max-width: 699.98px) {
	.pm-carousel {
		flex-direction: column;
		align-items: stretch;
	}

	.pm-carousel__track {
		grid-auto-columns: 86%;
	}

	.pm-carousel__nav {
		justify-content: flex-end;
	}
}

/* ---------- Final call to action ---------- */
.pm-cta__box {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--pm-space-5) clamp(24px, 3vw, 48px);
	padding: clamp(28px, 3vw, 44px) clamp(96px, 9vw, 140px) clamp(28px, 3vw, 44px) clamp(24px, 4.5vw, 72px);
	overflow: hidden;
	isolation: isolate;
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 18px;
	background:
		radial-gradient(55% 140% at 0% 100%, rgb(239 252 25 / 26%), transparent 62%),
		linear-gradient(180deg, #10110e, #0a0b09);
}

/* The headline column takes the width of its longest line (up to 56%), so the approved headline keeps its line breaks. */
.pm-cta__box--form {
	grid-template-columns: fit-content(56%) auto minmax(0, 1fr);
}

.pm-cta__title {
	font-size: clamp(24px, 2.3vw, 32px);
}

.pm-cta__swoosh {
	display: inline-block;
	width: 3.4em;
	height: auto;
	margin-inline-start: 0.2em;
	color: var(--pm-accent);
	vertical-align: -0.05em;
}

.pm-cta__divider {
	align-self: stretch;
	width: 1px;
	background: rgb(255 255 255 / 14%);
}

.pm-cta__text {
	max-width: 28em;
	color: var(--pm-text-2);
	font-size: 15px;
	line-height: 1.6;
}

.pm-cta__pixels {
	position: absolute;
	z-index: -1;
	top: 50%;
	right: clamp(20px, 3vw, 44px);
	width: clamp(40px, 4vw, 56px);
	color: var(--pm-accent);
	opacity: 0.9;
	filter: drop-shadow(0 0 22px rgb(239 252 25 / 35%));
	transform: translateY(-50%);
}

@media (max-width: 1099.98px) {
	.pm-cta__box {
		grid-template-columns: minmax(0, 1fr) auto;
		padding-inline-end: clamp(80px, 12vw, 120px);
	}

	.pm-cta__head,
	.pm-cta__box--form .pm-form {
		grid-column: 1 / -1;
	}

	.pm-cta__divider {
		display: none;
	}
}

@media (max-width: 599.98px) {
	.pm-cta__box {
		grid-template-columns: minmax(0, 1fr);
		padding: var(--pm-space-6) var(--pm-space-5);
	}

	.pm-cta__action .pm-btn {
		width: 100%;
	}

	.pm-cta__pixels {
		top: var(--pm-space-5);
		right: var(--pm-space-5);
		width: 26px;
		transform: none;
		opacity: 0.5;
	}
}

/* ---------- Contact form (right side of the call to action) ---------- */
.pm-form {
	position: relative;
	display: grid;
	gap: var(--pm-space-3);
	width: 100%;
}

.pm-form__row--2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--pm-space-3);
}

.pm-field {
	display: grid;
	gap: var(--pm-space-1);
	margin: 0;
}

.pm-input {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid rgb(239 252 25 / 30%);
	border-radius: 6px;
	background-color: rgb(255 255 255 / 3%);
	color: var(--pm-text);
	font-family: var(--pm-font-body);
	font-size: 14.5px;
	line-height: 1.4;
	transition:
		background-color 0.2s var(--pm-ease),
		border-color 0.2s var(--pm-ease),
		box-shadow 0.2s var(--pm-ease);
}

.pm-input::placeholder {
	color: var(--pm-text-muted);
	opacity: 1;
}

.pm-input:hover {
	border-color: rgb(239 252 25 / 60%);
}

.pm-input:focus,
.pm-input:focus-visible {
	border-color: var(--pm-accent);
	outline: none;
	background-color: rgb(255 255 255 / 5%);
	box-shadow: 0 0 0 3px rgb(239 252 25 / 16%);
}

.pm-input[aria-invalid="true"] {
	border-color: #ff7a7a;
}

.pm-textarea {
	min-height: 84px;
	resize: vertical;
}

.pm-select {
	padding-inline-end: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23effc19' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	cursor: pointer;
	appearance: none;
}

/* The "Select a service" prompt reads as a placeholder until a choice is made. */
.pm-select:has(option[value=""]:checked) {
	color: var(--pm-text-muted);
}

.pm-select option {
	background: var(--pm-card-bg);
	color: var(--pm-text);
}

.pm-field__error {
	color: #ff8a8a;
	font-size: 12px;
	line-height: 1.4;
}

.pm-field__error:empty {
	display: none;
}

.pm-form__submit {
	--pm-btn-h: 46px;
	width: 100%;
	border: 0;
	cursor: pointer;
}

.pm-form__submit:disabled {
	opacity: 0.7;
	cursor: default;
}

.pm-form__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: pm-spin 0.7s linear infinite;
}

.pm-form.is-sending .pm-form__spinner {
	display: inline-block;
}

.pm-form.is-sending .pm-btn__icon {
	display: none;
}

@keyframes pm-spin {
	to {
		transform: rotate(360deg);
	}
}

.pm-form__status {
	color: var(--pm-text-2);
	font-size: 13.5px;
	line-height: 1.5;
}

.pm-form__status:empty {
	display: none;
}

.pm-form__status.is-success {
	color: var(--pm-accent);
}

.pm-form__status.is-error {
	color: #ff8a8a;
}

/* Honeypot: off-screen for people, still in the form for bots. */
.pm-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 599.98px) {
	.pm-form__row--2 {
		grid-template-columns: minmax(0, 1fr);
	}
}
