/* PrintForge components: buttons, header, mega menu, drawer, footer, cards, chips, CTA, Elementor helpers. */

/* ------------------------------------------------------------ buttons */

.pf-btn,
.pf-btn-yellow,
.pf-btn-ink,
.pf-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border: 1.5px solid var(--pf-ink);
	border-radius: 0;
	font-family: var(--pf-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

/* Primary action: a solid key-plate block. Class name kept for compatibility with existing markup. */
.pf-btn-yellow,
.pf-btn-ink {
	background: var(--pf-ink);
	color: var(--pf-paper);
}

.pf-btn-yellow:hover,
.pf-btn-ink:hover {
	border-color: var(--pf-magenta);
	background: var(--pf-magenta);
	color: #fff;
}

.pf-btn-ghost {
	border-color: var(--pf-ink);
	background: transparent;
	color: var(--pf-ink);
}

.pf-btn-ghost:hover {
	background: var(--pf-ink);
	color: var(--pf-paper);
}

.pf-btn-lg {
	min-height: 56px;
	padding: 0 32px;
	font-size: 1.0625rem;
}

.pf-btn .pf-icon {
	width: 20px;
	height: 20px;
}

.pf-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.pf-icon {
	flex: 0 0 auto;
}

/* ------------------------------------------------------------ header */

/* A floating white bar on the paper background: rounded, softly bordered, lifted with a shadow once the page scrolls */
.pf-header {
	position: sticky;
	top: 0;
	z-index: 60;
	padding-block: 12px;
	pointer-events: none;
}

.pf-header > * {
	pointer-events: auto;
}

.admin-bar .pf-header {
	top: 32px;
}

.pf-header-in {
	display: flex;
	align-items: center;
	gap: 20px;
	width: calc(100% - var(--pf-gutter) * 2);
	max-width: var(--pf-wrap);
	min-height: 64px;
	padding: 8px 8px 8px 20px;
	background: var(--pf-white);
	border: 1px solid var(--pf-line);
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(22, 22, 26, 0.04);
	transition: box-shadow 0.25s var(--pf-ease), border-color 0.25s var(--pf-ease);
}

.pf-header.is-stuck .pf-header-in {
	border-color: transparent;
	box-shadow: 0 14px 34px -14px rgba(22, 22, 26, 0.28), 0 0 0 1px rgba(22, 22, 26, 0.06);
}

.pf-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--pf-ink);
	text-decoration: none;
}

.pf-brand:hover {
	color: var(--pf-ink);
}

.pf-brand-img {
	width: auto;
	max-height: 44px;
}

.pf-mark {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	transition: transform 0.3s var(--pf-ease);
}

.pf-brand:hover .pf-mark {
	transform: rotate(-8deg);
}

.pf-wordmark {
	font-family: var(--pf-display);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1;
}

.pf-wordmark b {
	font-weight: 800;
}

.pf-primary {
	margin-inline: auto;
}

.pf-nav {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pf-nav > li {
	margin: 0;
}

.pf-nav > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--pf-ink-2);
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.pf-nav > li > a:hover,
.pf-has-mega.is-open > a {
	background: var(--pf-paper-2);
	color: var(--pf-ink);
}

.pf-nav > li.current-menu-item > a {
	background: var(--pf-paper-2);
	color: var(--pf-ink);
	font-weight: 600;
}

.pf-chev {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.pf-has-mega.is-open .pf-chev {
	transform: rotate(180deg);
}

.pf-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.pf-primary + .pf-actions {
	margin-left: 0;
}

.pf-iconbtn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--pf-ink);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.pf-iconbtn:hover {
	background: var(--pf-paper-2);
	color: var(--pf-ink);
}

.pf-iconbtn .pf-icon {
	width: 22px;
	height: 22px;
}

/* The cart is the one filled button in the bar */
.pf-cartlink,
.pf-cartlink:hover {
	background: var(--pf-yellow);
	color: var(--pf-ink);
}

.pf-cartlink:hover {
	background: var(--pf-yellow-hover);
}

.pf-cartcount {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border: 2px solid var(--pf-white);
	border-radius: 999px;
	background: var(--pf-ink);
	color: var(--pf-white);
	font-family: var(--pf-font);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.pf-cartcount:not(.has-items) {
	display: none;
}

.pf-burger {
	display: none;
}

/* Mega menu: a rounded panel that drops from the bar. Its transparent top padding bridges the gap so hover holds. */
.pf-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% - 12px);
	padding-top: 14px;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.pf-has-mega.is-open .pf-mega {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.pf-mega-in {
	width: calc(100% - var(--pf-gutter) * 2);
	max-width: var(--pf-wrap);
	padding: 20px;
	background: var(--pf-white);
	border: 1px solid var(--pf-line);
	border-radius: var(--pf-radius-lg);
	box-shadow: 0 24px 48px -20px rgba(22, 22, 26, 0.3);
}

.pf-mega-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.pf-mega-item {
	display: block;
	padding: 8px 8px 12px;
	border-radius: 14px;
	color: var(--pf-ink);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.pf-mega-item:hover {
	background: var(--pf-paper-2);
	color: var(--pf-ink);
}

.pf-mega-img {
	display: block;
	aspect-ratio: 4 / 3;
	margin-bottom: 10px;
	border-radius: 10px;
	background: var(--pf-paper-2);
	overflow: hidden;
}

.pf-mega-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--pf-ease);
}

.pf-mega-item:hover .pf-mega-img img {
	transform: scale(1.06);
}

.pf-mega-name {
	display: block;
	font-weight: 700;
	line-height: 1.25;
}

.pf-mega-count {
	display: block;
	font-size: 0.8125rem;
	color: var(--pf-muted);
}

.pf-mega-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--pf-ink);
	color: var(--pf-white);
	font-weight: 600;
	text-decoration: none;
}

.pf-mega-all:hover {
	background: var(--pf-yellow);
	color: var(--pf-ink);
}

.pf-mega-all .pf-icon {
	width: 18px;
	height: 18px;
}

/* Search bar: a second rounded bar under the header */
.pf-search {
	padding-top: 8px;
}

.pf-search[hidden] {
	display: none;
}

.pf-search > .pf-wrap {
	width: calc(100% - var(--pf-gutter) * 2);
	max-width: var(--pf-wrap);
	padding: 6px 6px 6px 20px;
	background: var(--pf-white);
	border: 1px solid var(--pf-line);
	border-radius: 999px;
	box-shadow: 0 14px 34px -14px rgba(22, 22, 26, 0.28);
}

.pf-search-form {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pf-search-form .pf-icon {
	color: var(--pf-muted);
}

.pf-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	border: 0;
	background: transparent;
	font-size: 1.0625rem;
}

.pf-search-form input[type="search"]:focus {
	outline: 0;
}

.pf-search-form .pf-btn {
	border-radius: 999px;
}

/* Mobile drawer */
.pf-drawer[hidden] {
	display: none;
}

.pf-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
}

.pf-drawer-panel {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: min(88vw, 400px);
	background: var(--pf-paper);
	overflow-y: auto;
	animation: pf-slide 0.28s var(--pf-ease);
}

.pf-drawer-scrim {
	flex: 1;
	background: rgba(18, 18, 18, 0.55);
}

.pf-drawer-panel {
	border-right: var(--pf-rule);
}

@keyframes pf-slide {
	from {
		transform: translateX(-24px);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

.pf-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: var(--pf-rule);
}

.pf-drawer-nav {
	padding: 20px 16px 32px;
}

.pf-drawer-label {
	margin: 0 0 10px;
	font-family: var(--pf-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pf-muted);
}

.pf-drawer-cats,
.pf-drawer-links {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.pf-drawer-cats a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
	color: var(--pf-ink);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid var(--pf-line);
}

.pf-drawer-cats a > span:nth-child(2) {
	flex: 1;
}

.pf-drawer-thumb {
	width: 52px;
	height: 52px;
	border: 1px solid var(--pf-ink);
	overflow: hidden;
	background: var(--pf-paper-2);
	flex: 0 0 auto;
}

.pf-drawer-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pf-drawer-links a {
	display: block;
	padding: 14px 0;
	color: var(--pf-ink);
	font-family: var(--pf-display);
	font-size: 1.375rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--pf-line);
}

@media (max-width: 960px) {
	.pf-primary {
		display: none;
	}

	.pf-burger {
		display: inline-grid;
	}

	.pf-header {
		padding-block: 10px;
	}

	.pf-header-in {
		gap: 4px;
		min-height: 58px;
		padding: 6px 6px 6px 8px;
	}

	.pf-brand {
		margin-right: auto;
	}

	.pf-actions {
		margin-left: 0;
	}

	.pf-accountlink {
		display: none;
	}

	.pf-mark {
		width: 32px;
		height: 32px;
	}

	.pf-wordmark {
		font-size: 1.3rem;
	}
}

@media (max-width: 782px) {
	.admin-bar .pf-header {
		top: 46px;
	}
}

/* ------------------------------------------------------------ chips */

.pf-chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0 calc(var(--pf-gutter) * -1) 28px;
	padding: 0 var(--pf-gutter) 6px;
	overflow-x: auto;
	scrollbar-width: none;
}

.pf-chips::-webkit-scrollbar {
	display: none;
}

/* Category filter: index tabs, butted together like a ruled table */
.pf-chips {
	gap: 0;
}

.pf-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: var(--pf-rule);
	margin-right: -1px;
	background: var(--pf-white);
	color: var(--pf-ink);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.pf-chip:hover {
	background: var(--pf-paper-2);
	color: var(--pf-ink);
}

.pf-chip.is-active {
	background: var(--pf-ink);
	color: var(--pf-paper);
}

.pf-chip-count {
	font-family: var(--pf-mono);
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.7;
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------ product grid and cards */

ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.products.columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

ul.products.columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

ul.products li.product,
ul.products li.pf-pitem {
	margin: 0;
	padding: 0;
	width: auto;
	float: none;
}

/* Product card: a print mounted on a white mat, with a job-ticket line underneath.
   The photo sits inside a 10px border of sheet; the price line is set in mono with a dotted leader. */
.pf-pcard {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px;
	border: var(--pf-rule);
	background: var(--pf-white);
	color: var(--pf-ink);
	text-decoration: none;
	transition: border-color 0.18s ease, transform 0.18s var(--pf-ease), box-shadow 0.18s ease;
}

.pf-pcard:hover {
	border-color: var(--pf-magenta);
	color: var(--pf-ink);
	box-shadow: 0 3px 0 var(--pf-magenta);
	transform: translateY(-3px);
}

.pf-pcard-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--pf-paper-2);
	overflow: hidden;
}

.pf-pcard .pf-pcard-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pf-pcard-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 16px 6px 4px;
}

.pf-pcard-cat {
	font-family: var(--pf-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pf-muted);
}

.pf-pcard-title {
	font-family: var(--pf-display);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.12;
	text-wrap: balance;
}

.pf-pcard-ticket {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
	font-family: var(--pf-mono);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

.pf-pcard-qty {
	flex: 0 0 auto;
	color: var(--pf-muted);
}

.pf-pcard-leader {
	flex: 1 1 auto;
	min-width: 12px;
	border-bottom: 1px dotted var(--pf-muted);
	transform: translateY(-4px);
}

.pf-pcard-price {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	flex: 0 0 auto;
}

.pf-pcard-price strong {
	font-weight: 600;
	font-size: 1rem;
	color: var(--pf-ink);
}

.pf-from-label {
	font-family: var(--pf-mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pf-muted);
}

.pf-pcard-go {
	flex: 0 0 auto;
	align-self: center;
	width: 18px;
	height: 18px;
	margin-left: 2px;
	transition: transform 0.18s ease, color 0.18s ease;
}

.pf-pcard:hover .pf-pcard-go {
	color: var(--pf-magenta);
	transform: translateX(3px);
}

.pf-pcard:focus-visible {
	outline: 3px solid var(--pf-cyan);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.pf-pcard,
	.pf-pcard:hover,
	.pf-pcard:hover .pf-pcard-go {
		transform: none;
	}
}

/* Category tiles: swatch-book chips. Image above, a printed label strip below with a stock code. */
.pf-cat-tile {
	margin: 0;
	list-style: none;
	counter-increment: pf-swatch;
}

ul.products:has(.pf-cat-tile) {
	counter-reset: pf-swatch;
}

.pf-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: var(--pf-rule);
	background: var(--pf-white);
	color: var(--pf-ink);
	overflow: hidden;
	text-decoration: none;
}

.pf-cat:hover {
	color: var(--pf-ink);
}

.pf-cat-media {
	position: relative;
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	aspect-ratio: 5 / 4;
	background: var(--pf-paper-2);
	overflow: hidden;
}

.pf-cat .pf-cat-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--pf-ease);
}

.pf-cat:hover .pf-cat-media img {
	transform: scale(1.04);
}

.pf-cat-body {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: 12px;
	padding: 18px 16px 14px;
	border-top: var(--pf-rule);
	transition: background-color 0.2s ease;
}

/* Ink-coded band along the top of each label strip: C, M, Y, K in turn */
.pf-cat-body::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	background: var(--pf-c);
}

.pf-cat-tile:nth-child(4n + 2) .pf-cat-body::before { background: var(--pf-m); }
.pf-cat-tile:nth-child(4n + 3) .pf-cat-body::before { background: var(--pf-y); }
.pf-cat-tile:nth-child(4n + 4) .pf-cat-body::before { background: var(--pf-k); }

.pf-cat-name {
	grid-column: 1;
	overflow-wrap: anywhere;
	font-family: var(--pf-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.05;
}

.pf-cat-meta {
	grid-column: 1;
	margin-top: 6px;
	font-family: var(--pf-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--pf-muted);
}

.pf-cat-meta::before {
	content: "PF " counter(pf-swatch, decimal-leading-zero) " C  /  ";
	white-space: pre;
	color: var(--pf-ink);
}

.pf-cat-arrow {
	max-width: none;
	flex-shrink: 0;
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 40px;
	height: 40px;
	padding: 10px;
	border: var(--pf-rule);
	background: transparent;
	color: var(--pf-ink);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pf-cat:hover .pf-cat-arrow {
	background: var(--pf-ink);
	color: var(--pf-paper);
}

/* ------------------------------------------------------------ footer */

/* An ink panel with rounded top corners: quote card, brand and links, base line, then the name set full width */
.pf-footer {
	position: relative;
	margin-top: 0;
	padding-top: clamp(16px, 3vw, 32px);
	border-radius: 32px 32px 0 0;
	background: var(--pf-ink);
	color: #b9b4aa;
	overflow: hidden;
}

.pf-footer-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: clamp(48px, 6vw, 80px);
	padding: clamp(28px, 4vw, 48px);
	border-radius: 24px;
	background: var(--pf-yellow);
	color: var(--pf-ink);
}

.pf-footer-cta h2 {
	margin: 0 0 8px;
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	line-height: 1.05;
	color: var(--pf-ink);
}

.pf-footer-cta p {
	margin: 0;
}

.pf-footer-cta .pf-eyebrow {
	margin-bottom: 10px;
	color: var(--pf-ink);
}

.pf-footer-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex: 0 0 auto;
}

.pf-footer-grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1fr;
	gap: clamp(28px, 4vw, 56px);
	padding-bottom: clamp(36px, 5vw, 56px);
}

.pf-footer-brand > p {
	max-width: 38ch;
	margin: 18px 0 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.pf-brand-light,
.pf-brand-light:hover {
	color: var(--pf-white);
}

/* Reversed mark: paper tile, ink stem */
.pf-brand-light .pf-mark-bg,
.pf-brand-light .pf-mark-hole {
	fill: var(--pf-paper);
}

.pf-brand-light .pf-mark-stem {
	fill: var(--pf-ink);
}

.pf-footer-contact {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}

.pf-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: #e8e4dc;
}

.pf-footer-contact a {
	color: #e8e4dc;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.pf-footer-contact a:hover {
	color: var(--pf-yellow);
}

.pf-footer-contact .pf-icon {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--pf-yellow);
}

.pf-footer-col h2 {
	margin: 0 0 14px;
	font-family: var(--pf-font);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8d887f;
}

.pf-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pf-footer-col li {
	margin: 0 0 12px;
	font-size: 0.9375rem;
}

.pf-footer-col a {
	color: #e8e4dc;
	text-decoration: none;
	transition: color 0.15s ease;
}

.pf-footer-col a:hover {
	color: var(--pf-yellow);
}

.pf-footer-base {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8125rem;
}

.pf-footer-base p {
	margin: 0;
}

.pf-pay {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pf-pay li {
	white-space: nowrap;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 500;
	color: #e8e4dc;
}

/* The name set edge to edge, its foot tucked under the page edge */
.pf-footer-word {
	display: block;
	width: 100%;
	height: auto;
	margin: 4px 0 -3%;
	overflow: visible;
}

.pf-footer-word text {
	font-family: var(--pf-display);
	font-size: 172px;
	font-weight: 800;
	fill: var(--pf-yellow);
}

@media (max-width: 1024px) {
	.pf-footer-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.pf-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.pf-footer {
		border-radius: 24px 24px 0 0;
	}

	.pf-footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.pf-footer-cta,
	.pf-footer-base {
		flex-direction: column;
		align-items: stretch;
	}

	.pf-footer-cta-actions {
		flex-direction: column;
	}

	.pf-footer-cta-actions .pf-btn {
		width: 100%;
	}

	/* Every footer link gets a 44 px tap target on phones */
	.pf-footer-col li {
		margin: 0;
	}

	.pf-footer-col li a {
		display: block;
		padding: 10px 0;
	}
}

/* ------------------------------------------------------------ misc pages */

.pf-404 {
	padding: clamp(64px, 12vw, 160px) 0;
}

.pf-404 h1 {
	max-width: 16ch;
}

.pf-404 p {
	max-width: 52ch;
	font-size: 1.125rem;
}

.pf-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.pf-post-card {
	overflow: hidden;
	border: var(--pf-rule);
	background: var(--pf-white);
}

.pf-post-media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.pf-post-body {
	padding: 20px;
}

.pf-post-body h2 {
	font-size: 1.375rem;
}

.pf-post-body h2 a {
	color: var(--pf-ink);
	text-decoration: none;
}

@media (max-width: 900px) {
	.pf-post-grid {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------ Elementor page helpers
   These classes are attached to Elementor elements as global classes. */

.pf-section {
	padding-block: clamp(56px, 8vw, 112px);
}

.pf-band-ink {
	background: var(--pf-ink);
	color: var(--pf-paper);
}

.pf-band-ink h1,
.pf-band-ink h2,
.pf-band-ink h3,
.pf-band-ink h4 {
	color: #fff;
}

.pf-band-paper2 {
	background: var(--pf-paper-2);
}

.pf-band-yellow {
	background: var(--pf-yellow);
	color: var(--pf-ink);
}

/* Crop marks: hairlines set just outside each corner of the trim, as on a press sheet */
.pf-crop {
	position: relative;
	--pf-crop-gap: 6px;
	--pf-crop-len: 18px;
}

.pf-crop::before {
	content: "";
	position: absolute;
	inset: calc((var(--pf-crop-gap) + var(--pf-crop-len)) * -1);
	z-index: 2;
	pointer-events: none;
	--o: calc(var(--pf-crop-gap) + var(--pf-crop-len));
	background:
		linear-gradient(var(--pf-ink), var(--pf-ink)) 0 var(--o) / var(--pf-crop-len) 1px,
		linear-gradient(var(--pf-ink), var(--pf-ink)) var(--o) 0 / 1px var(--pf-crop-len),
		linear-gradient(var(--pf-ink), var(--pf-ink)) 100% var(--o) / var(--pf-crop-len) 1px,
		linear-gradient(var(--pf-ink), var(--pf-ink)) calc(100% - var(--o)) 0 / 1px var(--pf-crop-len),
		linear-gradient(var(--pf-ink), var(--pf-ink)) 0 calc(100% - var(--o)) / var(--pf-crop-len) 1px,
		linear-gradient(var(--pf-ink), var(--pf-ink)) var(--o) 100% / 1px var(--pf-crop-len),
		linear-gradient(var(--pf-ink), var(--pf-ink)) 100% calc(100% - var(--o)) / var(--pf-crop-len) 1px,
		linear-gradient(var(--pf-ink), var(--pf-ink)) calc(100% - var(--o)) 100% / 1px var(--pf-crop-len);
	background-repeat: no-repeat;
}

.pf-crop::after {
	content: none;
}

/* Process-colour patches, square like the patches on a colour control strip */
.pf-cmyk {
	display: inline-flex;
	gap: 0;
	border: 1px solid var(--pf-ink);
}

.pf-cmyk i {
	display: block;
	width: 14px;
	height: 14px;
}

.pf-cmyk i:nth-child(1) { background: var(--pf-c); }
.pf-cmyk i:nth-child(2) { background: var(--pf-m); }
.pf-cmyk i:nth-child(3) { background: var(--pf-y); }
.pf-cmyk i:nth-child(4) { background: var(--pf-k); }

.pf-spec {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border: var(--pf-rule);
	background: var(--pf-white);
	font-family: var(--pf-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pf-ink);
}

/* The old scrolling marquee now sits still as a printed product index */
.pf-marquee {
	overflow: hidden;
}

.pf-marquee-track {
	display: flex;
	width: max-content;
	gap: 48px;
}

.pf-hover-lift {
	transition: background-color 0.2s ease;
}

.pf-hover-lift:hover {
	background-color: var(--pf-paper);
}

@media (max-width: 960px) {
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	ul.products,
	ul.products.columns-3,
	ul.products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 14px;
	}

	.pf-pcard {
		padding: 6px;
	}

	.pf-pcard-body {
		padding: 12px 4px 4px;
	}

	.pf-pcard-title {
		font-size: 1.0625rem;
	}

	/* Two columns are too narrow for the leader line: stack run length over price */
	.pf-pcard-ticket {
		flex-wrap: wrap;
		gap: 2px 6px;
		font-size: 0.8125rem;
	}

	.pf-pcard-leader,
	.pf-pcard-go {
		display: none;
	}

	.pf-pcard-qty {
		flex-basis: 100%;
	}

	.pf-cat-name {
		font-size: 1.125rem;
	}
}
