/* Coming soon page. Same 1728px Figma frame as the homepage, scaled to fit one screen. */

.be-soon-page {
	background: var(--be-ink);
}

.be-soon {
	--u: min(calc(min(100vw, 2200px) / 1728), calc(100svh / 1117));
	box-sizing: border-box;
	display: grid;
	grid-template-rows: auto 1fr auto;
	width: 100%;
	max-width: none !important;
	min-height: 100svh;
	margin: 0 !important;
	padding: max(18px, calc(40 * var(--u))) var(--be-gutter) max(16px, calc(30 * var(--u)));
	background: var(--be-ink);
	color: var(--be-cream);
	overflow: clip;
}

.be-soon * {
	box-sizing: border-box;
}

.be-soon > *,
.be-soon__main > *,
.be-soon__top > *,
.be-soon__bar > * {
	margin-block: 0;
}

.be-soon p,
.be-soon h1 {
	margin-block: 0;
}

.be-soon a {
	color: inherit;
	text-decoration: none;
}

.be-soon__top,
.be-soon__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.be-soon__label {
	font-family: var(--be-display);
	font-size: max(13px, calc(21 * var(--u)));
	text-transform: uppercase;
}

.be-soon__status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 18px;
	border: 1px solid #77736e;
	border-radius: 999px;
	font-size: max(13px, calc(15 * var(--u)));
	font-weight: 500;
}

.be-soon__status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--cashmere, #c5ae9c);
	box-shadow: 0 0 0 0 rgb(197 174 156 / .6);
	animation: be-soon-pulse 2.4s ease-out infinite;
}

@keyframes be-soon-pulse {
	70% {
		box-shadow: 0 0 0 10px rgb(197 174 156 / 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgb(197 174 156 / 0);
	}
}

.be-soon__main {
	display: grid;
	grid-template-columns: calc(1000 * var(--u)) minmax(0, 1fr);
	align-items: end;
	column-gap: calc(60 * var(--u));
	padding-block: calc(24 * var(--u)) calc(30 * var(--u));
}

.be-soon__brand {
	position: relative;
	font-family: var(--be-display);
	line-height: .98;
}

.be-soon__be {
	font-size: calc(430 * var(--u));
}

.be-soon__words {
	margin: calc(-4 * var(--u)) 0 0 !important;
}

.be-soon__icon {
	margin: 0 !important;
	font-size: calc(445 * var(--u));
	white-space: nowrap;
}

/* One word at a time; sections.js cycles through the rest (BACK → ICON). */
.be-soon__words > .be-soon__icon + .be-soon__icon {
	display: none;
}

.be-soon__icon .ch {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
}

.be-soon__icon .ch > span {
	display: inline-block;
	will-change: transform;
}

.be-soon__stack {
	position: absolute;
	top: calc(30 * var(--u));
	left: calc(575 * var(--u));
	width: calc(232 * var(--u));
	height: calc(344 * var(--u));
	margin: 0 !important;
}

.be-soon__stack figure {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	transition: transform .8s var(--be-ease), opacity .6s ease;
}

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

.be-soon__stack figure:nth-child(1) {
	transform: rotate(1deg);
}

.be-soon__stack figure:nth-child(2) {
	transform: rotate(5deg);
}

.be-soon__stack figure:nth-child(3) {
	transform: rotate(12deg);
}

/* Top card flies off, then slides back in at the bottom of the pile. */
.be-soon__stack figure.is-leaving {
	opacity: 0;
	transform: translate(36%, -14%) rotate(26deg);
}

.be-soon__side {
	padding-bottom: calc(20 * var(--u));
}

.be-soon__title {
	font-family: var(--be-display);
	font-size: max(34px, calc(70 * var(--u)));
	font-weight: 400;
	line-height: 1.05;
	text-transform: uppercase;
}

.be-soon__text {
	max-width: 30em;
	margin-top: calc(26 * var(--u)) !important;
	color: var(--be-gray);
	font-size: max(15px, calc(21 * var(--u)));
	line-height: 1.5;
}

.be-soon__mail {
	margin-top: calc(44 * var(--u)) !important;
	font-family: var(--be-display);
	font-size: max(24px, calc(40 * var(--u)));
	line-height: 1.2;
	text-transform: uppercase;
}

.be-soon__mail a {
	background: linear-gradient(currentcolor, currentcolor) 0 100% / 0 2px no-repeat;
	transition: background-size .5s var(--be-ease);
}

.be-soon__mail a:hover,
.be-soon__mail a:focus-visible {
	background-size: 100% 2px;
}

.be-soon__bar {
	padding-top: calc(20 * var(--u));
	border-top: 1px solid rgb(249 244 238 / .14);
	color: var(--be-gray);
	font-size: max(12px, calc(16 * var(--u)));
}

@media (max-width: 899px) {
	.be-soon {
		--soon-u: calc((100vw - 2 * var(--be-gutter)) / 807);
	}

	.be-soon__main {
		display: block;
		align-self: center;
		padding-block: 40px 32px;
	}

	.be-soon__be {
		font-size: calc(430 * var(--soon-u));
	}

	.be-soon__words {
		margin-top: 0 !important;
	}

	/* BACK is the widest word; this size keeps it inside a 375px screen. */
	.be-soon__icon {
		font-size: calc(420 * var(--soon-u));
	}

	.be-soon__stack {
		top: calc(24 * var(--soon-u));
		left: calc(575 * var(--soon-u));
		width: calc(200 * var(--soon-u));
		height: calc(296 * var(--soon-u));
	}

	.be-soon__side {
		margin-top: 36px !important;
		padding-bottom: 0;
	}

	.be-soon__text {
		margin-top: 16px !important;
	}

	.be-soon__mail {
		margin-top: 28px !important;
	}

	.be-soon__status {
		padding: 7px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.be-soon__status::before {
		animation: none;
	}
}

/* Site Editor: no fixed header, keep the cards visible while editing. */
.editor-styles-wrapper .be-soon {
	min-height: 100vh;
}

/* All words stay editable in the editor, stacked under each other. */
.editor-styles-wrapper .be-soon__words > .be-soon__icon + .be-soon__icon {
	display: block;
}

/* The editor makes every block position: relative, which would drop the photo pile out of place. */
.editor-styles-wrapper .be-soon__stack.be-soon__stack,
.editor-styles-wrapper .be-soon__stack.be-soon__stack > figure {
	position: absolute;
}
