/* Email sign-up pop-up (inc/join.php, assets/js/join.js). Ground panel, bone text, one ochre action. */
.hp-join {
	box-sizing: border-box; width: min(calc(100vw - 32px), 460px); max-height: 92vh; margin: auto; padding: 40px 34px 30px; overflow: auto;
	background: #14100D; color: #F3EDE3; border: 1px solid rgba(243,237,227,.22); border-radius: 0;
	font-family: var(--wp--preset--font-family--body); text-align: left;
}
.hp-join::backdrop { background: rgba(8,6,4,.72); }
.hp-join[open] { animation: hpJoinIn .25s ease-out; }
@keyframes hpJoinIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hp-join[open] { animation: none; } }
.hp-join-x {
	position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; padding: 0;
	background: none; border: 0; color: #F3EDE3; font-size: 28px; line-height: 1; cursor: pointer;
}
.hp-join-kicker { margin: 0 0 10px; color: #E0A84A; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hp-join-title {
	margin: 0 0 16px; color: #F3EDE3;
	font-family: var(--wp--preset--font-family--headline); font-style: italic; font-weight: 500;
	font-size: clamp(30px, 7vw, 40px); line-height: 1.05; letter-spacing: -.015em; text-transform: none;
}
.hp-join-text { margin: 0 0 20px; color: rgba(243,237,227,.86); font-size: 16px; line-height: 1.5; }
.hp-join-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.hp-join-input {
	display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 14px; margin: 0 0 12px;
	background: #F3EDE3; color: #14100D; border: 2px solid #F3EDE3; border-radius: 0; font: inherit; font-size: 16px;
}
.hp-join-input[aria-invalid="true"] { border-color: #E0A84A; }
.hp-join-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hp-join-go {
	display: block; width: 100%; min-height: 48px; padding: 0 20px;
	background: #C98B2E; color: #14100D; border: 0; border-radius: 0; cursor: pointer;
	font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.hp-join-go:hover { background: #E0A84A; }
.hp-join-go[disabled] { opacity: .6; cursor: default; }
.hp-join-msg { min-height: 1.4em; margin: 12px 0 0; color: #E0A84A; font-size: 14px; line-height: 1.4; }
.hp-join-fine { margin: 16px 0 0; color: rgba(243,237,227,.72); font-size: 12px; line-height: 1.5; }
.hp-join-fine a { color: inherit; text-decoration: underline; }
.hp-join-no {
	display: block; margin: 12px auto 0; min-height: 44px; padding: 0 12px;
	background: none; border: 0; color: rgba(243,237,227,.86); cursor: pointer;
	font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px;
}
.hp-join-code { display: inline-block; margin-top: 8px; padding: 4px 12px; border: 1px dashed #E0A84A; color: #E0A84A; font-style: normal; letter-spacing: .06em; user-select: all; }
.hp-join-x:focus-visible, .hp-join-go:focus-visible, .hp-join-no:focus-visible, .hp-join-input:focus-visible, .hp-join-fine a:focus-visible { outline: 2px solid #F3EDE3; outline-offset: 2px; }

/* phones: the box fits inside the screen with room to spare, and everything inside is a size smaller */
@media (max-width: 480px) {
	.hp-join { max-height: calc(100dvh - 32px); padding: 32px 20px 20px; }
		.hp-join-title { margin-bottom: 12px; font-size: 28px; }
	.hp-join-text { margin-bottom: 16px; font-size: 15px; line-height: 1.45; }
	.hp-join-input { min-height: 48px; margin-bottom: 12px; }
	.hp-join-go { min-height: 48px; font-size: 12px; }
	.hp-join-msg { margin-top: 8px; }
	.hp-join-fine { margin-top: 8px; font-size: 12px; }
	.hp-join-no { margin-top: 8px; }
	.hp-join-x { top: 2px; right: 2px; }
}
