/* Build Your Event (build.html). Uses the site tokens from styles.css. */
.bx {
	--bx-card: #ffffff;
	--bx-tile: radial-gradient(circle at 50% 38%, #ffffff 0%, #f3f2ee 62%, #ebe9e3 100%);
	--bx-radius: 20px;
	--bx-shadow: 0 1px 2px #2526240d, 0 8px 24px -12px #25262429;
	--bx-shadow-hover: 0 2px 4px #25262412, 0 18px 40px -16px #25262440;
	--bx-accent: #252624;
	--bx-good: #3f6b46;
	padding-bottom: 60px;
}

/* ---------- Hero ---------- */
.bx-hero {
	padding: 88px calc(5.5 * var(--vw)) 40px;
	max-width: 1320px;
	margin: 0 auto;
}
.bx-eyebrow {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
}
.bx-hero .display {
	font-size: clamp(40px, calc(6 * var(--vw)), 72px);
	letter-spacing: -0.045em;
}
.bx-hero p {
	margin-top: 22px;
	max-width: 56ch;
	color: #5f615a;
	font-size: 16px;
	line-height: 1.7;
}

/* ---------- Step tabs (sticky, like a menu category bar) ---------- */
.bx-tabs {
	position: sticky;
	top: 80px;
	z-index: 30;
	display: flex;
	gap: 8px;
	padding: 12px calc(5.5 * var(--vw));
	max-width: 1320px;
	margin: 0 auto;
	background: #f8f8f6eb;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	overflow-x: auto;
	scrollbar-width: none;
}
.bx-tabs::-webkit-scrollbar {
	display: none;
}
.bx-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
	padding: 9px 16px 9px 9px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	color: #4b4d47;
	background: #fff;
	border: 1px solid #25262417;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.bx-tabs a:hover {
	border-color: #25262440;
}
.bx-tabs a.is-active {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}
.bx-tab-num {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #efeee9;
	color: var(--ink);
	font-size: 11px;
	font-weight: 600;
	transition: background 0.25s;
}
.bx-tabs a.is-active .bx-tab-num {
	background: #ffffff26;
	color: #fff;
}

/* ---------- Layout ---------- */
.bx-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 44px;
	align-items: start;
	max-width: 1320px;
	margin: 0 auto;
	padding: 18px calc(5.5 * var(--vw)) 0;
}
.bx-section {
	scroll-margin-top: 150px;
	padding: 26px 0 38px;
}
.bx-section + .bx-section {
	border-top: 1px solid var(--line);
}
.bx-section-head {
	margin-bottom: 22px;
}
.bx-section-head h2 {
	font-size: clamp(24px, calc(2.4 * var(--vw)), 32px);
	letter-spacing: -0.035em;
	line-height: 1.2;
}
.bx-section-head p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.bx-req,
.bx-opt-tag {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 999px;
	background: #25262412;
	color: var(--ink);
}
.bx-opt-tag {
	background: transparent;
	border: 1px solid #25262426;
	color: var(--muted);
}
.bx-attention {
	animation: bx-attention 1.4s var(--ease);
}
@keyframes bx-attention {
	0%,
	100% {
		background: transparent;
	}
	25% {
		background: #f0ece0;
	}
}

.bx-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 18px;
}

.bx-grid[data-group='backdrops'] {
	grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}

/* ---------- Cards ---------- */
.bx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--bx-card);
	border-radius: var(--bx-radius);
	box-shadow: var(--bx-shadow);
	outline: 2px solid transparent;
	outline-offset: -2px;
	transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), outline-color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
.bx-card:hover {
	box-shadow: var(--bx-shadow-hover);
	transform: translateY(-2px);
}
}
.bx-card.is-selected {
	outline-color: var(--ink);
}
.bx-card-hit {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}
.bx-card-hit:focus-visible {
	outline: 2px solid #777b71;
	outline-offset: 3px;
}
.bx-card-art {
	position: relative;
	margin: 8px 8px 0;
	border-radius: 14px;
	background: var(--bx-tile);
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.bx-card-art svg {
	width: 78%;
	height: auto;
	max-height: 100%;
	transition: transform 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
.bx-card:hover .bx-card-art svg {
	transform: scale(1.05) translateY(-2px);
}
}
.bx-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 8px #2526241f;
	font-size: 11px;
	font-weight: 600;
}
.bx-add {
	position: absolute;
	z-index: 2;
	right: 10px;
	bottom: 10px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 2px 10px #25262429, 0 0 0 1px #2526240f;
	transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.bx-card-art > .bx-stepper {
	position: absolute;
	z-index: 2;
	right: 10px;
	bottom: 10px;
}
@media (hover: hover) and (pointer: fine) {
.bx-add:hover {
	transform: scale(1.08);
}
}
.bx-add svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.bx-add.is-on {
	background: var(--ink);
	color: #fff;
}
.bx-add b {
	font-size: 14px;
	font-weight: 600;
}
.bx-card-text {
	padding: 14px 16px 18px;
}
.bx-card-text h3 {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
	padding-right: 8px;
}
.bx-price {
	margin-top: 3px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink);
}
.bx-price s {
	color: #9a9b93;
	font-weight: 400;
}
.bx-price-free {
	color: var(--bx-good);
	font-weight: 600;
}
.bx-meta {
	color: var(--muted);
	font-weight: 400;
}
.bx-desc {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.55;
	color: #6a6c65;
}
.bx-dots {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 12px;
	color: var(--muted);
}
.bx-dots i {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px #25262426, inset -2px -3px 4px #0000001a;
}
.bx-dots span {
	margin-left: 2px;
}

/* Stepper (extra hours, pillars) */
.bx-stepper {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	box-shadow: 0 2px 10px #25262433;
}
.bx-stepper button {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: inherit;
	font-size: 18px;
	line-height: 1;
}
.bx-stepper button:hover:not(:disabled) {
	background: #ffffff1f;
}
.bx-stepper output {
	min-width: 20px;
	text-align: center;
	font-weight: 600;
}

/* ---------- Cart ---------- */
.bx-cart {
	position: sticky;
	top: 150px;
}
.bx-cart-inner {
	background: #fff;
	border-radius: 24px;
	box-shadow: var(--bx-shadow);
	padding: 22px;
	max-height: calc(calc(100 * var(--vh)) - 170px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}
.bx-cart-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.bx-cart-head h2 {
	font-size: 22px;
	letter-spacing: -0.03em;
	margin-right: auto;
	outline: none;
}
.bx-link {
	font-size: 12px;
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 8px 0;
}
.bx-link:hover {
	color: var(--ink);
}
.bx-cart-close {
	display: none;
}
.bx-stage {
	border-radius: 16px;
	overflow: hidden;
	background: #efece6;
	aspect-ratio: 4 / 3;
}
.bx-stage svg {
	display: block;
	width: 100%;
	height: 100%;
}
.bx-stage-note {
	margin-top: 8px;
	font-size: 11px;
	color: #8a8b84;
	text-align: center;
}
.bx-lines {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}
.bx-line {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	grid-template-areas: 'art text price' 'art actions actions';
	column-gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-top: 1px solid #2526241a;
	animation: bx-in 0.4s var(--ease);
}
@keyframes bx-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}
.bx-line-art {
	grid-area: art;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--bx-tile);
	display: grid;
	place-items: center;
	align-self: start;
}
.bx-line-art svg {
	width: 40px;
	height: 40px;
}
.bx-line-text {
	grid-area: text;
	min-width: 0;
}
.bx-line-text strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}
.bx-line-text small {
	display: block;
	font-size: 12px;
	color: var(--muted);
	overflow-wrap: anywhere;
	line-height: 1.4;
}
.bx-line-price {
	grid-area: price;
	font-size: 13px;
	font-weight: 600;
	align-self: start;
	text-align: right;
}
.bx-line-price small {
	font-size: 11px;
	font-weight: 600;
	color: var(--bx-good);
}
.bx-line-actions {
	grid-area: actions;
	display: flex;
	gap: 14px;
	margin-top: 2px;
}
.bx-line-actions button {
	font-size: 12px;
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 4px 0;
	min-height: 28px;
}
.bx-line-actions button:hover {
	color: var(--ink);
}
.bx-empty {
	margin-top: 14px;
	padding: 14px;
	border-radius: 12px;
	background: #f6f5f1;
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}
.bx-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--ink);
	font-size: 14px;
}
.bx-total strong {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.bx-go {
	width: 100%;
	margin-top: 16px;
	justify-content: space-between;
	border-radius: 12px;
	font-size: 14px;
	min-height: 54px;
}
.bx-missing {
	margin-top: 10px;
	font-size: 12px;
	color: #8a5a2b;
	text-align: center;
}
.bx-missing:empty {
	display: none;
}
.bx-fine {
	margin-top: 10px;
	font-size: 11px;
	line-height: 1.6;
	color: #8a8b84;
	text-align: center;
}
.bx-fine a {
	text-decoration: underline;
}

/* Mobile bar + toast */
.bx-bar {
	display: none;
}
.bx-scrim {
	display: none;
}
.bx-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 90;
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 13px;
	box-shadow: 0 10px 30px -10px #25262480;
	transition: opacity 0.3s, transform 0.4s var(--ease);
	white-space: nowrap;
}
.bx-toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------- Dialogs ---------- */
.bx-dialog {
	width: min(560px, calc(calc(100 * var(--vw)) - 32px));
	max-height: calc(calc(100 * var(--dvh)) - 48px);
	padding: 0;
	border: 0;
	border-radius: 24px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 30px 80px -20px #25262466;
	overflow: auto;
	overscroll-behavior: contain;
}
.bx-dialog::backdrop {
	background: #1d1e1b73;
	backdrop-filter: blur(3px);
}
.bx-dialog[open] {
	animation: bx-pop 0.4s var(--ease);
}
@keyframes bx-pop {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.98);
	}
}
.bx-dialog-close {
	position: sticky;
	top: 14px;
	float: right;
	margin: 14px 14px -58px 0;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 10px #25262426;
}
.bx-dialog-close svg,
.bx-cart-close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}
.bx-item-art {
	background: var(--bx-tile);
	aspect-ratio: 16 / 10;
	display: grid;
	place-items: center;
}
.bx-item-art svg {
	width: min(62%, 300px);
	height: auto;
}
.bx-item-body {
	padding: 24px 26px 8px;
}
.bx-item-body h2 {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.2;
}
.bx-item-body .bx-price {
	font-size: 15px;
	margin-top: 4px;
}
.bx-item-body .bx-desc {
	font-size: 14px;
	margin-top: 8px;
}
.bx-opt {
	margin: 22px 0 0;
	padding: 18px 0 0;
	border: 0;
	border-top: 1px solid #2526241a;
	min-width: 0;
}
.bx-opt legend {
	float: left;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	font-weight: 600;
	padding: 0;
	margin-bottom: 12px;
}
.bx-opt legend span,
.bx-field em {
	font-size: 10px;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
	background: #25262412;
}
.bx-chips {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.bx-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	border: 1px solid #25262426;
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.bx-chip:hover {
	border-color: #25262466;
}
.bx-chip input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.bx-chip:has(input:checked) {
	border-color: var(--ink);
	background: #f3f2ee;
	box-shadow: inset 0 0 0 1px var(--ink);
}
.bx-chip:has(input:focus-visible) {
	outline: 2px solid #777b71;
	outline-offset: 3px;
}
.bx-swatch {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px #25262433, inset -2px -3px 5px #0000001f;
	flex: none;
}
.bx-swatch-set {
	display: inline-flex;
}
.bx-swatch-set i {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 1.5px #fff, inset 0 0 0 1px #25262426;
}
.bx-swatch-set i + i {
	margin-left: -5px;
}
.bx-fixed {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f6f5f1;
	font-size: 13px;
}
.bx-perk {
	background: #edf3ea;
	color: var(--bx-good);
	font-weight: 500;
}
.bx-qty {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	font-weight: 600;
}
.bx-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: 16px;
	font-size: 13px;
	font-weight: 500;
}
.bx-opt .bx-field {
	margin-top: 14px;
}
.bx-item-body > .bx-field {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #2526241a;
	font-size: 15px;
	font-weight: 600;
}
.bx-field > span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.bx-field em {
	background: none;
	padding: 0;
	letter-spacing: 0;
	text-transform: none;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
}
.bx-item-body > .bx-field em {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 8px;
	color: var(--ink);
	background: #25262412;
}
.bx-field input,
.bx-field select,
.bx-field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #25262426;
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	font-size: 16px;
	font-weight: 400;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.bx-field input:focus,
.bx-field select:focus,
.bx-field textarea:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px #2526241a;
}
.bx-item-foot {
	position: sticky;
	bottom: 0;
	display: flex;
	gap: 10px;
	padding: 18px 26px 22px;
	margin-top: 18px;
	background: linear-gradient(#fff0, #fff 22%);
}
.bx-item-foot .button {
	border-radius: 12px;
	font-size: 14px;
	min-height: 52px;
}
.bx-save {
	flex: 1;
	justify-content: space-between;
}
.bx-remove {
	flex: none;
}

/* Checkout */
.bx-checkout {
	width: min(640px, calc(calc(100 * var(--vw)) - 32px));
	overflow-x: hidden;
}
#bx-form {
	padding: 30px 30px 26px;
	min-width: 0;
}
.bx-checkout .bx-field {
	min-width: 0;
}
.bx-checkout .bx-field :is(input, select, textarea) {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
.bx-checkout .bx-field-time {
	width: 100%;
	max-width: 100%;
}
/* Safari's native time control has an intrinsic width. Size it from the
   field instead, so its internal editor cannot widen the checkout. */
.bx-checkout .bx-field input[type="time"] {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 0;
	min-width: 100%;
	max-width: 100%;
	min-height: 50px;
	text-align: left;
}
.bx-checkout input[type="time"]::-webkit-date-and-time-value {
	min-width: 0;
	text-align: left;
}
.bx-checkout input[type="time"]::-webkit-datetime-edit {
	min-width: 0;
	padding: 0;
}
#bx-form h2 {
	font-size: 30px;
	letter-spacing: -0.04em;
	padding-right: 50px;
}
.bx-checkout-lede {
	margin-top: 6px;
	color: var(--muted);
	font-size: 14px;
}
.bx-summary {
	margin-top: 20px;
	padding: 14px;
	border-radius: 16px;
	background: #f6f5f1;
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
.bx-mini-stage {
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}
.bx-mini-stage svg {
	display: block;
	width: 100%;
	height: 100%;
}
.bx-summary ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
}
.bx-summary li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 3px 0;
}
.bx-summary li small {
	color: var(--muted);
}
.bx-mini-total {
	grid-column: 2;
	display: flex;
	justify-content: space-between;
	padding-top: 8px;
	border-top: 1px solid #25262426;
	font-size: 13px;
	margin-top: -8px;
}
.bx-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 14px;
	margin-top: 6px;
}
.bx-wide {
	grid-column: 1 / -1;
}
.bx-send {
	width: 100%;
	margin-top: 22px;
	border-radius: 12px;
	font-size: 14px;
	min-height: 54px;
}
.bx-success {
	padding: 40px 24px 30px;
	text-align: center;
	outline: none;
}
.bx-success .receipt-ledger dt small {
	font-weight: 400;
	color: #65665d;
}
.bx-success .receipt-ledger dt {
	flex: 1 1 40%;
	min-width: 0;
	overflow-wrap: anywhere;
}
.bx-success .receipt-ledger dd {
	flex: 1 1 60%;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
}
.bx-receipt-gap {
	border-top: 1px dashed #a4a496;
	margin: 8px 0;
	padding: 0 !important;
}
.bx-receipt-total {
	border-top: 1px dashed #a4a496;
	margin-top: 8px;
	padding-top: 12px !important;
	font-weight: 700;
}
.bx-success .button {
	min-width: 160px;
	border-radius: 12px;
}

/* ---------- Tablet & phone ---------- */
@media (max-width: 1100px) {
	.bx-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 28px;
	}
	.bx-grid {
		grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	}
}
@media (max-width: 900px) {
	.bx {
		padding-bottom: 110px;
	}
	.bx-hero {
		padding-top: 48px;
		padding-bottom: 24px;
	}
	.bx-hero p {
		font-size: 15px;
	}
	.bx-tabs {
		top: 80px;
		padding-block: 10px;
	}
	.bx-layout {
		display: block;
		padding-top: 6px;
	}
	.bx-section {
		scroll-margin-top: 140px;
	}
	.bx-cart {
		position: fixed;
		inset: auto 0 0 0;
		top: auto;
		z-index: 95;
		transform: translateY(105%);
		visibility: hidden;
		transition: transform 0.45s var(--ease), visibility 0s 0.45s;
	}
	.bx-cart.is-open {
		transform: none;
		visibility: visible;
		transition: transform 0.45s var(--ease);
	}
	.bx-cart-inner {
		border-radius: 24px 24px 0 0;
		max-height: calc(88 * var(--dvh));
		padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
		box-shadow: 0 -20px 50px -20px #25262466;
	}
	.bx-cart-inner::before {
		content: '';
		display: block;
		width: 40px;
		height: 4px;
		border-radius: 4px;
		background: #25262426;
		margin: -6px auto 12px;
	}
	.bx-cart-close {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: #f3f2ee;
	}
	.bx-scrim {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 94;
		background: #1d1e1b73;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.35s;
	}
	body.bx-cart-open .bx-scrim {
		opacity: 1;
		pointer-events: auto;
	}
	body.bx-cart-open {
		overflow: hidden;
	}
	.bx-bar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: linear-gradient(#f8f8f600, #f8f8f6 35%);
	}
	.bx-bar-btn {
		display: flex;
		align-items: center;
		gap: 12px;
		width: 100%;
		min-height: 56px;
		padding: 0 18px;
		border-radius: 14px;
		background: var(--ink);
		color: #fff;
		font-size: 14px;
		box-shadow: 0 12px 30px -12px #25262499;
	}
	.bx-bar-count {
		padding: 3px 9px;
		border-radius: 999px;
		background: #ffffff26;
		font-size: 12px;
	}
	.bx-bar-label {
		margin-right: auto;
		font-weight: 500;
	}
	.bx-bar-total {
		font-weight: 600;
	}
	.bx-bar.bump .bx-bar-btn {
		animation: bx-bump 0.45s var(--ease);
	}
	@keyframes bx-bump {
		40% {
			transform: scale(1.03);
		}
	}
	.bx-toast {
		bottom: calc(92px + env(safe-area-inset-bottom));
	}
}
@media (max-width: 600px) {
	.bx-hero .display {
		font-size: 40px;
		letter-spacing: -0.04em;
	}
	.bx-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	.bx-card-art {
		margin: 6px 6px 0;
		border-radius: 12px;
	}
	.bx-card-text {
		padding: 12px 12px 14px;
	}
	.bx-card-text h3 {
		font-size: 14px;
	}
	.bx-price {
		font-size: 13px;
	}
	.bx-desc {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 12px;
	}
	.bx-add {
		width: 36px;
		height: 36px;
	}
	.bx-stepper button {
		width: 30px;
		height: 30px;
	}
	.bx-dialog {
		width: calc(100 * var(--vw));
		max-width: calc(100 * var(--vw));
		max-height: calc(92 * var(--dvh));
		margin: auto 0 0;
		border-radius: 24px 24px 0 0;
	}
	.bx-dialog[open] {
		animation: bx-sheet 0.45s var(--ease);
	}
	@keyframes bx-sheet {
		from {
			transform: translateY(40%);
			opacity: 0;
		}
	}
	.bx-item-body {
		padding: 20px 18px 4px;
	}
	.bx-item-foot {
		padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
	}
	#bx-form {
		padding: 24px 18px calc(22px + env(safe-area-inset-bottom));
	}
	.bx-summary {
		grid-template-columns: 1fr;
	}
	.bx-mini-total {
		grid-column: 1;
		margin-top: 0;
	}
	.bx-fields {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (prefers-reduced-motion: reduce) {
	.bx *,
	.bx-dialog,
	.bx-dialog * {
		animation: none !important;
		transition: none !important;
	}
}

/* Site-wide button rules shrink buttons on small screens; keep these full width. */
body .bx .bx-cart-inner .bx-go.button,
body .bx-dialog #bx-form .bx-send {
	width: 100% !important;
	max-width: none !important;
	align-self: stretch !important;
}
.bx-dialog .bx-item-foot .bx-save {
	flex: 1 1 auto !important;
	width: auto !important;
	max-width: none !important;
}
@media (max-width: 700px) {
	.bx-tabs {
		top: 64px;
	}
	.bx-section {
		scroll-margin-top: 124px;
	}
}
@media (max-width: 600px) {
	.bx-mini-stage {
		max-width: 240px;
		width: 100%;
		margin-inline: auto;
	}
}

@media (max-width: 900px) {
 .bx-dialog #bx-form :is(input, select, textarea) { font-size: 16px; }
}

.bx-item-body > .bx-field.bx-field-soft {
	margin-top: 14px;
	padding-top: 0;
	border-top: 0;
	font-size: 13px;
	font-weight: 500;
}
.bx-item-body > .bx-field.bx-field-soft em {
	background: none;
	padding: 0;
	letter-spacing: 0;
	text-transform: none;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
}

/* Pearl pills: plain-CSS take on the PearlButton look, used for the step tabs.
   (Named pearl-pill so it never clashes with the React PearlButton component.) */
.pearl-pill {
	--pearl-bg: #080808;
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	border-radius: 100px;
	background-color: var(--pearl-bg);
	color: rgba(255, 255, 255, 0.82);
	font: inherit;
	cursor: pointer;
	outline: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow:
		inset 0 0.3rem 0.9rem rgba(255, 255, 255, 0.3),
		inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.7),
		inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.5),
		0 1.4rem 1.8rem -0.6rem rgba(0, 0, 0, 0.28),
		0 0.7rem 0.7rem -0.45rem rgba(0, 0, 0, 0.7);
}
.pearl-pill .pearl-wrap {
	position: relative;
	display: block;
	padding: 17px 26px;
	border-radius: inherit;
	overflow: hidden;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
}
.pearl-pill .pearl-text {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	transform: translateY(2%);
	transition: transform 0.2s ease;
	-webkit-mask-image: linear-gradient(to bottom, #fff 45%, rgba(255, 255, 255, 0.55));
	mask-image: linear-gradient(to bottom, #fff 45%, rgba(255, 255, 255, 0.55));
}
.pearl-pill .pearl-spark {
	display: inline-grid;
	width: 1em;
	justify-items: center;
}
.pearl-pill .pearl-spark > span {
	grid-area: 1 / 1;
	transition: opacity 0.2s ease;
}
.pearl-pill .pearl-spark > span:nth-child(2),
.pearl-pill:hover .pearl-spark > span:nth-child(1),
.pearl-pill:focus-visible .pearl-spark > span:nth-child(1) {
	opacity: 0;
}
.pearl-pill:hover .pearl-spark > span:nth-child(2),
.pearl-pill:focus-visible .pearl-spark > span:nth-child(2) {
	opacity: 1;
}
.pearl-pill .pearl-end {
	margin-left: auto;
	padding-left: 12px;
	white-space: nowrap;
}
.pearl-pill .pearl-wrap::before,
.pearl-pill .pearl-wrap::after {
	content: '';
	position: absolute;
	pointer-events: none;
	transition: all 0.3s ease;
}
.pearl-pill .pearl-wrap::before {
	left: -15%;
	right: -15%;
	bottom: 25%;
	top: -100%;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.12);
}
.pearl-pill .pearl-wrap::after {
	left: 6%;
	right: 6%;
	top: 12%;
	bottom: 40%;
	border-radius: 22px 22px 0 0;
	box-shadow: inset 0 10px 8px -10px rgba(255, 255, 255, 0.8);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
}
.pearl-pill:hover,
.pearl-pill:focus-visible {
	box-shadow:
		inset 0 0.3rem 0.5rem rgba(255, 255, 255, 0.4),
		inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.7),
		inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.7),
		0 1.4rem 1.8rem -0.6rem rgba(0, 0, 0, 0.28),
		0 0.7rem 0.7rem -0.45rem rgba(0, 0, 0, 0.7);
}
@media (hover: hover) and (pointer: fine) {
.pearl-pill:hover .pearl-wrap::before {
	transform: translateY(-5%);
}
}
@media (hover: hover) and (pointer: fine) {
.pearl-pill:hover .pearl-wrap::after {
	opacity: 0.4;
	transform: translateY(5%);
}
}
@media (hover: hover) and (pointer: fine) {
.pearl-pill:hover .pearl-text {
	transform: translateY(-4%);
}
}
.pearl-pill:active {
	transform: translateY(3px);
	box-shadow:
		inset 0 0.3rem 0.5rem rgba(255, 255, 255, 0.5),
		inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.8),
		inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.4),
		0 0.8rem 1.2rem -0.6rem rgba(0, 0, 0, 0.3),
		0 0.4rem 0.5rem -0.4rem rgba(0, 0, 0, 0.8);
}
.pearl-pill:focus-visible {
	outline: 2px solid #777b71;
	outline-offset: 4px;
}
.pearl-pill:disabled {
	cursor: default;
	opacity: 0.65;
	transform: none;
}
/* Step tabs as pearl pills */
.bx-tabs {
	gap: 12px;
	padding-top: 14px;
	padding-bottom: 22px;
}
.bx-tabs a.pearl-pill {
	display: inline-block;
	flex: none;
	padding: 0;
	border: 0;
	border-radius: 100px;
	background: var(--pearl-bg);
	color: rgba(255, 255, 255, 0.72);
	box-shadow:
		inset 0 0.25rem 0.7rem rgba(255, 255, 255, 0.28),
		inset 0 -0.1rem 0.25rem rgba(0, 0, 0, 0.7),
		inset 0 -0.3rem 0.7rem rgba(255, 255, 255, 0.45),
		0 0.7rem 1rem -0.45rem rgba(0, 0, 0, 0.35),
		0 0.45rem 0.5rem -0.35rem rgba(0, 0, 0, 0.75);
}
.bx-tabs a.pearl-pill .pearl-wrap {
	padding: 9px 20px 9px 9px;
	font-size: 13px;
}
.bx-tabs a.pearl-pill .pearl-text {
	gap: 10px;
}
.bx-tabs a.pearl-pill .bx-tab-num {
	background: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.85);
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
}
.bx-tabs a.pearl-pill:hover {
	border: 0;
	color: rgba(255, 255, 255, 0.9);
}
.bx-tabs a.pearl-pill.is-active {
	color: #fff;
	box-shadow:
		inset 0 0.25rem 0.5rem rgba(255, 255, 255, 0.4),
		inset 0 -0.1rem 0.25rem rgba(0, 0, 0, 0.7),
		inset 0 -0.3rem 0.7rem rgba(255, 255, 255, 0.7),
		0 0 0 2px #f8f8f6,
		0 0 0 3.5px rgba(37, 38, 36, 0.55),
		0 0.7rem 1rem -0.45rem rgba(0, 0, 0, 0.35);
}
.bx-tabs a.pearl-pill.is-active .bx-tab-num {
	background: rgba(255, 255, 255, 0.24);
	color: #fff;
}
.bx-tabs a.pearl-pill {
	/* Keep each step as one clean control; the inner wrapper is only structural. */
	box-shadow: 0 0.55rem 0.9rem -0.55rem rgba(0, 0, 0, 0.7);
}
.bx-tabs a.pearl-pill .pearl-wrap::before,
.bx-tabs a.pearl-pill .pearl-wrap::after {
	display: none;
}
.bx-tabs a.pearl-pill.is-active {
	box-shadow: 0 0.55rem 0.9rem -0.55rem rgba(0, 0, 0, 0.7);
}
.bx-tabs a.pearl-pill:focus-visible {
	outline: 2px solid #777b71;
	outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
	.pearl-pill,
	.pearl-pill * {
		transition: none !important;
	}
}
@media (max-width: 600px) {
	.bx-tabs {
		gap: 8px;
	}
	.bx-tabs a.pearl-pill .pearl-wrap {
		padding: 8px 14px 8px 8px;
		font-size: 12.5px;
	}
	.bx-tabs a.pearl-pill .pearl-text {
		gap: 7px;
	}
	.bx-tabs a.pearl-pill .bx-tab-num {
		width: 22px;
		height: 22px;
	}
}

/* Keep all three steps visible and touch targets usable on phones. */
@media (max-width: 600px) {
	.bx-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; }
	.bx-tabs a.pearl-pill { min-width: 0; }
	.bx-tabs a.pearl-pill .pearl-wrap { padding: 11px 5px; font-size: 12px; }
	.bx-tabs a.pearl-pill .pearl-text { justify-content: center; gap: 4px; }
	.bx-tabs a.pearl-pill .bx-tab-num { width: 24px; height: 24px; flex: 0 0 24px; font-size: 11px; }
	.bx-add, .bx-stepper button { width: 44px; height: 44px; }
	.bx-card-text h3 { font-size: 16px; }
	.bx-desc { font-size: 14px; line-height: 1.6; }
}
@media (max-width: 330px) {
	.bx-grid { grid-template-columns: minmax(0, 1fr); }
	.bx-grid[data-group='backdrops'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bx-grid[data-group='backdrops'] .bx-card-text { padding: 10px; }
	.bx-grid[data-group='backdrops'] .bx-card-text h3 { font-size: 14px; }
}

/* Mobile polish pass (2026-09-25) */
@media (max-width: 900px) {
	/* Keep the footer's last row clear of the fixed "View your event" bar */
	body[data-page="build"] .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
	.bx-req, .bx-opt-tag { font-size: 11px; }
	.bx-fine, .bx-stage-note { font-size: 12px; }
	.bx-missing { font-size: 13px; }
}

/* Fix: page slowly widening on iPhone (2026-09-25)
   Safari let the 1fr grid columns grow a little every time a sheet opened or
   closed (the card artwork sized itself from the card, and the card from the
   artwork). Each open/close pushed the page wider, so iOS zoomed the page out.
   minmax(0, 1fr) + min-width: 0 locks every column to its share of the screen. */
.bx-grid { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.bx-grid[data-group='backdrops'] { grid-template-columns: repeat(auto-fill, minmax(min(165px, 100%), 1fr)); }
.bx-card, .bx-card-art, .bx-card-text { min-width: 0; }
.bx-card-art { overflow: hidden; }
@media (max-width: 1100px) {
	.bx-grid { grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
}
@media (max-width: 600px) {
	.bx-grid, .bx-grid[data-group='backdrops'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 330px) {
	.bx-grid { grid-template-columns: minmax(0, 1fr); }
	.bx-grid[data-group='backdrops'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Share the glossy Pricing call-to-action finish across build steps. */
.bx-tabs a.pearl-pill {
	--pearl-bg: #080808;
	position: relative;
	display: inline-block;
	padding: 0;
	border: 0;
	border-radius: 100px;
	background-color: var(--pearl-bg);
	color: rgba(255, 255, 255, 0.82);
	font: inherit;
	cursor: pointer;
	outline: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow:
		inset 0 0.3rem 0.9rem rgba(255, 255, 255, 0.3),
		inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.7),
		inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.5),
		0 1.4rem 1.8rem -0.6rem rgba(0, 0, 0, 0.28),
		0 0.7rem 0.7rem -0.45rem rgba(0, 0, 0, 0.7);
}
.bx-tabs a.pearl-pill .pearl-wrap {
	position: relative;
	display: block;
	padding: 17px 26px;
	border-radius: inherit;
	overflow: hidden;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
}
.bx-tabs a.pearl-pill .pearl-text {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	transform: translateY(2%);
	transition: transform 0.2s ease;
	-webkit-mask-image: linear-gradient(to bottom, #fff 45%, rgba(255, 255, 255, 0.55));
	mask-image: linear-gradient(to bottom, #fff 45%, rgba(255, 255, 255, 0.55));
}
.bx-tabs a.pearl-pill .pearl-wrap::before,
.bx-tabs a.pearl-pill .pearl-wrap::after {
	content: '';
	position: absolute;
	pointer-events: none;
	transition: all 0.3s ease;
}
.bx-tabs a.pearl-pill .pearl-wrap::before {
	left: -15%;
	right: -15%;
	bottom: 25%;
	top: -100%;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.12);
}
.bx-tabs a.pearl-pill .pearl-wrap::after {
	left: 6%;
	right: 6%;
	top: 12%;
	bottom: 40%;
	border-radius: 22px 22px 0 0;
	box-shadow: inset 0 10px 8px -10px rgba(255, 255, 255, 0.8);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
}
.bx-tabs a.pearl-pill:hover,
.bx-tabs a.pearl-pill:focus-visible {
	box-shadow:
		inset 0 0.3rem 0.5rem rgba(255, 255, 255, 0.4),
		inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.7),
		inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.7),
		0 1.4rem 1.8rem -0.6rem rgba(0, 0, 0, 0.28),
		0 0.7rem 0.7rem -0.45rem rgba(0, 0, 0, 0.7);
}
@media (hover: hover) and (pointer: fine) {
.bx-tabs a.pearl-pill:hover .pearl-wrap::before {
	transform: translateY(-5%);
}
}
@media (hover: hover) and (pointer: fine) {
.bx-tabs a.pearl-pill:hover .pearl-wrap::after {
	opacity: 0.4;
	transform: translateY(5%);
}
}
@media (hover: hover) and (pointer: fine) {
.bx-tabs a.pearl-pill:hover .pearl-text {
	transform: translateY(-4%);
}
}
.bx-tabs a.pearl-pill:active {
	transform: translateY(3px);
	box-shadow:
		inset 0 0.3rem 0.5rem rgba(255, 255, 255, 0.5),
		inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.8),
		inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.4),
		0 0.8rem 1.2rem -0.6rem rgba(0, 0, 0, 0.3),
		0 0.4rem 0.5rem -0.4rem rgba(0, 0, 0, 0.8);
}
.bx-tabs a.pearl-pill:focus-visible {
	outline: 2px solid #777b71;
	outline-offset: 4px;
}
.addons-builder .addons-builder-note { margin-top: 24px; font-size: 12px; }
@media (max-width: 480px) {
	.addons-builder-steps { gap: 14px; }
	.bx-tabs a.pearl-pill { width: 100%; }
}
.addon-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}
.addon-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--paper-light);
	border-radius: 18px;
	padding: 26px 24px 24px;
	box-shadow: 0 1px 2px #00000008, 0 16px 34px -26px #00000040;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
@media (hover: hover) {
	@media (hover: hover) and (pointer: fine) {
.addon-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px #00000008, 0 24px 40px -24px #00000055; }
}
}
.addon-card h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 10px; padding-right: 80px; }
.addon-card p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.addon-price {
	margin-top: auto;
	padding-top: 22px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}
.addon-price strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.addon-price small { font-size: 12px; color: var(--muted); text-align: right; }
.addon-tag {
	position: absolute;
	top: 22px;
	right: 20px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: 11px;
	font-weight: 600;
}
.upsell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 30px;
	padding: 28px 30px;
	border-radius: 18px;
	border: 1px dashed #25262455;
}
.upsell h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.upsell p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 6px; max-width: 560px; }
.upsell .button { flex-shrink: 0; }
@media (max-width: 700px) {
	.upsell { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
}

/* Policies */
.policies { border-top: 0; }
.policy-groups { display: grid; gap: 44px; }
.policy-group > h3 {
	font-size: var(--micro, 11px);
	letter-spacing: var(--micro-track, 0.14em);
	text-transform: uppercase;
	font-weight: 500;
	color: var(--micro-ink, var(--muted));
	margin-bottom: 8px;
}
.packages-compare-link {
    display: block;
    width: max-content;
    margin: 28px auto 0;
}
/* Add-ons: 3 across, then 2 wider cards */
.addon-grid { grid-template-columns: repeat(6, 1fr); }
.addon-card { grid-column: span 2; }
.addon-card:nth-child(4), .addon-card:nth-child(5) { grid-column: span 3; }
.addon-price strong { white-space: nowrap; }
@media (max-width: 1000px) {
	.addon-grid { grid-template-columns: repeat(2, 1fr); }
	.addon-card, .addon-card:nth-child(4) { grid-column: span 1; }
	.addon-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.addon-grid { grid-template-columns: 1fr; }
	.addon-card:nth-child(5) { grid-column: auto; }
}
.compare-table td[data-v] { position: relative; }
.compare-scroll { position: relative; }
@media (max-width: 760px) {
	.compare-table .c-label { top: auto; }
	.compare-pick { display: none; }
	.compare-table thead th.is-pick::before {
		content: 'Mochi pick';
		display: inline-block;
		margin-bottom: 6px;
		padding: 2px 9px;
		border-radius: 999px;
		background: var(--ink);
		color: var(--paper);
		font-size: 10px;
		font-weight: 600;
	}
}
.compare-section th span { position: sticky; left: 16px; }
@media (max-width: 760px) {
	.compare-table { min-width: 580px; }
	.compare-table .c-feature { width: 150px; }
	.compare-table th, .compare-table td { padding: 11px 12px; }
	.compare-table tbody th[scope="row"] { font-size: 13px; }
}

/* =====================================================================
   About — stack & spread hero (2026-09-24). Adapted from the
   Hyperiux "stack-spread" component. JS drives --p (0 stacked → 1
   spread) from scroll; without JS or with reduced motion the photos
   sit spread out and the title is simply visible.
   ===================================================================== */
.stack-spread {
	--p: 1;
	--hh: 100px; /* header height, set by JS */
	position: relative;
	background: var(--paper);
}
.stack-stage {
	position: relative;
	height: calc(calc(100 * var(--vh)) - var(--hh));
	height: calc(calc(100 * var(--svh)) - var(--hh));
	min-height: 520px;
	overflow: hidden;
}
.js-stack .stack-spread { height: calc(350 * var(--vh)); }
.js-stack .stack-stage { position: sticky; top: var(--hh); }
.stack-copy {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	text-align: center;
	pointer-events: none;
	opacity: var(--copy, 1);
	transform: scale(var(--copy-s, 1));
}
.stack-title {
	font-size: clamp(44px, calc(6 * var(--vw)), 96px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.045em;
}
.stack-title span { opacity: 0.55; }
.stack-sub {
	margin-top: 18px;
	font-size: clamp(15px, calc(1.15 * var(--vw)), 18px);
	color: var(--muted);
}
.stack-cards { position: absolute; inset: 0; z-index: 10; }
.stack-card {
	/* sizes: --w in vw, --h in % of the stage; positions likewise */
	--x: calc(var(--sx) + (var(--ex, var(--tx)) - var(--sx)) * var(--p));
	--y: calc(var(--sy) + (var(--ey, var(--ty)) - var(--sy)) * var(--p));
	position: absolute;
	left: 50%;
	top: 50%;
	width: calc(var(--cw, var(--w)) * calc(1 * var(--vw)));
	height: calc(var(--ch, var(--h)) * 1%);
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: var(--sage);
	box-shadow: 0 18px 40px -22px #00000059;
	translate: calc(-50% + var(--x) * calc(1 * var(--vw)) + var(--px, 0px)) calc(-50% + var(--y) * var(--sh, calc(1 * var(--vh))) + var(--py, 0px));
	rotate: calc(var(--sr) * (1 - var(--p)) * 1deg);
	scale: calc(var(--ss, .82) + (var(--rs, var(--ts)) - var(--ss, .82)) * var(--p));
	will-change: translate, rotate, scale;
}
.stack-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
}
.stack-hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(3 * var(--vh));
	z-index: 20;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: var(--hint, 0);
	pointer-events: none;
}
.js-stack .stack-hint { display: flex; }
.stack-hint svg { animation: stack-bounce 1s infinite; }
@keyframes stack-bounce { 0%, 100% { transform: translateY(-25%); } 50% { transform: none; } }

/* Touch devices: a tidy two-column grid instead of the scatter. */
@media (pointer: coarse), (max-width: 760px) {
	.stack-card {
		--ex: calc(var(--mx) * 22);
		--ey: var(--my);
		--cw: 40;
		--ch: 20;
		--rs: .72;
		border-radius: calc(4 * var(--vw));
	}
}
/* Leave room so the next section doesn't butt up against the photos */
.about-story-page .stack-spread + .story { margin-top: 0; }

/* Comparison v2 (2026-09-24): two packages, card-matching Mochi pick badge, mobile fit */
.compare-wrap { max-width: 860px; }
.compare-table .c-feature { width: 40%; }
.compare-table thead th { padding-top: 40px; }
.compare-award.reel-award {
	top: -22px;
	right: auto;
	left: 85%;
	translate: -50% 0;
	z-index: 4;
}
.compare-note-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
	.compare-scroll { overflow: visible; }
	.compare-table { min-width: 0; font-size: 13px; }
	.compare-table .c-feature { width: 40%; }
	.compare-table th,
	.compare-table td { padding: 11px 8px; }
	.compare-table tbody th[scope="row"] { padding-left: 14px; font-size: 13px; line-height: 1.35; }
	.compare-table tbody th[scope="row"],
	.compare-table .c-label,
	.compare-table tfoot td:first-child { position: static; box-shadow: none; }
	.compare-table thead th { padding: 38px 6px 14px; }
	.compare-table thead .c-label { padding-left: 14px; }
	.compare-table thead .c-label span { font-size: 10px; }
	.compare-table thead b { font-size: 13px; }
	.compare-table thead strong { font-size: 19px; }
	.compare-table thead small { font-size: 11px; line-height: 1.35; }
	.compare-table thead th.is-pick::before { content: none; }
	.compare-section th { padding: 8px 14px !important; }
	.compare-section th span { position: static; }
	.compare-table tfoot td { padding: 14px 6px; }
	.compare-btn { min-height: 38px; font-size: 12px; }
	.compare-award.reel-award { left: auto; right: -4px; translate: none; width: 146px; }
	.compare-award .reel-award-face { min-height: 38px; padding: 4px 10px 4px 6px; }
	.compare-award svg { width: 24px; height: 24px; }
	.compare-award strong { font-size: 12px; }
}

/* =====================================================================
   Neumorphic buttons, site-wide (2026-09-24).
   Soft raised surfaces in the page color; pressed-in when clicked.
   Deliberately excluded: "Book the booth" (.booking-gloss) and
   "Meet the Lab" (.lab-rainbow). The Lab page keeps its own tones.
   ===================================================================== */
:root {
	--nm-bg: #f3f2ee;
	--nm-dark: #d6d4cc;
	--nm-light: #ffffff;
	--nm-raised: 6px 6px 14px var(--nm-dark), -6px -6px 14px var(--nm-light);
	--nm-raised-hover: 8px 8px 18px var(--nm-dark), -8px -8px 18px var(--nm-light);
	--nm-pressed: inset 3px 3px 7px var(--nm-dark), inset -3px -3px 7px var(--nm-light);
}
body[data-page="lab"] {
	--nm-bg: var(--neu-bg);
	--nm-dark: var(--neu-dark);
}
body :is(.button, .compare-btn, .icon-button, .pricing-jump a):not(.booking-gloss):not(.lab-rainbow) {
	background: var(--nm-bg) !important;
	color: var(--ink) !important;
	border: 1px solid #ffffff99 !important;
	box-shadow: var(--nm-raised) !important;
	transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease) !important;
}
@media (hover: hover) and (pointer: fine) {
body :is(.button, .compare-btn, .icon-button, .pricing-jump a):not(.booking-gloss):not(.lab-rainbow):hover {
	transform: translateY(-1px);
	box-shadow: var(--nm-raised-hover) !important;
}
}
body :is(.button, .compare-btn, .icon-button, .pricing-jump a):not(.booking-gloss):not(.lab-rainbow):active,
body .icon-button[aria-pressed="true"] {
	transform: none;
	box-shadow: var(--nm-pressed) !important;
}
body :is(.button, .compare-btn, .icon-button, .pricing-jump a):not(.booking-gloss):not(.lab-rainbow):focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 4px;
}
body :is(.button, .compare-btn, .icon-button):disabled {
	box-shadow: var(--nm-pressed) !important;
	opacity: 0.55;
}
/* The Reel's button in the comparison stays the stronger choice */
body .compare-btn-pick { font-weight: 600; }
/* "View packages" hero button: keep its dark fill-on-hover layer */
body .booking-fill > .booking-fill-label { color: var(--ink); }
@media (hover: none) {
	body :is(.button, .compare-btn, .icon-button, .pricing-jump a):not(.booking-gloss):not(.lab-rainbow):hover { transform: none; }
}
/* Googly eyes stay visible on the light neumorphic surface */
body .googly-button .googly-eye { box-shadow: inset 1px 1px 3px var(--nm-dark), 0 0 0 1px #25262426; }

/* =====================================================================
   Photo booth on phones (2026-09-24): full-screen, one column, big
   viewfinder, readable controls. Landscape phones get a compact header
   so the camera fits on screen.
   ===================================================================== */
@media (max-width: 760px) {
	#booth-dialog.booth-dialog {
		width: calc(100 * var(--vw));
		max-width: calc(100 * var(--vw));
		height: calc(100 * var(--vh));
		height: calc(100 * var(--dvh));
		max-height: calc(100 * var(--dvh));
		margin: 0;
		border: 0;
		border-radius: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	#booth-dialog .booth-top {
		position: sticky;
		top: 0;
		z-index: 3;
		margin: 0;
		padding: max(16px, env(safe-area-inset-top)) 18px 14px;
	}
	#booth-dialog .booth-top .eyebrow { font-size: 10px; }
	#booth-dialog .booth-top h2 { font-size: 26px; letter-spacing: -0.04em; }
	#booth-dialog .booth-top .icon-button { width: 42px; height: 42px; min-width: 42px; }
	#booth-dialog .booth-dialog-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 16px 16px max(24px, env(safe-area-inset-bottom));
	}
	#booth-dialog .viewfinder {
		width: 100%;
		max-height: none;
		aspect-ratio: 4 / 3;
		border-width: 5px;
		box-shadow: 0 5px 0 #252a25;
	}
	#booth-dialog .camera-actions {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin-top: 22px;
	}
	#booth-dialog .camera-actions .button {
		width: 100%;
		min-height: 52px;
		justify-content: center;
		font-size: 15px;
	}
	#booth-dialog .camera-actions .text-button { min-height: 44px; font-size: 14px; }
	#booth-dialog .booth-alternatives {
		justify-content: center;
		flex-wrap: wrap;
		gap: 6px 12px;
		margin-top: 14px;
		font-size: 14px;
	}
	#booth-dialog .booth-alternatives .text-button { font-size: 14px; min-height: 44px; }
	#booth-dialog .privacy-note,
	#booth-dialog .status-message { text-align: center; font-size: 13px; line-height: 1.5; }
	#booth-dialog .strip-workspace {
		min-height: 0;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 22px;
		padding: 20px 18px;
	}
	#booth-dialog .canvas-wrap { width: 112px; min-width: 96px; }
	#booth-dialog .strip-options { max-width: none; flex: 1; }
	#booth-dialog .strip-options > .eyebrow { font-size: 11px; }
	#booth-dialog .swatch { width: 32px; height: 32px; min-width: 32px; }
	#booth-dialog .mono-toggle { font-size: 14px; min-height: 44px; display: flex; align-items: center; gap: 8px; }
	#booth-dialog .strip-options > .button {
		width: 100%;
		justify-content: center;
		font-size: 14px;
		min-height: 48px;
		margin-top: 12px;
	}
}
@media (max-height: 520px) and (orientation: landscape) {
	#booth-dialog.booth-dialog {
		width: calc(100 * var(--vw));
		max-width: calc(100 * var(--vw));
		height: calc(100 * var(--dvh));
		max-height: calc(100 * var(--dvh));
		margin: 0;
		border: 0;
		border-radius: 0;
		overflow-y: auto;
	}
	#booth-dialog .booth-top {
		position: sticky;
		top: 0;
		z-index: 3;
		padding: 10px max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
	}
	#booth-dialog .booth-top .eyebrow { display: none; }
	#booth-dialog .booth-top h2 { font-size: 20px; }
	#booth-dialog .booth-top .icon-button { width: 38px; height: 38px; min-width: 38px; }
	#booth-dialog .booth-dialog-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: 18px;
		padding: 14px max(20px, env(safe-area-inset-right)) 20px max(20px, env(safe-area-inset-left));
	}
	#booth-dialog .viewfinder {
		width: min(100%, calc((calc(100 * var(--dvh)) - 150px) * 4 / 3));
		margin: 0 auto;
		border-width: 4px;
	}
	#booth-dialog .camera-actions { margin-top: 12px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; }
	#booth-dialog .camera-actions .button { min-height: 44px; width: auto; padding-left: 26px; padding-right: 26px; }
	#booth-dialog .strip-workspace { min-height: 0; padding: 16px; }
	#booth-dialog .canvas-wrap { width: 96px; min-width: 80px; }
}

/* Mobile: buttons keep their natural size instead of stretching full width (2026-09-24).
   "Book the booth" and "Meet the Lab" are left as they were. */
@media (max-width: 760px) {
	body :is(.button, .lab-neu-button):not(.booking-gloss):not(.lab-rainbow):not(.booking-fill) {
		width: auto !important;
		max-width: 100%;
		flex: 0 0 auto;
		align-self: flex-start;
		justify-self: start;
		min-height: 50px;
		padding-left: 28px;
		padding-right: 28px;
	}
	body .package-card > .button,
	body #booth-dialog .camera-actions .button,
	body #booth-dialog .strip-options > .button { align-self: center; justify-self: center; }
	body .package-card > .button { margin-left: auto; margin-right: auto; display: flex; }
	body #booth-dialog .camera-actions { align-items: center; }
}
@media (max-width: 760px) {
	body .experience-more .lab-rainbow {
		width: auto !important;
		max-width: 100%;
		min-height: 50px;
		padding-left: 28px;
		padding-right: 28px;
	}
}
@media (max-width: 760px) {
	body .experience-more { text-align: center; }
	body .experience-more .lab-rainbow { display: inline-flex; margin-left: auto; margin-right: auto; }
}

/* About hero on touch screens: keep each photo's desktop shape (2026-09-24).
   --ar reproduces the desktop card proportions (w vw × h% of the stage at 1440×800). */
@media (pointer: coarse), (max-width: 760px) {
	.stack-card {
		--ar: calc(var(--w) * 1.8 / var(--h));
		--rs: 1;
		width: min(calc(38 * var(--vw)), calc(var(--ar) * calc(30 * var(--vw))));
		height: auto;
		aspect-ratio: var(--ar);
		border-radius: 10px;
	}
}

/* About hero: photos always keep their desktop proportions, whatever the window height (2026-09-24). */
.stack-card {
	--ar: calc(var(--w) * 1.8 / var(--h));
	height: auto;
	aspect-ratio: var(--ar);
}

/* Availability calendar on phones: same size as on desktop instead of full width (2026-09-24) */
@media (max-width: 760px) {
	body .availability-action { width: min(100%, 300px) !important; align-items: stretch; }
	body .availability-calendar { width: 100%; padding: 18px; }
	body .calendar-weekdays, body .calendar-grid { gap: 4px; }
	body .calendar-day, body .calendar-nav { width: 32px; height: 32px; max-width: none; aspect-ratio: auto; font-size: 13px; }
	body .availability-action > :is(a, button).button:not(.booking-gloss):not(.lab-rainbow):not(.booking-fill) { align-self: center; }
	body .availability-action > span { text-align: center; }
}
@media (max-width: 760px) {
	body .availability-section { align-items: center !important; text-align: center; }
	body .availability-section .availability-copy { margin-left: auto; margin-right: auto; }
	body .availability-action { margin-left: auto; margin-right: auto; }
}

/* No glow on buttons that sit on dark sections (2026-09-24) */
body .availability-action > :is(a, button).button:not(.booking-gloss):not(.lab-rainbow),
body :is(a, button).button.button-light[data-open-booth]:not(.booking-gloss):not(.lab-rainbow) {
	box-shadow: none !important;
	border-color: transparent !important;
}
body .availability-action > :is(a, button).button:not(.booking-gloss):not(.lab-rainbow):active,
body :is(a, button).button.button-light[data-open-booth]:not(.booking-gloss):not(.lab-rainbow):active {
	box-shadow: inset 2px 2px 5px #00000026 !important;
}

/* Mobile header: menu button on the left, "Book the booth" on the right (2026-09-24) */
.nav-actions > .menu-toggle { order: -1; margin-right: 4px !important; }

/* More noticeable menu button (2026-09-24): soft raised circle, bolder lines */
.nav-actions > .menu-toggle {
	width: 44px !important;
	height: 44px !important;
	padding: 0 !important;
	border-radius: 50%;
	background: var(--nm-bg, #f3f2ee);
	box-shadow: 4px 4px 10px var(--nm-dark, #d6d4cc), -4px -4px 10px var(--nm-light, #fff);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	transition: box-shadow 0.3s var(--ease);
}
@media (max-width: 900px) { .nav-actions > .menu-toggle { display: inline-flex; } }
.nav-actions > .menu-toggle span {
	width: 18px;
	height: 2px;
	margin: 0;
	border-radius: 2px;
}
.nav-actions > .menu-toggle:active,
.nav-actions > .menu-toggle[aria-expanded='true'] {
	box-shadow: inset 3px 3px 7px var(--nm-dark, #d6d4cc), inset -3px -3px 7px var(--nm-light, #fff);
}
.nav-actions > .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-actions > .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-actions > .menu-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Menu button + panel animation (2026-09-24) */
.nav-actions > .menu-toggle span {
	transition: transform 0.45s cubic-bezier(0.68, -0.6, 0.32, 1.6), width 0.3s var(--ease);
}
.nav-actions > .menu-toggle[aria-expanded='true'] span { width: 20px; }
.nav-actions > .menu-toggle.is-popping { animation: menu-pop 0.45s var(--ease); }
@keyframes menu-pop {
	0% { transform: scale(1) rotate(0); }
	30% { transform: scale(0.86) rotate(-8deg); }
	65% { transform: scale(1.08) rotate(4deg); }
	100% { transform: scale(1) rotate(0); }
}
.mobile-nav:not([hidden]) { animation: menu-panel-in 0.38s var(--ease) both; transform-origin: top center; }
.mobile-nav.is-closing { animation: menu-panel-out 0.26s var(--ease) both; }
.mobile-nav:not([hidden]):not(.is-closing) > a { animation: menu-link-in 0.45s var(--ease) both; }
.mobile-nav > a:nth-child(1) { animation-delay: 0.04s !important; }
.mobile-nav > a:nth-child(2) { animation-delay: 0.08s !important; }
.mobile-nav > a:nth-child(3) { animation-delay: 0.12s !important; }
.mobile-nav > a:nth-child(4) { animation-delay: 0.16s !important; }
.mobile-nav > a:nth-child(5) { animation-delay: 0.2s !important; }
.mobile-nav > a:nth-child(6) { animation-delay: 0.24s !important; }
.mobile-nav > a:nth-child(7) { animation-delay: 0.28s !important; }
@keyframes menu-panel-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -40px 0); } }
@keyframes menu-panel-out { from { clip-path: inset(0 0 -40px 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes menu-link-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.nav-actions > .menu-toggle span,
	.nav-actions > .menu-toggle.is-popping,
	.mobile-nav:not([hidden]),
	.mobile-nav:not([hidden]) > a { animation: none !important; transition: none !important; }
}

/* Lab keepsakes: three across on desktop now that photo strips joined (2026-09-24) */
@media (min-width: 901px) { .lab-keepsake-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 601px) and (max-width: 900px) { .lab-keepsake-grid > figure:first-child { grid-column: 1 / -1; } .lab-keepsake-grid > figure:first-child img { aspect-ratio: 16 / 10; } }

/* =====================================================================
   Photo booth: iPhone-camera style (2026-09-24).
   Black camera UI, portrait viewfinder, mode row, round shutter, last-
   strip thumbnail, and an edit sheet for frame color / B&W / download.
   Full-screen on phones; a phone-sized window on larger screens.
   ===================================================================== */
#booth-dialog.booth-dialog.ios-cam {
	--cam-yellow: #ffd60a;
	--cam-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', Inter, 'Helvetica Neue', Arial, sans-serif;
	width: min(430px, calc(calc(100 * var(--vw)) - 32px));
	max-width: none;
	height: min(900px, calc(calc(100 * var(--dvh)) - 32px));
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 38px;
	background: #000;
	color: #fff;
	font-family: var(--cam-font);
	overflow: hidden;
	box-shadow: 0 0 0 10px #1c1c1e, 0 40px 100px #0009;
}
#booth-dialog.ios-cam[open] { display: flex; flex-direction: column; }
#booth-dialog.ios-cam::backdrop { background: #0b0b0ccc; backdrop-filter: blur(8px); }
#booth-dialog.ios-cam button { font-family: inherit; }

/* Top bar */
#booth-dialog.ios-cam .cam-top {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	gap: 8px;
	padding: max(14px, env(safe-area-inset-top)) 16px 10px;
}
#booth-dialog.ios-cam .cam-title {
	margin: 0;
	text-align: center;
	font-family: var(--cam-font);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	color: #fff;
}
#booth-dialog.ios-cam .cam-badge {
	justify-self: end;
	padding: 3px 7px;
	border-radius: 6px;
	background: var(--cam-yellow);
	color: #000;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
#booth-dialog.ios-cam .cam-round {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ffffff1f;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}
#booth-dialog.ios-cam .cam-round:hover { background: #ffffff33; }
@media (hover: hover) and (pointer: fine) {
#booth-dialog.ios-cam .cam-round:active { transform: scale(0.92); }
}
#booth-dialog.ios-cam .cam-round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Viewfinder */
#booth-dialog.ios-cam .cam-stage {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#booth-dialog.ios-cam .viewfinder {
	position: relative;
	width: 100%;
	max-height: 100%;
	aspect-ratio: 3 / 4;
	margin: 0 auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: #111;
	overflow: hidden;
}
#booth-dialog.ios-cam .viewfinder::after { display: none; }
#booth-dialog.ios-cam .viewfinder > img,
#booth-dialog.ios-cam .viewfinder > video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}
#booth-dialog.ios-cam .viewfinder > img { filter: brightness(0.55) saturate(0.9); }
#booth-dialog.ios-cam .cam-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(to right, transparent calc(33.33% - 0.5px), #ffffff38 calc(33.33% - 0.5px), #ffffff38 calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), #ffffff38 calc(66.66% - 0.5px), #ffffff38 calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px)),
		linear-gradient(to bottom, transparent calc(33.33% - 0.5px), #ffffff38 calc(33.33% - 0.5px), #ffffff38 calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), #ffffff38 calc(66.66% - 0.5px), #ffffff38 calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px));
}
#booth-dialog.ios-cam .cam-hint {
	position: absolute;
	left: 50%;
	top: 50%;
	translate: -50% -50%;
	padding: 8px 14px;
	border-radius: 999px;
	background: #000000a6;
	backdrop-filter: blur(10px);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	pointer-events: none;
}
#booth-dialog.ios-cam.cam-live .cam-hint { display: none; }
#booth-dialog.ios-cam #countdown {
	font-family: var(--cam-font);
	font-size: 120px;
	font-weight: 200;
	color: #fff;
	text-shadow: 0 2px 20px #0008;
	pointer-events: none;
}
#booth-dialog.ios-cam .cam-status {
	min-height: 18px;
	margin: 10px 20px 0;
	text-align: center;
	font-size: 12px;
	line-height: 1.45;
	color: var(--cam-yellow);
}
#booth-dialog.ios-cam .cam-status.error { color: #ff6961; }
#booth-dialog.ios-cam .cam-status:empty { visibility: hidden; }

/* Mode row */
#booth-dialog.ios-cam .cam-modes {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 26px;
	padding: 12px 16px 6px;
}
#booth-dialog.ios-cam .cam-mode {
	position: relative;
	padding: 6px 0;
	border: 0;
	background: none;
	color: #ffffffb3;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	outline-offset: 4px;
}
#booth-dialog.ios-cam .cam-mode:hover { color: #fff; }
#booth-dialog.ios-cam .cam-mode.is-active { color: var(--cam-yellow); cursor: default; }
#booth-dialog.ios-cam .cam-mode:disabled { opacity: 0.4; cursor: default; }
#booth-dialog.ios-cam .upload-label:focus-within { outline: 2px solid var(--cam-yellow); }

/* Controls row */
#booth-dialog.ios-cam .cam-controls {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 10px 28px 6px;
}
#booth-dialog.ios-cam .cam-thumb {
	justify-self: start;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 10px;
	background: #1c1c1e;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.2s;
}
@media (hover: hover) and (pointer: fine) {
#booth-dialog.ios-cam .cam-thumb:active { transform: scale(0.94); }
}
#booth-dialog.ios-cam .cam-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
#booth-dialog.ios-cam .cam-thumb img:not([src]) { visibility: hidden; }
#booth-dialog.ios-cam .cam-thumb.is-new { animation: cam-thumb-pop 0.5s var(--ease); }
@keyframes cam-thumb-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.12); } 100% { transform: none; } }
#booth-dialog.ios-cam .cam-shutter-wrap { display: grid; place-items: center; }
#booth-dialog.ios-cam .cam-shutter {
	position: relative;
	width: 76px;
	height: 76px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 0;
	color: transparent;
	cursor: pointer;
	box-shadow: inset 0 0 0 4px #fff;
}
#booth-dialog.ios-cam .cam-shutter::after {
	content: '';
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.15s, background 0.2s;
}
@media (hover: hover) and (pointer: fine) {
#booth-dialog.ios-cam .cam-shutter:active::after { transform: scale(0.88); }
}
#booth-dialog.ios-cam .cam-shutter:focus-visible { outline: 2px solid var(--cam-yellow); outline-offset: 4px; }
#booth-dialog.ios-cam .cam-shutter-start::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: center / 28px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
}
#booth-dialog.ios-cam .cam-shutter:disabled { cursor: default; }
#booth-dialog.ios-cam .cam-shutter:disabled::after { animation: cam-busy 1.1s ease-in-out infinite; }
#booth-dialog.ios-cam #capture:disabled::after { background: #ff3b30; transform: scale(0.55); border-radius: 8px; animation: none; }
@keyframes cam-busy { 50% { transform: scale(0.8); opacity: 0.7; } }
#booth-dialog.ios-cam .cam-off {
	justify-self: end;
	width: 46px;
	height: 46px;
	font-size: 0;
	background: #ffffff1f center / 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
}
#booth-dialog.ios-cam .cam-off:not([hidden]) + .cam-spacer { display: none; }
#booth-dialog.ios-cam .cam-controls > .cam-spacer { justify-self: end; width: 46px; }
#booth-dialog.ios-cam .cam-privacy {
	margin: 4px 0 max(14px, env(safe-area-inset-bottom));
	text-align: center;
	font-size: 11px;
	color: #ffffff73;
}

/* Strip sheet (edit view) */
#booth-dialog.ios-cam .cam-sheet {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	background: #000;
	animation: cam-sheet-in 0.35s var(--ease);
}
#booth-dialog.ios-cam .cam-sheet[hidden] { display: none; }
@keyframes cam-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
#booth-dialog.ios-cam .cam-sheet-top {
	display: grid;
	grid-template-columns: 64px 1fr 64px;
	align-items: center;
	padding: max(16px, env(safe-area-inset-top)) 16px 10px;
}
#booth-dialog.ios-cam .cam-text-btn {
	justify-self: start;
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--cam-yellow);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
#booth-dialog.ios-cam .cam-sheet-strip {
	position: relative;
	flex: 1;
	min-height: 0;
}
#booth-dialog.ios-cam .canvas-wrap {
	position: absolute;
	inset: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: auto;
	transform: none;
	background: none;
	box-shadow: none;
}
#booth-dialog.ios-cam .canvas-wrap canvas {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100%;
	border-radius: 4px;
	box-shadow: 0 20px 50px #0000008c;
}
#booth-dialog.ios-cam .cam-sheet-tools {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 22px;
	padding: 14px 16px 6px;
}
#booth-dialog.ios-cam .swatches { display: flex; gap: 12px; margin: 0; }
#booth-dialog.ios-cam .swatch {
	width: 34px;
	height: 34px;
	min-width: 34px;
	border: 2px solid #ffffff4d;
	border-radius: 50%;
	cursor: pointer;
}
#booth-dialog.ios-cam .swatch[aria-pressed='true'] { border-color: var(--cam-yellow); box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--cam-yellow); }
#booth-dialog.ios-cam .cam-bw {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}
#booth-dialog.ios-cam .cam-bw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#booth-dialog.ios-cam .cam-bw span {
	padding: 8px 14px;
	border-radius: 999px;
	background: #ffffff1f;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	transition: background 0.2s, color 0.2s;
}
#booth-dialog.ios-cam .cam-bw input:checked + span { background: var(--cam-yellow); color: #000; }
#booth-dialog.ios-cam .cam-bw input:focus-visible + span { outline: 2px solid var(--cam-yellow); outline-offset: 3px; }
#booth-dialog.ios-cam .cam-keep {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 50px;
	margin: 12px 20px max(18px, env(safe-area-inset-bottom));
	border-radius: 14px;
	background: #fff;
	color: #000;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
#booth-dialog.ios-cam .cam-keep[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }

/* Phones: full screen, no frame */

.bx-tabs a.pearl-pill .pearl-wrap { padding: 12px 18px; font-size: 13px; }
.bx-tabs a.pearl-pill .pearl-wrap::before, .bx-tabs a.pearl-pill .pearl-wrap::after { display: block; }
.bx-tabs a.pearl-pill .bx-tab-num { flex: 0 0 24px; width: 24px; height: 24px; color: #fff; }
.bx-tabs a.pearl-pill.is-active { outline: 2px solid #a89aaf; outline-offset: 3px; }
@media (max-width: 600px) { .bx-tabs a.pearl-pill .pearl-wrap { padding: 12px 5px; font-size: 12px; } .bx-tabs a.pearl-pill .pearl-text { gap: 4px; } }

/* Step tabs scroll sideways, which clips anything below the bar. Keep the pill
   shadow short enough to fit inside the bar so it doesn't end in a hard line (2026-10-02). */
.bx-tabs { padding-bottom: 22px; }
.bx-tabs .pearl-pill,
.bx-tabs .pearl-pill:hover,
.bx-tabs .pearl-pill:focus-visible {
	box-shadow:
		inset 0 0.3rem 0.9rem rgba(255, 255, 255, 0.3),
		inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.7),
		inset 0 -0.4rem 0.9rem rgba(255, 255, 255, 0.5),
		0 0.7rem 0.9rem -0.45rem rgba(0, 0, 0, 0.26),
		0 0.4rem 0.45rem -0.3rem rgba(0, 0, 0, 0.6);
}

/* Step tabs bar: soften its bottom edge so the bar background and the pill
   shadows fade out instead of ending in a hard line (2026-10-02). */
.bx-tabs {
	padding-bottom: 30px;
	margin-bottom: -10px;
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent);
}

/* Wide screens: let the builder use the extra room instead of a narrow centered column (2026-10-03). */
@media (min-width: 1600px) {
	.bx-hero,
	.bx-tabs,
	.bx-layout {
		max-width: 2000px;
		padding-inline: calc(4 * var(--vw));
	}
	.bx-layout {
		grid-template-columns: minmax(0, 1fr) 440px;
		gap: 64px;
	}
	.bx-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 20px;
	}
	.bx-grid[data-group='backdrops'] {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}

/* Phones: the event panel is tucked behind the bottom bar, so Mochi peeks over the bar until something is added (2026-10-03). */
.bx-bar-mochi { display: none; }
@media (max-width: 900px) {
	.bx-bar-mochi {
		display: block; position: absolute; right: 30px; top: -40px; z-index: 1;
		width: 64px; pointer-events: none;
		transition: opacity .25s ease, transform .3s ease;
	}
	.bx-bar-mochi img { display: block; width: 100%; height: auto; }
	.bx-bar.has-items .bx-bar-mochi { opacity: 0; transform: translateY(24px); }
}

/* Liquid glass step buttons (2026-10-07): the bar behind them is see-through, so the
   glass buttons can blur and bend the page as it scrolls underneath. */
.bx-tabs {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	/* No fade mask: a mask here stops the buttons from blurring the page behind them. */
	-webkit-mask-image: none;
	mask-image: none;
}

/* Sheen pill step buttons (src/components/ui/sheen-pill-button.tsx). The site-wide
   `button { background: none; border: 0 }` reset beats Tailwind's classes, so the
   glass tint and hairline border are set here. A light white tint
   keeps the page visible beneath the buttons (the current step a little stronger). */
.bx-tabs [data-slot='sheen-pill-button'] {
	background-color: rgba(255, 255, 255, 0.14);
	border: 1px double rgba(51, 51, 51, 0.08);
	/* Frosted: a heavier blur than the component's 5px. */
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	backdrop-filter: blur(16px) saturate(1.3);
}
.bx-tabs [data-slot='sheen-pill-button']:hover {
	background-color: rgba(255, 255, 255, 0.1);
}
.bx-tabs [data-slot='sheen-pill-button'][aria-current='step'] {
	background-color: rgba(255, 255, 255, 0.18);
}

/* Reserve the step controls' height while their single, current design loads. */
.bx-tabs { min-height: 92px; }
@media (max-width: 600px) { .bx-tabs { min-height: 86px; } }

@media (max-width: 900px) {
	body .bx-cart .bx-cart-inner > .bx-go.button { display: flex; width: 100% !important; max-width: none !important; }
}
