.ptw-site-home-template {
	margin: 0;
	background: #ffffff;
}

.ptw-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: var(--ptw-border-width-sm) solid rgb(13 27 42 / 0.12);
	background: rgb(255 255 255 / 0.96);
	color: var(--ptw-color-text-primary);
	font-family: var(--ptw-font-family-base);
	backdrop-filter: blur(18px);
	transition:
		background-color 160ms ease,
		box-shadow 160ms ease;
}

.ptw-site-header:hover {
	box-shadow: 0 8px 24px rgb(13 27 42 / 0.06);
}

.ptw-site-header__inner {
	display: grid;
	grid-template-columns: minmax(17rem, auto) minmax(0, 1fr) auto;
	gap: var(--ptw-space-8);
	align-items: center;
	min-height: 4.75rem;
}

.ptw-site-header__brand {
	display: inline-flex;
	gap: var(--ptw-space-2);
	align-items: center;
	color: #0d1b2a;
	text-decoration: none;
}

.ptw-site-header__brand-mark {
	display: inline-grid;
	width: 2.55rem;
	height: 2.55rem;
	place-items: center;
	clip-path: polygon(50% 0, 92% 24%, 92% 76%, 50% 100%, 8% 76%, 8% 24%);
	background:
		linear-gradient(135deg, transparent 48%, #ff6b00 48% 72%, transparent 72%),
		#0d1b2a;
	color: #ffffff;
	font-size: var(--ptw-font-size-lg);
	font-weight: var(--ptw-font-weight-bold);
}

.ptw-site-header__brand-copy {
	display: grid;
	gap: 0.1rem;
}

.ptw-site-header__brand-name {
	color: #0d1b2a;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

.ptw-site-header__tagline {
	color: var(--ptw-color-text-secondary);
	font-size: var(--ptw-font-size-xs);
	line-height: 1.2;
}

.ptw-site-header__nav {
	display: none;
	gap: var(--ptw-space-8);
	justify-content: flex-end;
	align-items: center;
}

.ptw-site-header__nav-link,
.ptw-site-footer__link {
	color: #0d1b2a;
	font-size: var(--ptw-font-size-sm);
	font-weight: var(--ptw-font-weight-bold);
	letter-spacing: 0.01em;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		color 160ms ease,
		transform 160ms ease;
}

.ptw-site-header__nav-link:hover,
.ptw-site-footer__link:hover {
	color: var(--ptw-home-orange, var(--ptw-color-primary));
	transform: translateY(-0.0625rem);
}

.ptw-site-header__search {
	display: none;
}

.ptw-site-header__search .ptw-site-search {
	position: relative;
	display: inline-grid;
	width: 2.5rem;
	height: 2.5rem;
	place-items: center;
}

.ptw-site-header__search .ptw-site-search__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ptw-site-header__search .ptw-site-search__button {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: transparent;
	color: #0d1b2a;
	text-indent: -999px;
}

.ptw-site-header__search .ptw-site-search__button::before {
	position: absolute;
	width: 1rem;
	height: 1rem;
	border: 0.15rem solid currentColor;
	border-radius: var(--ptw-radius-pill);
	content: "";
}

.ptw-site-header__search .ptw-site-search__button::after {
	position: absolute;
	width: 0.55rem;
	height: 0.15rem;
	border-radius: var(--ptw-radius-pill);
	background: currentColor;
	content: "";
	transform: translate(0.5rem, 0.5rem) rotate(45deg);
}

.ptw-site-search {
	display: flex;
	gap: var(--ptw-space-2);
	align-items: center;
}

.ptw-site-search__input {
	width: min(18rem, 100%);
	min-height: 2.5rem;
	padding: var(--ptw-space-2) var(--ptw-space-3);
	border: var(--ptw-border-width-sm) solid var(--ptw-color-border);
	border-radius: var(--ptw-radius-md);
	background: #f8fafc;
	color: var(--ptw-color-text-primary);
}

.ptw-site-search__button,
.ptw-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 2.5rem;
	padding: var(--ptw-space-2) var(--ptw-space-4);
	border: var(--ptw-border-width-sm) solid transparent;
	border-radius: var(--ptw-radius-md);
	font-weight: var(--ptw-font-weight-bold);
	line-height: var(--ptw-line-height-tight);
	text-decoration: none;
	cursor: pointer;
}

.ptw-site-search__button,
.ptw-button--primary {
	background: #ff6b00;
	color: #ffffff;
}

.ptw-site-search__button:hover,
.ptw-button--primary:hover {
	background: #e85f00;
}

.ptw-button--secondary {
	border-color: rgb(13 27 42 / 0.16);
	background: #ffffff;
	color: #0d1b2a;
}

.ptw-site-header__menu-button {
	display: inline-grid;
	width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	border: var(--ptw-border-width-sm) solid rgb(13 27 42 / 0.16);
	border-radius: var(--ptw-radius-md);
	background: #ffffff;
	color: #0d1b2a;
}

.ptw-site-header__menu-line,
.ptw-site-header__menu-line::before,
.ptw-site-header__menu-line::after {
	display: block;
	width: 1.25rem;
	height: 0.125rem;
	border-radius: var(--ptw-radius-pill);
	background: currentColor;
	content: "";
}

.ptw-site-header__menu-line {
	position: relative;
}

.ptw-site-header__menu-line::before,
.ptw-site-header__menu-line::after {
	position: absolute;
	left: 0;
}

.ptw-site-header__menu-line::before {
	top: -0.4rem;
}

.ptw-site-header__menu-line::after {
	top: 0.4rem;
}

.ptw-site-mobile-nav {
	border-top: var(--ptw-border-width-sm) solid rgb(13 27 42 / 0.1);
	background: #ffffff;
}

.ptw-site-mobile-nav__nav {
	display: grid;
	gap: var(--ptw-space-1);
	width: min(100% - (var(--ptw-space-5) * 2), 76rem);
	margin-inline: auto;
	padding-block: var(--ptw-space-3);
}

.ptw-site-mobile-nav__link {
	padding: var(--ptw-space-3);
	border-radius: var(--ptw-radius-md);
	color: #0d1b2a;
	font-weight: var(--ptw-font-weight-semibold);
	text-decoration: none;
}

.ptw-site-footer {
	margin-top: var(--ptw-space-10);
	background: #ffffff;
	color: #0d1b2a;
	font-family: var(--ptw-font-family-base);
}

.ptw-site-footer__inner {
	display: grid;
	gap: var(--ptw-space-6);
	padding-block: var(--ptw-space-8);
	border-top: var(--ptw-border-width-sm) solid rgb(13 27 42 / 0.12);
}

.ptw-site-footer__brand-link {
	color: #0d1b2a;
	font-size: var(--ptw-font-size-xl);
	font-weight: var(--ptw-font-weight-bold);
	text-decoration: none;
}

.ptw-site-footer__summary,
.ptw-site-footer__copyright {
	margin: var(--ptw-space-2) 0 0;
	color: var(--ptw-color-text-secondary);
}

.ptw-site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ptw-space-3) var(--ptw-space-5);
}

.ptw-site-footer__link {
	color: var(--ptw-color-text-secondary);
	text-transform: none;
}

.ptw-site-header a:focus-visible,
.ptw-site-header button:focus-visible,
.ptw-site-footer a:focus-visible {
	outline: var(--ptw-border-width-md) solid var(--ptw-color-focus);
	outline-offset: var(--ptw-space-1);
	box-shadow: var(--ptw-shadow-focus);
}

@media (min-width: 64rem) {
	.ptw-site-header__nav,
	.ptw-site-header__search {
		display: flex;
	}

	.ptw-site-header__menu-button {
		display: none;
	}

	.ptw-site-footer__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: start;
	}

	.ptw-site-footer__copyright {
		grid-column: 1 / -1;
		text-align: center;
	}
}

@media (max-width: 48rem) {
	.ptw-site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		width: min(100% - (var(--ptw-space-5) * 2), 76rem);
		min-height: 4.5rem;
	}

	.ptw-site-header__brand-name {
		font-size: 1.35rem;
	}

	.ptw-site-header__tagline {
		display: none;
	}
}
