/**
 * Modern homepage. Scoped to the new template.
 */

body.pp-spec-page {
	margin: 0;
	background: #f3f0e8;
	color: #171614;
	font-family: "Golos Text", "Segoe UI", sans-serif;
	font-size: 1.05rem;
	line-height: 1.5;
}

body.pp-spec-page a {
	color: inherit;
}

body.pp-spec-page h1,
body.pp-spec-page h2,
body.pp-spec-page h3,
.pp-kicker,
.pp-num,
.pp-place-name,
.pp-place-idx,
.pp-line-idx,
.pp-quote p {
	font-family: Commissioner, sans-serif;
	letter-spacing: -0.03em;
}

body.pp-spec-page h1,
body.pp-spec-page h2,
body.pp-spec-page h3 {
	font-weight: 560;
	line-height: 0.98;
	margin: 0 0 1rem;
}

body.pp-spec-page h1 {
	font-size: clamp(2.8rem, 6vw, 5.4rem);
}

body.pp-spec-page h2 {
	font-size: clamp(2rem, 3.6vw, 3.3rem);
	max-width: 16ch;
}

body.pp-spec-page h3 {
	font-size: 1.2rem;
	margin: 1.15rem 0 0.3rem;
}

body.pp-spec-page p {
	margin: 0 0 0.8rem;
}

.pp-spec {
	max-width: none;
	margin: 0;
	padding: 0;
}

.pp-top {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem 1.15rem;
	padding: 0.8rem 1.4rem;
	background: rgba(16, 15, 13, 0.92);
	color: #f6f3ec;
	backdrop-filter: blur(16px);
}

.pp-mark {
	font-family: Commissioner, sans-serif;
	font-weight: 600;
	letter-spacing: -0.04em;
	text-decoration: none;
	font-size: 1.15rem;
	margin-right: 0.4rem;
}

.pp-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
}

.pp-nav a,
.pp-top .pp-wa,
.pp-top .pp-quiet {
	text-decoration: none;
	font-size: 0.92rem;
	color: #f6f3ec;
}

.pp-nav a:hover,
.pp-top .pp-wa:hover,
.pp-top .pp-quiet:hover {
	color: #e36a12;
}

.pp-top .pp-wa {
	margin-left: auto;
}

.pp-solid,
body.pp-spec-page .wp-block-button.pp-solid .wp-block-button__link,
body.pp-spec-page .wpcf7-submit-btn {
	display: inline-block;
	background: #e36a12;
	color: #16140f;
	text-decoration: none;
	border: 0;
	border-radius: 0;
	padding: 0.72rem 1.05rem;
	font-family: Commissioner, sans-serif;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	width: auto;
	height: auto;
	cursor: pointer;
}

body.pp-spec-page .wp-block-button.pp-quiet .wp-block-button__link {
	background: transparent;
	color: inherit;
	border-radius: 0;
	padding: 0.72rem 0.2rem;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	font-family: Commissioner, sans-serif;
}

body.pp-spec-page .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
	align-items: center;
	margin: 1.2rem 0 0;
}

.pp-kicker {
	color: #e36a12;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 0.7rem;
}

.pp-hero {
	position: relative;
	background: #12110f;
	color: #f6f3ec;
	overflow: hidden;
}

.pp-hero,
.pp-hero > .wp-block-group__inner-container {
	min-height: calc(100svh - 4.6rem);
}

.pp-hero > .wp-block-group__inner-container {
	position: relative;
	display: flex;
	align-items: flex-end;
}

.pp-hero-media {
	position: absolute;
	inset: 0;
	margin: 0;
	height: 100%;
}

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

.pp-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(10, 9, 8, 0.88) 0%, rgba(10, 9, 8, 0.5) 46%, rgba(10, 9, 8, 0.12) 100%);
	z-index: 1;
	pointer-events: none;
}

.pp-hero-copy {
	position: relative;
	z-index: 2;
	max-width: 40rem;
	padding: 4.5rem 6vw 3rem;
}

.pp-hero-copy p {
	max-width: 38rem;
	color: rgba(246, 243, 236, 0.88);
}

.pp-pad {
	padding: 5.2rem 6vw;
}

.pp-split > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 3.2rem;
	align-items: center;
	max-width: 76rem;
	margin: 0 auto;
}

.pp-split-photo {
	margin: 0;
}

.pp-split-photo img {
	width: 100%;
	height: min(38rem, 78vw);
	object-fit: cover;
	display: block;
}

.pp-panel {
	background: #e7e1d6;
}

.pp-panel-card {
	max-width: 38rem;
	margin: 0 auto;
}

.pp-versus > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.pp-side {
	padding: 4.5rem 6vw;
	min-height: 24rem;
}

.pp-side-us {
	background: #161513;
	color: #f6f3ec;
}

.pp-side-them {
	background: #efeae3;
	color: #171614;
}

.pp-side h2 {
	max-width: 12ch;
}

.pp-places > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
	margin-top: 1.6rem;
}

.pp-place {
	position: relative;
	overflow: hidden;
	background: #1b1a17;
	min-height: 26rem;
}

.pp-place::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.62) 100%);
	pointer-events: none;
}

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

.pp-place-idx,
.pp-place-name {
	position: absolute;
	z-index: 1;
	margin: 0;
	left: 1rem;
	color: #f7f4ee;
}

.pp-place-idx {
	top: 1rem;
	color: #e36a12;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}

.pp-place-name {
	bottom: 1rem;
	font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.pp-lines {
	margin-top: 1.5rem;
	max-width: 52rem;
}

.pp-line > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 3.2rem minmax(0, 1fr);
	gap: 0.8rem;
	align-items: start;
	border-top: 1px solid rgba(23, 22, 20, 0.16);
	padding: 1.15rem 0;
}

.pp-line-idx {
	color: #e36a12;
	font-size: 1.15rem;
	margin: 0.15rem 0 0;
}

.pp-line h3 {
	margin-top: 0;
}

.pp-quote-band {
	background: #e36a12;
	color: #1a140e;
	padding: 4.6rem 6vw;
}

.pp-quote-band .pp-kicker {
	color: #1a140e;
}

.pp-quote-band h2,
.pp-quote-band p {
	max-width: 22ch;
}

.pp-quote-band p {
	max-width: 36rem;
	font-size: 1.15rem;
}

.pp-stats {
	background: #141311;
	color: #f6f3ec;
	padding: 5rem 6vw 4rem;
}

.pp-stats h2 {
	color: #f6f3ec;
}

.pp-ledger,
body.pp-spec-page .pp-ledger.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1.2rem;
	margin-top: 2rem;
}

.pp-num {
	font-size: clamp(1.8rem, 2.6vw, 2.8rem);
	color: #e36a12;
	margin: 0 0 0.35rem;
	line-height: 1;
}

.pp-num-label {
	color: rgba(246, 243, 236, 0.72);
	margin: 0;
}

.pp-works > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.7rem;
	margin-top: 1.4rem;
}

.pp-shot {
	margin: 0;
	background: #1b1a17;
}

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

.pp-shot figcaption {
	padding: 0.45rem 0.1rem 0.8rem;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6d675f;
}

.pp-steps {
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 1.4rem 0 2rem;
	max-width: 46rem;
}

.pp-steps li {
	counter-increment: step;
	position: relative;
	padding: 1.05rem 0 1.05rem 4rem;
	border-top: 1px solid rgba(23, 22, 20, 0.14);
}

.pp-steps li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1.05rem;
	color: #e36a12;
	font-family: Commissioner, sans-serif;
	font-size: 1.2rem;
}

.pp-steps strong {
	font-family: Commissioner, sans-serif;
	font-weight: 500;
}

.pp-quotes > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.4rem;
}

.pp-quote {
	background: #fffdf8;
	padding: 1.8rem 1.6rem 1.3rem;
	border-top: 3px solid #e36a12;
}

.pp-quote p {
	font-size: clamp(1.35rem, 2vw, 1.85rem);
	line-height: 1.22;
	margin: 0 0 1.2rem;
}

.pp-quote-who {
	font-family: "Golos Text", sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6d675f;
	margin: 0;
}

.pp-policy {
	padding-top: 2rem;
}

.pp-policy h2 {
	font-size: 1.6rem;
}

body.pp-spec-page .wpcf7 {
	margin-top: 1.2rem;
	max-width: 28rem;
}

body.pp-spec-page .wpcf7 label,
body.pp-spec-page .form-field-title {
	display: block;
	font-size: 0.82rem;
	margin-bottom: 0.25rem;
}

body.pp-spec-page .wpcf7 input[type="text"],
body.pp-spec-page .wpcf7 input[type="tel"],
body.pp-spec-page .wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	background: transparent;
	color: inherit;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	font: inherit;
	padding: 0.5rem 0;
	margin-bottom: 0.85rem;
}

body.pp-spec-page .wpcf7-submit-btn .bg-shadow,
body.pp-spec-page .wpcf7-submit-btn .bg-fill {
	display: none;
}

body.pp-spec-page .wpcf7-submit-btn {
	font-size: 0;
	line-height: 0;
}

body.pp-spec-page .wpcf7-submit-btn .btn-text {
	font-size: 1rem;
	line-height: 1.2;
	font-family: Commissioner, sans-serif;
}

.pp-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1.4rem;
	padding: 1.3rem 6vw 1.8rem;
	background: #12110f;
	color: #f6f3ec;
}

.pp-foot p {
	margin: 0;
}

.pp-foot a {
	text-decoration: none;
	border-bottom: 1px solid rgba(246, 243, 236, 0.45);
}

.pp-hero figcaption,
.pp-split-photo figcaption {
	display: none;
}

@media (max-width: 900px) {
	.pp-top .pp-wa {
		margin-left: 0;
	}

	.pp-split > .wp-block-group__inner-container,
	.pp-versus > .wp-block-group__inner-container,
	.pp-places > .wp-block-group__inner-container,
	.pp-quotes > .wp-block-group__inner-container,
	.pp-works > .wp-block-group__inner-container,
	.pp-ledger,
	body.pp-spec-page .pp-ledger.wp-block-columns {
		display: block;
		grid-template-columns: 1fr;
	}

	.pp-places > .wp-block-group__inner-container {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.pp-place,
	.pp-place img {
		min-height: 16rem;
		height: 16rem;
	}

	.pp-hero-copy {
		padding-top: 5rem;
	}

	.pp-shot img {
		height: 12rem;
	}
}
