/* Puuseppä Petteri by Pencil */

:root {
	--pp-ink: #3a3a3a;
	--pp-heading: #000f2b;
	--pp-link: #1a6c7a;
	--pp-wood: #72553c;
	--pp-wood-hover: #9e6e44;
	--pp-sand: #d0ad93;
	--pp-white: #fff;
	--pp-mist: #f3f9fb;
	--pp-footer: #fafafa;
	--pp-font-body: "Raleway", sans-serif;
	--pp-font-head: "Courier Prime", monospace;
	--pp-container: 1140px;
}

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

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

body {
	margin: 0;
	background: var(--pp-white);
	color: var(--pp-ink);
	font-family: var(--pp-font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

body.pp-header-solid { background: var(--pp-mist); }

:where(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	color: var(--pp-heading);
	font-family: var(--pp-font-head);
	font-weight: 400;
	line-height: 1.3;
}

:where(p) { margin: 0 0 1.6em; }
:where(ul, ol) { margin: 0 0 1.5em 3em; padding: 0; }
:where(img) { max-width: 100%; height: auto; }
:where(figure) { margin: 0; }
:where(a) { color: var(--pp-link); text-decoration: none; }
:where(a:hover, a:focus) { color: var(--pp-heading); }
:where(blockquote) {
	margin: 26px 39px 26px 53px;
	padding: 21px 0 21px 21px;
	font-size: 1.1em;
	line-height: 24px;
	border-left: 5px solid rgba(0, 0, 0, 0.05);
	font-style: italic;
}


.pp-sr-only,
.pp-social .pencil-button__text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.pp-skip-link {
	position: absolute;
	top: -100px;
	left: 10px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--pp-white);
	color: var(--pp-link);
}
.pp-skip-link:focus { top: 10px; }

.pp-container {
	width: 100%;
	max-width: var(--pp-container);
	margin: 0 auto;
}

.pp-cover-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pp-frame { overflow: hidden; }
.pp-frame .pp-cover-img { height: 100%; }
.pp-frame--square { aspect-ratio: 1 / 1; }
.pp-frame--4x3 { aspect-ratio: 4 / 3; }

/* ---------- Buttons ---------- */
.pp-btn {
	display: inline-block;
	padding: 16px 40px;
	border: 0;
	border-radius: 0;
	font-family: var(--pp-font-body);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.pp-btn--solid,
.pp-btn--solid:hover,
.pp-btn--solid:focus {
	background: var(--pp-wood);
	color: var(--pp-white);
}
.pp-btn--ghost {
	background: transparent;
	border: 2px solid var(--pp-white);
	color: var(--pp-white);
}
.pp-btn--ghost:hover,
.pp-btn--ghost:focus {
	background: rgba(255, 255, 255, 0.12);
	color: var(--pp-white);
}

/* ---------- Header ---------- */
.pp-header { position: relative; z-index: 50; }
.pp-header-overlay .pp-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}
.pp-header__bar { padding: 16px 0; }
.pp-header-solid .pp-header__bar { background: var(--pp-white); }
.pp-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	max-width: 1240px;
	min-height: 70px;
	margin: 0 auto;
	padding: 0 20px;
}
.pp-nav .pencil-managed-region { display: block; }
.pp-menu {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pp-menu li { position: relative; }
.pp-menu a {
	display: block;
	padding: 0 1em;
	font-size: 16px;
	line-height: 70px;
	text-transform: uppercase;
	color: var(--pp-link);
	transition: color 0.2s;
}
.pp-menu a:hover,
.pp-menu .current-menu-item > a { color: var(--pp-heading); }
.pp-header-overlay .pp-menu a { color: var(--pp-mist); }
.pp-header-overlay .pp-menu a:hover,
.pp-header-overlay .pp-menu .current-menu-item > a { color: var(--pp-white); }
.pp-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--pp-white);
	box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s;
}
.pp-menu li:hover > .sub-menu,
.pp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.pp-menu .sub-menu a { line-height: 1.5; padding: 0.9em 1em; color: var(--pp-ink); }

.pp-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: var(--pp-link);
	color: var(--pp-white);
	cursor: pointer;
}
.pp-menu-toggle .pp-icon { width: 20px; height: 20px; fill: currentColor; }
.pp-menu-toggle .pp-icon--close,
.pp-menu-toggle[aria-expanded="true"] .pp-icon--menu { display: none; }
.pp-menu-toggle[aria-expanded="true"] .pp-icon--close { display: block; }

@media (max-width: 921px) {
	.pp-header__bar { padding: 14px 0 15px; }
	.pp-header__inner { min-height: 42px; }
	.pp-menu-toggle { display: flex; }
	.pp-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		background: var(--pp-white);
	}
	.pp-nav.is-open { display: block; }
	.pp-menu { display: block; }
	.pp-menu a,
	.pp-header-overlay .pp-menu a {
		padding: 0 25px;
		font-size: 0.912rem;
		line-height: 44px;
		color: var(--pp-ink);
		border-bottom: 1px solid #eaeaea;
	}
	.pp-menu .current-menu-item > a,
	.pp-header-overlay .pp-menu .current-menu-item > a { color: var(--pp-heading); }
	.pp-menu .sub-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; }
	.pp-menu .sub-menu a { padding-left: 40px; }
}

/* ---------- Home: hero ---------- */
.pp-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	overflow: hidden;
	text-align: center;
}
.pp-hero__media,
.pp-page-hero__media,
.pp-contact-band__media,
.pp-tile__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.pp-hero__media .pp-cover-img { object-position: 50% 0%; }
.pp-hero::after,
.pp-contact-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(var(--pp-wood) 0%, var(--pp-sand) 100%);
	opacity: 0.5;
	pointer-events: none;
}
.pp-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 700px;
}
.pp-hero__tagline {
	margin-bottom: 20px;
	color: var(--pp-white);
	font-size: 28px;
	text-transform: lowercase;
}
.pp-hero__title {
	margin-bottom: 20px;
	color: var(--pp-white);
	font-size: 50px;
	line-height: 1.4;
	text-transform: capitalize;
}
.pp-hero__text { color: var(--pp-white); }
.pp-hero__text p { margin: 0; }
.pp-hero .pp-btn { margin-top: 50px; }

/* ---------- Home: tiles ---------- */
.pp-tiles { padding: 100px 0; }
.pp-tiles__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 10px;
}
.pp-tile {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 15 / 14;
	padding: 0 20px;
	overflow: hidden;
	text-align: center;
}
.pp-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--pp-wood);
	opacity: 0.3;
	transition: background-color 0.3s, opacity 0.3s;
	pointer-events: none;
}
.pp-tile:hover::after { background: var(--pp-wood-hover); opacity: 0.4; }
.pp-tile__title {
	position: relative;
	z-index: 1;
	font-size: 28px;
	text-transform: lowercase;
}
.pp-tile__link,
.pp-tile__link:hover,
.pp-tile__link:focus { color: var(--pp-white); }

/* ---------- Home: offer ---------- */
.pp-offer { padding: 0 0 100px; }
.pp-offer__grid { display: grid; grid-template-columns: 1fr 1fr; }
.pp-offer__col { padding: 20px; }
.pp-offer__title { font-size: 28px; text-transform: lowercase; }
.pp-offer__text { line-height: 33px; }
.pp-offer__text p { margin-bottom: 1.6em; }
.pp-offer .pp-btn { margin-top: 40px; }

/* ---------- Home: contact band ---------- */
.pp-contact-band {
	position: relative;
	padding: 190px 20px;
	overflow: hidden;
	text-align: center;
}
.pp-contact-band::after { opacity: 0.6; }
.pp-contact-band__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	color: var(--pp-white);
}
.pp-contact-band__title {
	margin-bottom: 20px;
	color: var(--pp-white);
	font-size: 39px;
	text-transform: lowercase;
}
.pp-contact-band__text { font-size: 22px; line-height: 40px; }
.pp-contact-band__text p { margin: 0; }
.pp-contact-band__text a { color: var(--pp-white); }

/* ---------- Home: works ---------- */
.pp-works {
	padding: 100px 0;
	background: rgba(208, 173, 147, 0.18);
}
.pp-works__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}
.pp-works__item { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; }
.pp-works__cta { margin-top: 110px; text-align: center; }

/* ---------- Inner page hero ---------- */
.pp-page-hero {
	position: relative;
	padding: 210px 0 110px;
	overflow: hidden;
	text-align: center;
}
.pp-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(114, 85, 60, 0.46);
	opacity: 0.6;
	pointer-events: none;
}
.pp-page-hero__media .pp-cover-img { object-position: 50% 100%; }
.pp-page-hero--products .pp-page-hero__media .pp-cover-img { object-position: 50% 0%; }
.pp-page-hero__inner { position: relative; z-index: 1; padding: 0 10px; }
.pp-page-hero__title {
	color: var(--pp-white);
	font-size: 50px;
	line-height: 1.4;
	letter-spacing: 2.5px;
	text-transform: capitalize;
}

/* Fixed background effect on large screens (same as the old parallax backgrounds). */
@media (min-width: 1025px) {
	.pp-page-hero:not(.pp-page-hero--products) .pp-page-hero__media,
	.pp-contact-band__media { clip-path: inset(0); }
	.pp-page-hero:not(.pp-page-hero--products) .pp-page-hero__media .pp-cover-img,
	.pp-contact-band__media .pp-cover-img {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
	}
}

/* ---------- Palvelut ---------- */
.pp-split--first { padding: 100px 0; }
.pp-split--second { padding: 0 0 100px; }
.pp-split__grid { display: grid; grid-template-columns: 1fr 1fr; }
.pp-split__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.pp-split__text--left { padding-right: 50px; }
.pp-split__text--right { padding-left: 50px; }
.pp-split__title {
	margin-bottom: 20px;
	font-size: 28px;
	text-transform: lowercase;
}
.pp-prose--loose > p { line-height: 30px; }
.pp-split .pencil-richtext p:has(+ ul) { margin-bottom: 20px; }
.pp-split .pencil-richtext ul:not(:last-child) { margin-bottom: 44px; }
.pp-split--first .pp-split__text { justify-content: flex-start; }

/* ---------- Petteri ---------- */
.pp-about { padding: 100px 0; }
.pp-about__grid { display: grid; grid-template-columns: 1fr 1fr; }
.pp-about__media-col { padding: 30px; }
.pp-about__title {
	margin-bottom: 20px;
	font-size: 28px;
	letter-spacing: 2px;
	text-transform: lowercase;
}
.pp-about__photo {
	aspect-ratio: 135 / 100;
	border-radius: 1px;
	box-shadow: 5px 0 15px 0 rgba(0, 0, 0, 0.5);
}
.pp-about__text p { margin-bottom: calc(1.6rem + 20px); }
.pp-about__text p:last-child { margin-bottom: 0; }
.pp-about__sign {
	margin-top: calc(1.6rem + 40px);
	font-size: 19px;
	text-transform: capitalize;
}

/* ---------- Yhteystiedot ---------- */
.pp-contact { padding: 100px 0; }
.pp-contact__grid { display: grid; grid-template-columns: 40% 60%; }
.pp-contact__title { font-size: 28px; text-transform: lowercase; }
.pp-contact__label {
	margin-top: 50px;
	font-size: 22px;
	letter-spacing: 2.5px;
	text-transform: lowercase;
}
.pp-iconlist { margin: 15px 0 0; padding: 0; list-style: none; }
.pp-iconlist li { display: flex; align-items: center; gap: 10px; }
.pp-iconlist .pp-icon { flex: 0 0 14px; width: 14px; height: 14px; fill: var(--pp-ink); transition: fill 0.2s; }
.pp-iconlist__link,
.pp-iconlist__text { color: var(--pp-ink); }
.pp-iconlist li:hover .pp-icon,
.pp-iconlist__link:hover { color: var(--pp-link); fill: var(--pp-link); }

/* ---------- Forms (WPForms) ---------- */
.pp-form {
	--pp-field-border: #ddd2c8;
	padding: 40px;
	background: rgba(208, 173, 147, 0.14);
}
.pp-product-form .pp-form { max-width: 760px; }
.pp-form .wpforms-container { margin: 0 !important; }
.pp-form .wpforms-form .wpforms-field-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 20px;
}
.pp-form .wpforms-form .wpforms-field {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}
.pp-form .wpforms-form .wpforms-field-textarea,
.pp-form .wpforms-form .wpforms-field-checkbox,
.pp-form .wpforms-form .wpforms-field-captcha,
.pp-contact .pp-form .wpforms-form .wpforms-field-email { grid-column: 1 / -1; }
.pp-form .wpforms-form .wpforms-field-label {
	margin: 0 0 8px !important;
	color: var(--pp-heading) !important;
	font-family: var(--pp-font-body) !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.pp-form .wpforms-form .wpforms-required-label { color: var(--pp-wood) !important; }
.pp-form .wpforms-form input[type="text"],
.pp-form .wpforms-form input[type="email"],
.pp-form .wpforms-form input[type="tel"],
.pp-form .wpforms-form textarea {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 50px;
	padding: 12px 16px !important;
	border: 1px solid var(--pp-field-border) !important;
	border-radius: 2px !important;
	background: var(--pp-white) !important;
	box-shadow: none !important;
	color: var(--pp-ink) !important;
	font-family: var(--pp-font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.pp-form .wpforms-form textarea {
	height: 160px !important;
	min-height: 160px;
	resize: vertical;
}
.pp-form .wpforms-form input:hover,
.pp-form .wpforms-form textarea:hover { border-color: #c4b2a3 !important; }
.pp-form .wpforms-form input:focus,
.pp-form .wpforms-form textarea:focus {
	border-color: var(--pp-wood) !important;
	box-shadow: 0 0 0 3px rgba(114, 85, 60, 0.15) !important;
	outline: none;
}
.pp-form .wpforms-form input.wpforms-error,
.pp-form .wpforms-form textarea.wpforms-error { border-color: #b3261e !important; }
.pp-form .wpforms-form label.wpforms-error,
.pp-form .wpforms-form em.wpforms-error {
	margin-top: 6px;
	color: #b3261e !important;
	font-size: 0.8125rem !important;
	font-style: normal;
}
.pp-form .wpforms-form .wpforms-field-checkbox ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.pp-form .wpforms-form .wpforms-field-checkbox li {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}
.pp-form .wpforms-form .wpforms-field-checkbox li input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.pp-form .wpforms-form .wpforms-field-checkbox li label {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 10px 16px !important;
	border: 1px solid var(--pp-field-border);
	border-radius: 999px;
	background: var(--pp-white);
	color: var(--pp-ink) !important;
	font-size: 0.875rem !important;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.pp-form .wpforms-form .wpforms-field-checkbox li label::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 1px solid #b9a796;
	border-radius: 3px;
	background: var(--pp-white) center / 10px no-repeat;
}
.pp-form .wpforms-form .wpforms-field-checkbox li label:hover { border-color: #c4b2a3; }
.pp-form .wpforms-form .wpforms-field-checkbox li input:focus-visible + label { box-shadow: 0 0 0 3px rgba(114, 85, 60, 0.2); }
.pp-form .wpforms-form .wpforms-field-checkbox li input:checked + label {
	border-color: var(--pp-wood);
	background: var(--pp-wood);
	color: var(--pp-white) !important;
}
.pp-form .wpforms-form .wpforms-field-checkbox li input:checked + label::before {
	border-color: var(--pp-white);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%2372553c' stroke-width='2'/%3E%3C/svg%3E");
}
.pp-form .wpforms-form .wpforms-captcha-math {
	display: flex;
	align-items: center;
	gap: 12px;
}
.pp-form .wpforms-form .wpforms-captcha-equation {
	color: var(--pp-heading);
	font-family: var(--pp-font-head);
	font-size: 1.125rem;
	white-space: nowrap;
}
.pp-form .wpforms-form .wpforms-captcha-math input { width: 110px !important; }
.pp-form .wpforms-form .wpforms-submit-container {
	margin-top: 28px !important;
	padding: 0 !important;
}
.pp-form .wpforms-form button[type="submit"] {
	padding: 18px 44px !important;
	height: auto !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--pp-wood) !important;
	box-shadow: none !important;
	color: var(--pp-white) !important;
	font-family: var(--pp-font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 2px !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background-color 0.2s;
}
.pp-form .wpforms-form button[type="submit"]:hover,
.pp-form .wpforms-form button[type="submit"]:focus { background: #5d4430 !important; }
.pp-form .wpforms-form button[type="submit"]:focus-visible { box-shadow: 0 0 0 3px rgba(114, 85, 60, 0.3) !important; }
.pp-form .wpforms-confirmation-container-full,
.pp-form div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
	margin: 0 !important;
	padding: 20px 24px !important;
	border: 0 !important;
	border-left: 3px solid var(--pp-wood) !important;
	background: var(--pp-white) !important;
	color: var(--pp-ink) !important;
}
.pp-form .wpforms-confirmation-container-full p:last-child { margin: 0; }

/* ---------- Products ---------- */
.pp-product { margin-top: 50px; padding: 0 10px; }
.pp-product__inner { max-width: 1400px; margin: 0 auto; padding: 20px 10px; }
.pp-product--trays { margin-top: 100px; }
.pp-product--trays .pp-product__inner { padding: 30px 20px 20px; }
.pp-product__title {
	margin-bottom: 20px;
	font-size: 28px;
	text-transform: lowercase;
}
.pp-accordion {
	display: flex;
	height: 400px;
	overflow: hidden;
	border-radius: 4px;
}
.pp-accordion__item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	color: var(--pp-white);
	transition: flex 0.4s;
	outline: none;
}
.pp-accordion__item:hover,
.pp-accordion__item:focus-within { flex: 3 1 0; }
.pp-accordion__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.pp-accordion__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	background: transparent;
	transition: background-color 0.4s;
}
.pp-accordion__item:hover .pp-accordion__overlay,
.pp-accordion__item:focus-within .pp-accordion__overlay { background: rgba(0, 0, 0, 0.28); }
.pp-accordion__content {
	max-width: 100%;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.pp-accordion__item:hover .pp-accordion__content,
.pp-accordion__item:focus-within .pp-accordion__content {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0.2s;
}
.pp-accordion__heading {
	margin-bottom: 20px;
	color: var(--pp-white);
	font-size: 28px;
	text-transform: lowercase;
}
.pp-accordion__text p { margin: 0; }
.pp-product-form { margin-top: 50px; padding: 20px 0 10px; }
.pp-product-form__title {
	margin-bottom: 20px;
	font-size: 28px;
	text-transform: lowercase;
}

/* ---------- Harjoitussivu ---------- */
.pp-practice section { padding: 10px 0; }
.pp-practice__intro .pp-practice__title { margin-bottom: 20px; }
.pp-practice__title { font-size: 28px; text-transform: lowercase; }
.pp-practice__title--sub { margin-bottom: 20px; }
.pp-practice__grid { display: grid; grid-template-columns: 1fr 1fr; }
.pp-practice__cell { padding: 10px; }
.pp-frame--practice1 { aspect-ratio: 550 / 353; }
.pp-frame--practice2 { aspect-ratio: 550 / 309; }
.pp-practice { padding-bottom: 20px; }

/* ---------- Boxed posts and pages ---------- */
.pp-boxed { padding: 64px 0; }
.pp-boxed__wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.pp-box {
	padding: 5.34em 6.67em;
	background: var(--pp-white);
}
.pp-box + .pp-box { margin-top: 2em; }
.pp-comments { padding-top: 64px; }
.pp-entry__header { margin-bottom: 24px; }
.single .pp-entry__header { margin-bottom: 35px; }
.pp-entry__content blockquote p { margin: 0; }
.pp-entry__title {
	margin-bottom: 10px;
	font-size: 30px;
	line-height: 1.2;
	text-transform: capitalize;
}
.pp-entry__title a { color: inherit; }
.pp-entry__meta { line-height: 23.2px; }
.pp-entry__thumb { margin-bottom: 2em; }
.pp-entry__content > :last-child { margin-bottom: 0; }
.pp-comments__reply { font-size: 26px; line-height: 1.65; text-transform: lowercase; }
.pp-comments textarea,
.pp-comments input[type="text"],
.pp-comments input[type="email"],
.pp-comments input[type="url"] {
	width: 100%;
	padding: 0.75em;
	border: 1px solid #dddddd;
	border-radius: 2px;
	background: #fafafa;
	color: #666666;
	font: inherit;
}
.pp-comments textarea { min-height: 218px; }
.pp-comments .comment-form { display: flex; flex-wrap: wrap; gap: 0 40px; }
.pp-comments .comment-form > * { flex: 1 1 100%; }
.pp-comments .comment-form-author,
.pp-comments .comment-form-email,
.pp-comments .comment-form-url { flex: 1 1 0; }
.pp-comments .comment-notes { margin-bottom: 24px; }
.pp-comments .comment-form p { margin-bottom: 24px; }
.pp-comments__submit {
	padding: 10px 15px;
	border: 0;
	background: transparent;
	color: var(--pp-link);
	font-family: var(--pp-font-body);
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
}
.pp-pagination { margin-top: 2em; }

/* ---------- Footer ---------- */
.pp-footer {
	margin-top: 40px;
	padding: 70px 0 15px;
	background: var(--pp-footer);
}
.pp-footer__grid { display: flex; flex-wrap: wrap; }
.pp-footer__col { width: 50%; padding: 10px; }
.pp-footer__bottom { width: 100%; padding: 10px; text-align: center; }
.pp-footer__title {
	margin-bottom: 20px;
	font-size: 28px;
	text-transform: lowercase;
}
.pp-footer__text p,
.pp-footer__copy p { margin-bottom: 1.75em; }
.pp-social { display: flex; gap: 5px; }
.pp-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 10%;
	background: var(--pp-sand);
	transition: opacity 0.3s;
}
.pp-social__link:hover { opacity: 0.9; }
.pp-social__icon {
	display: block;
	width: 25px;
	height: 25px;
	background: var(--pp-white);
	-webkit-mask: var(--pp-mask) center / contain no-repeat;
	mask: var(--pp-mask) center / contain no-repeat;
}
.pp-social__icon--instagram {
	--pp-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E");
}
.pp-social__icon--facebook {
	--pp-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z'/%3E%3C/svg%3E");
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.pp-hero { min-height: calc(40vh + 150px); padding: 100px 50px 50px; }
	.pp-offer .pp-btn { display: table; margin: calc(40px + 1.6rem) auto 0 0; }
	.pp-tiles { padding: 40px 10px; }
	.pp-tile { aspect-ratio: auto; min-height: 221px; }
	.pp-offer { padding: 0 80px 50px; }
	.pp-offer__grid { grid-template-columns: 1fr; text-align: center; }
	.pp-offer__col + .pp-offer__col { padding-top: 30px; }
	.pp-contact-band { padding: 50px; }
	.pp-works { padding: 50px; }
	.pp-page-hero { padding: 150px 80px 90px; }
	.pp-page-hero__title { font-size: 40px; }
	.pp-split--first,
	.pp-split--second { padding: 50px 30px; }
	.pp-split__text--left { padding-right: 30px; }
	.pp-split__text--right { padding-left: 30px; }
	.pp-about { padding: 50px; }
	.pp-about__grid { grid-template-columns: 1fr; }
	.pp-about__text-col { padding-top: 30px; }
	.pp-contact { padding: 50px; }
	.pp-contact__grid { grid-template-columns: 45% 55%; }
	.pp-footer__grid { padding: 0 10px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	html { font-size: 91.2%; }
	.pp-hero { min-height: calc(40vh + 200px); padding: 150px 20px 50px; }
	.pp-hero__tagline { font-size: 24px; }
	.pp-hero__title { font-size: 34px; }
	.pp-tiles { padding: 20px; }
	.pp-tiles__grid { grid-template-columns: 1fr; padding: 10px; }
	.pp-offer { padding: 20px 30px 50px; }
	.pp-offer__col { padding: 20px 0; }
	.pp-offer__col + .pp-offer__col { padding: 30px 0 0; }
	.pp-offer__grid { text-align: center; }
	.pp-offer__col:last-child { text-align: center; }
	.pp-offer__title,
	.pp-split__title,
	.pp-about__title,
	.pp-contact__title,
	.pp-product__title,
	.pp-product-form__title,
	.pp-practice__title,
	.pp-accordion__heading,
	.pp-tile__title,
	.pp-footer__title { font-size: 24px; }
	.pp-contact-band { padding: 50px 30px; }
	.pp-works { padding: 50px 30px; }
	.pp-works__grid { grid-template-columns: 1fr; }
	.pp-page-hero { padding: 150px 80px 90px; }
	.pp-page-hero__title { font-size: 30px; }
	.pp-page-hero--products .pp-page-hero__media .pp-cover-img {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 1000px;
		max-width: none;
		height: auto;
		aspect-ratio: auto !important;
		transform: translate(-50%, -50%);
	}
	.pp-split__grid { grid-template-columns: 1fr; }
	.pp-split--first .pp-split__grid { display: flex; flex-direction: column-reverse; }
	.pp-split__text--left,
	.pp-split__text--right { padding: 0; margin-top: 34px; }
	.pp-about { padding: 50px 30px; }
	.pp-about__media-col { padding: 30px; }
	.pp-product-form .pp-container { padding: 0 10px; }
	.pp-contact { padding: 50px 30px; }
	.pp-contact__grid { grid-template-columns: 1fr; }
	.pp-contact__label { margin-top: 30px; }
	.pp-contact__form { margin-top: 50px; }
	.pp-form { padding: 24px 20px; }
	.pp-form .wpforms-form .wpforms-field-container { grid-template-columns: 1fr; }
	.pp-form .wpforms-form button[type="submit"] { width: 100%; }
	.pp-accordion { flex-direction: column; }
	.pp-practice__grid { grid-template-columns: 1fr; }
	.pp-practice section { padding: 10px; }
	.pp-boxed { padding: 1.5em 0; }
	.pp-boxed__wrap { padding: 0 1em; }
	.pp-box { padding: 1.5em 1em; }
	.pp-comments .comment-form-author,
	.pp-comments .comment-form-email,
	.pp-comments .comment-form-url { flex: 1 1 100%; }
	.pp-comments { padding-top: 1.5em; }
	.pp-footer__grid { padding: 0; }
	.pp-footer__col { width: 100%; }
	.pp-footer__bottom { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.pp-accordion__item,
	.pp-accordion__content,
	.pp-accordion__overlay { transition: none; }
}

/* ---------- Back to top ---------- */
.pp-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: var(--pp-wood);
	box-shadow: 0 4px 14px rgba(58, 42, 28, 0.22);
	color: var(--pp-white);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background-color 0.2s;
}
.pp-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.pp-to-top:hover { background: #5d4430; }
.pp-to-top:focus-visible { outline: 2px solid var(--pp-white); outline-offset: -5px; }
.pp-to-top .pp-icon { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 767px) {
	.pp-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
	.pp-to-top { transition: none; transform: none; }
}
