:root {
	--background: #030302;
	--surface: rgba(11, 10, 9, 0.88);
	--surface-border: rgba(255, 255, 255, 0.11);
	--copper-pale: #ffd2aa;
	--copper: #e7a06e;
	--copper-deep: #a75d35;
	--text: #fff8f0;
	--text-muted: rgba(255, 241, 226, 0.62);
	--focus: #ffd6b5;
	--shadow: rgba(0, 0, 0, 0.56);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
	color-scheme: dark;
	font-family:
		Inter,
		ui-sans-serif,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	min-width: 320px;
	min-height: 100%;
	background: #000;
}

body {
	min-width: 320px;
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	overflow: hidden;
	color: var(--text);
	background:
		radial-gradient(circle at 50% 37%, rgba(96, 48, 25, 0.17), transparent 26%),
		linear-gradient(180deg, #050403 0%, #020201 100%);
}

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button {
	color: inherit;
}

a {
	color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 4px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.particle-field,
.background-effects,
.noise {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.particle-field {
	z-index: 0;
	opacity: 0.84;
	transition:
		opacity 700ms ease,
		filter 700ms ease;
}

.background-effects {
	z-index: 1;
	overflow: hidden;
}

.noise {
	z-index: 6;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

.ambient-glow {
	position: absolute;
	width: min(58rem, 90vw);
	aspect-ratio: 1;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.18;
	will-change: transform;
}

.ambient-glow--one {
	top: -32rem;
	left: -18rem;
	background: rgba(191, 92, 43, 0.48);
	animation: ambient-drift-one 18s ease-in-out infinite alternate;
}

.ambient-glow--two {
	right: -25rem;
	bottom: -34rem;
	background: rgba(255, 178, 112, 0.22);
	animation: ambient-drift-two 22s ease-in-out infinite alternate;
}

.portal {
	position: absolute;
	top: 43%;
	left: 50%;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid rgba(235, 149, 91, 0.15);
	box-shadow:
		0 0 30px rgba(230, 132, 72, 0.07),
		inset 0 0 34px rgba(255, 184, 125, 0.035);
	opacity: 0.56;
	will-change: transform, opacity;
}

.portal::before,
.portal::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
}

.portal::before {
	background:
		conic-gradient(
			from 0deg,
			transparent 0deg 32deg,
			rgba(255, 212, 172, 0.68) 42deg 46deg,
			transparent 53deg 128deg,
			rgba(205, 104, 52, 0.45) 139deg 143deg,
			transparent 150deg 236deg,
			rgba(255, 184, 124, 0.72) 246deg 251deg,
			transparent 258deg 332deg,
			rgba(217, 118, 66, 0.55) 341deg 345deg,
			transparent 352deg
		);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
	filter: drop-shadow(0 0 9px rgba(255, 166, 105, 0.45));
}

.portal::after {
	inset: 8%;
	border: 1px solid rgba(255, 201, 158, 0.11);
}

.portal--outer {
	width: min(56rem, 92vw);
	aspect-ratio: 1.45;
	animation: rotate-clockwise 38s linear infinite;
}

.portal--middle {
	width: min(42rem, 72vw);
	aspect-ratio: 1.1;
	animation: rotate-counter-clockwise 27s linear infinite;
}

.portal--inner {
	width: min(29rem, 54vw);
	aspect-ratio: 1;
	animation: portal-breathe 7s ease-in-out infinite;
}

.splash {
	position: relative;
	cursor: pointer;
	z-index: 10;
	display: grid;
	min-height: 100vh;
	min-height: 100svh;
	place-items: center;
	padding: clamp(2rem, 5vw, 4.5rem) 1.25rem;
	transition:
		transform 700ms var(--ease-out),
		filter 700ms ease,
		opacity 700ms ease;
}

.splash__content {
	display: flex;
	width: min(46rem, 100%);
	flex-direction: column;
	align-items: center;
	text-align: center;
	transform: translateY(-1.5vh);
}

.brand-mark {
	position: relative;
	width: min(38rem, 82vw);
	max-width: 100%;
	isolation: isolate;
	animation: brand-arrive 1.8s var(--ease-out) both;
}

.brand-mark::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 18% 17% 13%;
	border-radius: 50%;
	background: rgba(222, 122, 65, 0.09);
	filter: blur(50px);
	animation: logo-glow 6s ease-in-out infinite alternate;
}

.brand-mark__image {
	display: block;
	width: 100%;
	height: auto;
	filter:
		drop-shadow(0 0 14px rgba(255, 172, 112, 0.11))
		drop-shadow(0 24px 48px rgba(0, 0, 0, 0.64));
	user-select: none;
}

.splash__cta {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: clamp(1.75rem, 4.25vh, 3.25rem);
	display: flex;
	width: min(42rem, calc(100% - 2rem));
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	text-align: center;
	transform: translateX(-50%);
}

.entry-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.2rem;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: rgba(255, 221, 193, 0.74);
	cursor: pointer;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transition:
		color 300ms ease,
		opacity 300ms ease,
		text-shadow 300ms ease;
	animation: simple-fade-up 1.25s 0.75s var(--ease-out) both;
}

.entry-button:hover {
	color: rgba(255, 237, 220, 0.98);
	text-shadow: 0 0 18px rgba(231, 139, 80, 0.28);
}

.entry-button:active {
	opacity: 0.72;
}

.entry-button__text {
	font-size: clamp(0.62rem, 0.86vw, 0.76rem);
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

.splash__hint {
	margin: 0;
	color: rgba(255, 236, 218, 0.39);
	font-size: clamp(0.54rem, 0.72vw, 0.64rem);
	font-weight: 400;
	letter-spacing: 0.24em;
	line-height: 1.4;
	text-transform: uppercase;
	animation: simple-fade-up 1.25s 0.9s var(--ease-out) both;
}


.modal {
	position: fixed;
	z-index: 30;
	inset: 0;
	display: grid;
	overflow-y: auto;
	padding: 1.25rem;
	place-items: center;
}

.modal[hidden] {
	display: none;
}

.modal__backdrop {
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at 50% 42%, rgba(83, 40, 19, 0.2), transparent 34%),
		rgba(1, 1, 1, 0.66);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	opacity: 0;
	transition: opacity 450ms ease;
}

.login-card {
	position: relative;
	width: min(28rem, 100%);
	padding: clamp(2rem, 5vw, 2.65rem);
	overflow: hidden;
	border: 1px solid var(--surface-border);
	border-radius: 1.35rem;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 34%),
		var(--surface);
	-webkit-backdrop-filter: blur(24px) saturate(120%);
	backdrop-filter: blur(24px) saturate(120%);
	box-shadow:
		0 32px 90px rgba(0, 0, 0, 0.62),
		inset 0 1px 0 rgba(255, 255, 255, 0.055),
		0 0 70px rgba(175, 81, 37, 0.07);
	font-family:
		Inter,
		ui-sans-serif,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;
	opacity: 0;
	transform: translateY(28px) scale(0.955);
	transition:
		opacity 500ms ease,
		transform 700ms var(--ease-out);
	isolation: isolate;
}

.login-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	background:
		radial-gradient(circle at 16% 0%, rgba(255, 192, 139, 0.08), transparent 30%),
		radial-gradient(circle at 100% 100%, rgba(150, 69, 31, 0.08), transparent 34%);
}

.login-card__halo {
	position: absolute;
	z-index: -1;
	top: -10rem;
	left: 50%;
	width: 24rem;
	aspect-ratio: 1;
	border: 1px solid rgba(255, 182, 125, 0.14);
	border-radius: 50%;
	box-shadow:
		0 0 70px rgba(213, 110, 58, 0.09),
		inset 0 0 70px rgba(213, 110, 58, 0.07);
	transform: translateX(-50%);
	animation: halo-turn 24s linear infinite;
}

.modal.is-open .modal__backdrop {
	opacity: 1;
}

.modal.is-open .login-card {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.modal.is-closing .modal__backdrop {
	opacity: 0;
}

.modal.is-closing .login-card {
	opacity: 0;
	transform: translateY(18px) scale(0.975);
	transition-duration: 260ms;
}

.modal__close {
	position: absolute;
	z-index: 2;
	top: 1rem;
	right: 1rem;
	display: grid;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid rgba(255, 210, 176, 0.14);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.025);
	color: rgba(255, 238, 224, 0.54);
	cursor: pointer;
	place-items: center;
	transition:
		color 250ms ease,
		border-color 250ms ease,
		transform 300ms var(--ease-out),
		background-color 250ms ease;
}

.modal__close:hover {
	color: var(--copper-pale);
	border-color: rgba(255, 190, 142, 0.42);
	background: rgba(255, 181, 124, 0.06);
	transform: rotate(5deg);
}

.modal__close svg {
	width: 1rem;
	height: 1rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.6;
}

.login-card__header {
	margin-bottom: 1.8rem;
	padding-right: 2rem;
	text-align: left;
}

.login-card__eyebrow {
	display: block;
	margin-bottom: 0.65rem;
	color: rgba(242, 170, 118, 0.78);
	font-size: 0.61rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.login-card__header h2 {
	margin: 0;
	font-family:
		Inter,
		ui-sans-serif,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;
	font-size: clamp(1.85rem, 6vw, 2.3rem);
	font-weight: 560;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.login-card__header p {
	max-width: 22rem;
	margin: 0.75rem 0 0;
	color: rgba(255, 241, 226, 0.52);
	font-size: 0.88rem;
	line-height: 1.6;
}

.login-form {
	display: grid;
	gap: 1.2rem;
}

.form-field {
	display: grid;
	gap: 0.55rem;
}

.form-field label,
.form-field__label-row {
	color: rgba(255, 242, 228, 0.78);
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0.06em;
}

.form-field__label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.text-link {
	color: rgba(246, 174, 121, 0.76);
	font-size: 0.72rem;
	letter-spacing: 0.03em;
	text-decoration: none;
	transition: color 200ms ease;
}

.text-link:hover {
	color: var(--copper-pale);
}

.form-field__control {
	position: relative;
	display: flex;
	align-items: center;
	border: 1px solid rgba(255, 211, 177, 0.14);
	border-radius: 0.75rem;
	background: rgba(255, 255, 255, 0.028);
	transition:
		border-color 250ms ease,
		box-shadow 250ms ease,
		background-color 250ms ease;
}

.form-field__control:focus-within {
	border-color: rgba(245, 168, 111, 0.55);
	background: rgba(255, 188, 137, 0.035);
	box-shadow:
		0 0 0 3px rgba(217, 119, 66, 0.08),
		0 0 26px rgba(217, 119, 66, 0.05);
}

.form-field__control > svg {
	width: 1.08rem;
	height: 1.08rem;
	margin-left: 1rem;
	flex: 0 0 auto;
	fill: none;
	stroke: rgba(255, 221, 193, 0.4);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.35;
	transition: stroke 250ms ease;
}

.form-field__control:focus-within > svg {
	stroke: rgba(255, 193, 145, 0.84);
}

.form-field input {
	width: 100%;
	min-width: 0;
	height: 3.5rem;
	padding: 0 1rem;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	font-size: 0.93rem;
}

.form-field input::placeholder {
	color: rgba(255, 238, 221, 0.24);
}

.password-toggle {
	display: grid;
	width: 3rem;
	height: 3.4rem;
	padding: 0;
	flex: 0 0 auto;
	border: 0;
	background: transparent;
	color: rgba(255, 221, 193, 0.42);
	cursor: pointer;
	place-items: center;
	transition: color 200ms ease;
}

.password-toggle:hover {
	color: var(--copper-pale);
}

.password-toggle svg {
	width: 1.1rem;
	height: 1.1rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.password-toggle__hide {
	display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__show {
	display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__hide {
	display: block;
}

.checkbox {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 0.7rem;
	color: rgba(255, 241, 227, 0.56);
	cursor: pointer;
	font-size: 0.77rem;
	user-select: none;
}

.checkbox input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.checkbox__box {
	display: grid;
	width: 1.15rem;
	height: 1.15rem;
	border: 1px solid rgba(255, 210, 175, 0.22);
	border-radius: 0.3rem;
	background: rgba(255, 255, 255, 0.02);
	place-items: center;
	transition:
		border-color 200ms ease,
		background-color 200ms ease,
		box-shadow 200ms ease;
}

.checkbox__box svg {
	width: 0.78rem;
	height: 0.78rem;
	fill: none;
	stroke: #160c07;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
	opacity: 0;
	transform: scale(0.5);
	transition:
		opacity 160ms ease,
		transform 220ms var(--ease-out);
}

.checkbox input:checked + .checkbox__box {
	border-color: var(--copper);
	background: var(--copper);
	box-shadow: 0 0 16px rgba(229, 147, 91, 0.18);
}

.checkbox input:checked + .checkbox__box svg {
	opacity: 1;
	transform: scale(1);
}

.checkbox input:focus-visible + .checkbox__box {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

.login-button {
	position: relative;
	display: flex;
	min-height: 3.45rem;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 0.2rem;
	overflow: hidden;
	border: 1px solid rgba(255, 201, 157, 0.46);
	border-radius: 0.75rem;
	background:
		linear-gradient(115deg, #efb282 0%, #d98653 54%, #b7673b 100%);
	box-shadow:
		0 16px 34px rgba(128, 56, 24, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.26);
	color: #160c07;
	cursor: pointer;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	transition:
		transform 300ms var(--ease-out),
		box-shadow 300ms ease,
		filter 300ms ease;
}

.login-button::before {
	content: "";
	position: absolute;
	top: -100%;
	left: -30%;
	width: 24%;
	height: 300%;
	background: rgba(255, 255, 255, 0.28);
	filter: blur(8px);
	transform: rotate(18deg);
	transition: left 650ms var(--ease-out);
}

.login-button:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	box-shadow:
		0 20px 42px rgba(128, 56, 24, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-button:hover::before {
	left: 120%;
}

.login-button:active {
	transform: translateY(0) scale(0.99);
}

.login-button svg {
	width: 1.08rem;
	height: 1.08rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transition: transform 250ms var(--ease-out);
}

.login-button:hover svg {
	transform: translateX(3px);
}

.login-form__status {
	min-height: 1.2rem;
	margin: -0.25rem 0 0;
	color: rgba(255, 206, 168, 0.78);
	font-size: 0.74rem;
	line-height: 1.5;
	text-align: center;
}

.login-card__footer {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: 1.5rem;
	color: rgba(255, 222, 196, 0.26);
	font-size: 0.57rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.login-card__rule {
	height: 1px;
	flex: 1;
	background: linear-gradient(90deg, transparent, rgba(255, 204, 166, 0.17));
}

.login-card__rule:last-child {
	transform: scaleX(-1);
}

body.modal-open .splash {
	filter: blur(8px);
	opacity: 0.26;
	transform: scale(1.035);
}

body.modal-open .particle-field {
	filter: blur(2px);
	opacity: 0.34;
}

body.modal-open .portal {
	opacity: 0.85;
}

@keyframes simple-fade-up {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes brand-arrive {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.96);
		filter: blur(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

@keyframes controls-arrive {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cta-arrive {
	from {
		opacity: 0;
		transform: translate(-50%, 12px);
	}

	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

@keyframes logo-glow {
	from {
		opacity: 0.35;
		transform: scale(0.92);
	}

	to {
		opacity: 0.78;
		transform: scale(1.08);
	}
}

@keyframes rotate-clockwise {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@keyframes rotate-counter-clockwise {
	from {
		transform: translate(-50%, -50%) rotate(360deg);
	}

	to {
		transform: translate(-50%, -50%) rotate(0deg);
	}
}

@keyframes portal-breathe {
	0%,
	100% {
		opacity: 0.26;
		transform: translate(-50%, -50%) scale(0.92) rotate(0deg);
	}

	50% {
		opacity: 0.7;
		transform: translate(-50%, -50%) scale(1.08) rotate(180deg);
	}
}

@keyframes halo-turn {
	from {
		transform: translateX(-50%) rotate(0deg);
	}

	to {
		transform: translateX(-50%) rotate(360deg);
	}
}

@keyframes ambient-drift-one {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}

	to {
		transform: translate3d(12vw, 7vh, 0) scale(1.15);
	}
}

@keyframes ambient-drift-two {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}

	to {
		transform: translate3d(-10vw, -6vh, 0) scale(1.2);
	}
}

@media (max-width: 640px) {
	.splash {
		padding: 1.5rem 1rem 2.25rem;
	}

	.splash__content {
		transform: translateY(-0.5rem);
	}

	.brand-mark {
		width: min(31rem, 98vw);
	}

	.splash__cta {
		bottom: 1.45rem;
		gap: 0.45rem;
	}

	.entry-button {
		max-width: calc(100vw - 2rem);
		letter-spacing: 0.13em;
	}

	.entry-button__text {
		white-space: normal;
		text-align: center;
	}

	.splash__hint {
		letter-spacing: 0.17em;
	}

	.portal {
		top: 42%;
	}

	.portal--outer {
		width: 110vw;
	}

	.portal--middle {
		width: 88vw;
	}

	.portal--inner {
		width: 67vw;
	}

	.login-card {
		padding: 2.25rem 1.25rem 1.8rem;
		border-radius: 1.35rem;
	}

	.modal__close {
		top: 0.75rem;
		right: 0.75rem;
	}

	.login-card__header {
		margin-bottom: 1.55rem;
	}
}

@media (max-height: 700px) and (min-width: 641px) {
	.brand-mark {
		width: min(30rem, 65vh);
	}

	.login-card {
		padding-block: 2rem;
	}

	.login-card__header {
		margin-bottom: 1.25rem;
	}

	.login-form {
		gap: 0.9rem;
	}

	.login-card__footer {
		margin-top: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.particle-field {
		display: none;
	}
}


/* ==========================================================================
   V3 layout and modal overrides
   ========================================================================== */

.splash {
	position: relative;
	isolation: isolate;
}

.splash__content {
	position: relative;
	z-index: 1;
}

.splash__cta {
	display: none !important;
}

.splash__copy {
	position: fixed !important;
	z-index: 24;
	right: 1rem;
	bottom: max(1.5rem, env(safe-area-inset-bottom));
	left: 1rem;
	display: flex;
	width: auto;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 0.42rem;
	margin: 0;
	padding: 0;
	text-align: center;
	pointer-events: none;
	transform: none !important;
}

.splash__copy .entry-button {
	position: static !important;
	inset: auto !important;
	display: block;
	width: auto;
	max-width: 100%;
	min-height: 0;
	margin: 0;
	padding: 0.15rem 0.35rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: rgba(255, 222, 195, 0.72);
	font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(0.62rem, 0.72vw, 0.74rem);
	font-weight: 500;
	letter-spacing: 0.19em;
	line-height: 1.45;
	text-align: center;
	text-transform: uppercase;
	white-space: normal;
	cursor: pointer;
	pointer-events: auto;
	transform: none !important;
	animation: simple-fade-up 1.2s 0.75s var(--ease-out) both;
}

.splash__copy .entry-button:hover {
	color: rgba(255, 240, 226, 0.98);
	text-shadow: 0 0 18px rgba(233, 145, 87, 0.25);
	transform: none !important;
}

.splash__copy .entry-button:active {
	opacity: 0.72;
	transform: none !important;
}

.splash__copy .entry-button__text {
	display: block;
	max-width: min(32rem, calc(100vw - 3rem));
	font: inherit;
	white-space: normal;
}

.splash__copy .splash__hint {
	position: static !important;
	inset: auto !important;
	width: auto;
	max-width: min(34rem, calc(100vw - 3rem));
	margin: 0;
	color: rgba(255, 237, 220, 0.37);
	font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(0.54rem, 0.63vw, 0.63rem);
	font-weight: 500;
	letter-spacing: 0.21em;
	line-height: 1.45;
	text-align: center;
	text-transform: uppercase;
	white-space: normal;
	transform: none !important;
	animation: simple-fade-up 1.2s 0.9s var(--ease-out) both;
}

/* Modern Manrope login modal. */
.login-card {
	width: min(29rem, 100%);
	padding: clamp(1.7rem, 4vw, 2.35rem);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1.5rem;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 42%),
		rgba(9, 8, 7, 0.91);
	-webkit-backdrop-filter: blur(30px) saturate(125%);
	backdrop-filter: blur(30px) saturate(125%);
	box-shadow:
		0 34px 100px rgba(0, 0, 0, 0.68),
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 0 0 1px rgba(222, 133, 75, 0.025);
	font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-card::before {
	background:
		radial-gradient(circle at 5% 0%, rgba(235, 151, 94, 0.08), transparent 31%),
		radial-gradient(circle at 100% 100%, rgba(123, 59, 29, 0.07), transparent 35%);
}

.login-card__halo {
	display: none;
}

.modal__close {
	top: 1.1rem;
	right: 1.1rem;
	width: 2.35rem;
	height: 2.35rem;
	border-color: rgba(255, 255, 255, 0.09);
	background: rgba(255, 255, 255, 0.025);
	color: rgba(255, 255, 255, 0.45);
}

.modal__close:hover {
	border-color: rgba(239, 167, 116, 0.32);
	background: rgba(239, 167, 116, 0.07);
	color: rgba(255, 231, 211, 0.92);
	transform: none;
}

.login-card__header {
	margin-bottom: 1.75rem;
	padding-right: 2.8rem;
	text-align: left;
}

.login-card__eyebrow {
	margin-bottom: 0.7rem;
	color: rgba(237, 158, 104, 0.78);
	font-family: inherit;
	font-size: 0.61rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.login-card__header h2 {
	margin: 0;
	font-family: inherit;
	font-size: clamp(1.85rem, 5vw, 2.35rem);
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.login-card__header p {
	max-width: 23rem;
	margin: 0.7rem 0 0;
	color: rgba(255, 246, 238, 0.49);
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 400;
	letter-spacing: -0.005em;
	line-height: 1.65;
}

.login-form {
	gap: 1.05rem;
}

.form-field {
	gap: 0.5rem;
}

.form-field label,
.form-field__label-row {
	color: rgba(255, 246, 238, 0.7);
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.015em;
}

.text-link {
	color: rgba(233, 157, 105, 0.76);
	font-family: inherit;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0;
}

.form-field__control {
	min-height: 3.45rem;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 0.9rem;
	background: rgba(255, 255, 255, 0.028);
}

.form-field__control:focus-within {
	border-color: rgba(234, 153, 98, 0.48);
	background: rgba(255, 255, 255, 0.04);
	box-shadow:
		0 0 0 3px rgba(218, 125, 69, 0.075),
		0 12px 32px rgba(0, 0, 0, 0.14);
}

.form-field__control > svg {
	width: 1rem;
	height: 1rem;
	margin-left: 1rem;
	stroke: rgba(255, 229, 209, 0.34);
}

.form-field input {
	height: 3.45rem;
	padding: 0 0.95rem;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.form-field input::placeholder {
	color: rgba(255, 242, 231, 0.22);
	font-weight: 400;
}

.password-toggle {
	height: 3.45rem;
}

.checkbox {
	gap: 0.65rem;
	color: rgba(255, 244, 234, 0.48);
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 500;
}

.checkbox__box {
	border-radius: 0.32rem;
}

.login-button {
	min-height: 3.45rem;
	margin-top: 0.15rem;
	border: 0;
	border-radius: 0.9rem;
	background: linear-gradient(115deg, #efb17f 0%, #d7834f 55%, #b86438 100%);
	box-shadow:
		0 16px 36px rgba(122, 54, 24, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.26);
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
}

.login-form__status {
	font-family: inherit;
	font-size: 0.7rem;
}

.login-card__footer {
	margin-top: 1.3rem;
	font-family: inherit;
	font-size: 0.52rem;
	font-weight: 600;
	letter-spacing: 0.24em;
}

@media (max-width: 640px) {
	.splash__copy {
		right: 0.75rem;
		bottom: max(1.15rem, env(safe-area-inset-bottom));
		left: 0.75rem;
		gap: 0.35rem;
	}

	.splash__copy .entry-button {
		font-size: 0.59rem;
		letter-spacing: 0.13em;
	}

	.splash__copy .splash__hint {
		font-size: 0.52rem;
		letter-spacing: 0.15em;
	}

	.login-card {
		padding: 1.7rem 1.25rem 1.4rem;
		border-radius: 1.25rem;
	}

	.login-card__header {
		padding-right: 2.5rem;
	}
}

@media (max-height: 620px) and (min-width: 641px) {
	.splash__copy {
		bottom: 1rem;
	}

	.login-card {
		padding-block: 1.45rem;
	}

	.login-card__header {
		margin-bottom: 1.2rem;
	}

	.login-form {
		gap: 0.78rem;
	}

	.login-card__footer {
		margin-top: 0.8rem;
	}
}


/* ==========================================================================
   V4 intro sequence, logo scale and gold modal palette
   ========================================================================== */

.splash__intro {
	position: fixed;
	z-index: 22;
	top: 50%;
	left: 50%;
	width: min(68rem, calc(100vw - 3rem));
	margin: 0;
	color: rgba(246, 225, 166, 0.96);
	font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(2rem, 5.4vw, 5.5rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.04;
	text-align: center;
	text-wrap: balance;
	transform: translate(-50%, -50%);
	opacity: 0;
	filter: blur(24px);
	pointer-events: none;
	animation: intro-statement 3.4s var(--ease-in-out) both;
}

.brand-mark {
	opacity: 0;
	filter: blur(24px);
	transform: scale(0.965);
	animation: logo-resolve 1.65s 2.65s var(--ease-out) forwards;
}

.brand-mark__image {
	display: block;
	width: 87%;
	height: auto;
	margin: auto;
}

.splash__copy {
	opacity: 0;
	animation: simple-fade-up 1.1s 3.75s var(--ease-out) forwards;
}

.splash__copy .entry-button {
	animation: none;
}

@keyframes intro-statement {
	0% {
		opacity: 0;
		filter: blur(26px);
		transform: translate(-50%, -50%) scale(0.97);
	}

	24% {
		opacity: 1;
		filter: blur(0);
		transform: translate(-50%, -50%) scale(1);
	}

	58% {
		opacity: 1;
		filter: blur(0);
		transform: translate(-50%, -50%) scale(1);
	}

	100% {
		opacity: 0;
		filter: blur(28px);
		transform: translate(-50%, -50%) scale(1.025);
	}
}

@keyframes logo-resolve {
	from {
		opacity: 0;
		filter: blur(24px);
		transform: scale(0.965);
	}

	to {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
}

/* Gold modal palette. */
.login-card {
	--modal-gold-pale: #f5df99;
	--modal-gold: #d5b85a;
	--modal-gold-deep: #a98224;
	--modal-gold-dark: #6e5313;
	border-color: rgba(213, 184, 90, 0.28);
	box-shadow:
		0 34px 100px rgba(0, 0, 0, 0.68),
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 0 72px rgba(196, 158, 52, 0.08);
}

.login-card::before {
	background:
		radial-gradient(circle at 5% 0%, rgba(213, 184, 90, 0.09), transparent 31%),
		radial-gradient(circle at 100% 100%, rgba(125, 94, 22, 0.08), transparent 35%);
}

.login-card__eyebrow {
	color: rgba(229, 205, 124, 0.82);
}

.modal__close:hover {
	border-color: rgba(213, 184, 90, 0.38);
	background: rgba(213, 184, 90, 0.07);
	color: var(--modal-gold-pale);
}

.text-link {
	color: rgba(226, 201, 117, 0.78);
}

.text-link:hover {
	color: var(--modal-gold-pale);
}

.form-field__control:focus-within {
	border-color: rgba(213, 184, 90, 0.52);
	background: rgba(255, 255, 255, 0.04);
	box-shadow:
		0 0 0 3px rgba(213, 184, 90, 0.08),
		0 12px 32px rgba(0, 0, 0, 0.14);
}

.form-field__control:focus-within > svg {
	stroke: rgba(238, 217, 148, 0.9);
}

.checkbox input:checked + .checkbox__box {
	border-color: var(--modal-gold);
	background: var(--modal-gold);
	box-shadow: 0 0 16px rgba(213, 184, 90, 0.2);
}

.login-button {
	border: 1px solid rgba(246, 225, 156, 0.34);
	background:
		linear-gradient(
			115deg,
			#f4df9b 0%,
			#d7ba5d 48%,
			#a98325 100%
		);
	box-shadow:
		0 16px 36px rgba(104, 79, 18, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.34);
	color: #1d1809;
}

.login-button:hover {
	filter: brightness(1.055) saturate(1.02);
	box-shadow:
		0 20px 44px rgba(104, 79, 18, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.login-form__status {
	color: rgba(236, 216, 146, 0.8);
}

.login-card__rule {
	background: linear-gradient(90deg, transparent, rgba(220, 194, 105, 0.2));
}

@media (max-width: 640px) {
	.splash__intro {
		width: min(32rem, calc(100vw - 2rem));
		font-size: clamp(1.7rem, 9vw, 3rem);
		line-height: 1.08;
	}

	.brand-mark__image {
		width: 87%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.splash__intro {
		display: none;
	}

	.brand-mark,
	.splash__copy {
		opacity: 1;
		filter: none;
		transform: none;
		animation: none;
	}
}


/* ==========================================================================
   V5 sequential intro and logo-matched modal styling
   ========================================================================== */

:root {
	--logo-gold: rgb(237, 187, 141);
	--logo-gold-pale: rgb(246, 207, 169);
	--logo-gold-deep: rgb(183, 128, 82);
	--logo-gold-muted: rgba(237, 187, 141, 0.58);
	--logo-font:
		"Montserrat",
		ui-sans-serif,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
}

/* Replace the previous single-line intro animation. */
.splash__intro {
	position: fixed;
	z-index: 22;
	top: 50%;
	left: 50%;
	display: grid;
	width: min(72rem, calc(100vw - 3rem));
	min-height: clamp(5rem, 12vw, 9rem);
	margin: 0;
	place-items: center;
	color: var(--logo-gold);
	font-family: var(--logo-font);
	text-align: center;
	transform: translate(-50%, -50%);
	opacity: 1;
	filter: none;
	pointer-events: none;
	animation: none;
}

.splash__intro-word {
	position: absolute;
	inset: 0;
	display: grid;
	padding-inline: 1rem;
	color: var(--logo-gold);
	font-family: var(--logo-font);
	font-size: clamp(1.71rem, 4.37vw, 4.94rem);
	font-weight: 300;
	letter-spacing: 0.22em;
	line-height: 1;
	text-align: center;
	text-shadow:
		0 0 18px rgba(237, 187, 141, 0.1),
		0 0 44px rgba(237, 187, 141, 0.055);
	text-transform: uppercase;
	white-space: nowrap;
	place-items: center;
	opacity: 0;
	filter: blur(26px);
	transform: scale(0.965);
	will-change: opacity, filter, transform;
	animation: intro-word-sequence 2.45s var(--ease-in-out) both;
}

.splash__intro-word--exclusive {
	animation-delay: 0.15s;
}

.splash__intro-word--offmarket {
	animation-delay: 2.05s;
}

.splash__intro-word--opportunities {
	animation-delay: 3.95s;
}

.brand-mark {
	opacity: 0;
	filter: blur(28px);
	transform: scale(0.96);
	animation: logo-resolve-v5 1.8s 5.65s var(--ease-out) forwards;
}

.brand-mark__image {
	display: block;
	width: 87%;
	height: auto;
	margin: auto;
}

.splash__copy {
	opacity: 0;
	animation: simple-fade-up 1.05s 6.85s var(--ease-out) forwards;
}

.splash__copy .entry-button {
	color: rgba(237, 187, 141, 0.69);
	font-family: var(--logo-font);
	font-weight: 300;
	letter-spacing: 0.2em;
}

.splash__copy .entry-button:hover {
	color: var(--logo-gold-pale);
	text-shadow: 0 0 18px rgba(237, 187, 141, 0.24);
}

@keyframes intro-word-sequence {
	0% {
		opacity: 0;
		filter: blur(28px);
		transform: scale(0.96);
	}

	24% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}

	58% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}

	100% {
		opacity: 0;
		filter: blur(30px);
		transform: scale(1.025);
	}
}

@keyframes logo-resolve-v5 {
	from {
		opacity: 0;
		filter: blur(28px);
		transform: scale(0.96);
	}

	to {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
}

/*
 * Modal typography and palette follow the thin, widely tracked logo lettering.
 * The action remains dark with gold type and border rather than an orange fill.
 */
.login-card {
	--modal-gold: var(--logo-gold);
	--modal-gold-pale: var(--logo-gold-pale);
	--modal-gold-deep: var(--logo-gold-deep);
	width: min(29rem, 100%);
	border-color: rgba(237, 187, 141, 0.3);
	background:
		linear-gradient(145deg, rgba(237, 187, 141, 0.025), transparent 42%),
		rgba(8, 7, 6, 0.93);
	box-shadow:
		0 34px 100px rgba(0, 0, 0, 0.7),
		inset 0 1px 0 rgba(255, 255, 255, 0.045),
		0 0 72px rgba(237, 187, 141, 0.065);
	color: var(--logo-gold);
	font-family: var(--logo-font);
}

.login-card::before {
	background:
		radial-gradient(circle at 4% 0%, rgba(237, 187, 141, 0.075), transparent 31%),
		radial-gradient(circle at 100% 100%, rgba(183, 128, 82, 0.055), transparent 35%);
}

.login-card__eyebrow {
	color: rgba(237, 187, 141, 0.7);
	font-family: var(--logo-font);
	font-size: 0.58rem;
	font-weight: 400;
	letter-spacing: 0.28em;
}

.login-card__header h2 {
	color: var(--logo-gold);
	font-family: var(--logo-font);
	font-size: clamp(1.55rem, 5vw, 2.05rem);
	font-weight: 300;
	letter-spacing: 0.18em;
	line-height: 1.16;
	text-transform: uppercase;
}

.login-card__header p {
	color: rgba(237, 187, 141, 0.52);
	font-family: var(--logo-font);
	font-size: 0.78rem;
	font-weight: 300;
	letter-spacing: 0.035em;
	line-height: 1.7;
}

.modal__close {
	border-color: rgba(237, 187, 141, 0.15);
	color: rgba(237, 187, 141, 0.52);
}

.modal__close:hover {
	border-color: rgba(237, 187, 141, 0.42);
	background: rgba(237, 187, 141, 0.055);
	color: var(--logo-gold-pale);
}

.form-field label,
.form-field__label-row {
	color: rgba(237, 187, 141, 0.72);
	font-family: var(--logo-font);
	font-size: 0.64rem;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.text-link {
	color: rgba(237, 187, 141, 0.66);
	font-family: var(--logo-font);
	font-size: 0.62rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.text-link:hover {
	color: var(--logo-gold-pale);
}

.form-field__control {
	border-color: rgba(237, 187, 141, 0.17);
	border-radius: 0.72rem;
	background: rgba(237, 187, 141, 0.018);
}

.form-field__control:focus-within {
	border-color: rgba(237, 187, 141, 0.55);
	background: rgba(237, 187, 141, 0.025);
	box-shadow:
		0 0 0 3px rgba(237, 187, 141, 0.065),
		0 12px 32px rgba(0, 0, 0, 0.15);
}

.form-field__control > svg,
.form-field__control:focus-within > svg {
	stroke: rgba(237, 187, 141, 0.62);
}

.form-field input {
	color: var(--logo-gold-pale);
	font-family: var(--logo-font);
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 0.035em;
}

.form-field input::placeholder {
	color: rgba(237, 187, 141, 0.27);
	font-weight: 300;
}

.password-toggle {
	color: rgba(237, 187, 141, 0.45);
}

.password-toggle:hover {
	color: var(--logo-gold-pale);
}

.checkbox {
	color: rgba(237, 187, 141, 0.55);
	font-family: var(--logo-font);
	font-size: 0.65rem;
	font-weight: 300;
	letter-spacing: 0.06em;
}

.checkbox__box {
	border-color: rgba(237, 187, 141, 0.24);
	background: rgba(237, 187, 141, 0.018);
}

.checkbox input:checked + .checkbox__box {
	border-color: var(--logo-gold);
	background: var(--logo-gold);
	box-shadow: 0 0 16px rgba(237, 187, 141, 0.18);
}

.login-button {
	min-height: 3.45rem;
	border: 1px solid rgba(237, 187, 141, 0.58);
	border-radius: 0.72rem;
	background:
		linear-gradient(
			135deg,
			rgba(237, 187, 141, 0.11),
			rgba(237, 187, 141, 0.025)
		),
		rgba(8, 7, 6, 0.92);
	box-shadow:
		0 16px 36px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
	color: var(--logo-gold);
	font-family: var(--logo-font);
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.login-button:hover {
	border-color: rgba(246, 207, 169, 0.9);
	background:
		linear-gradient(
			135deg,
			rgba(237, 187, 141, 0.16),
			rgba(237, 187, 141, 0.045)
		),
		rgba(8, 7, 6, 0.94);
	box-shadow:
		0 20px 44px rgba(0, 0, 0, 0.36),
		0 0 28px rgba(237, 187, 141, 0.075),
		inset 0 1px 0 rgba(255, 255, 255, 0.045);
	color: var(--logo-gold-pale);
	filter: none;
}

.login-form__status {
	color: rgba(237, 187, 141, 0.7);
	font-family: var(--logo-font);
	font-weight: 300;
}

.login-card__footer {
	color: rgba(237, 187, 141, 0.32);
	font-family: var(--logo-font);
	font-weight: 300;
	letter-spacing: 0.26em;
}

.login-card__rule {
	background: linear-gradient(
		90deg,
		transparent,
		rgba(237, 187, 141, 0.22)
	);
}

@media (max-width: 640px) {
	.splash__intro {
		width: calc(100vw - 1.5rem);
	}

	.splash__intro-word {
		font-size: clamp(1.3rem, 7vw, 2.3rem);
		letter-spacing: 0.13em;
		white-space: normal;
	}

	.login-card__header h2 {
		font-size: clamp(1.35rem, 7vw, 1.75rem);
		letter-spacing: 0.13em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.splash__intro {
		display: none;
	}

	.brand-mark,
	.splash__copy {
		opacity: 1;
		filter: none;
		transform: none;
		animation: none;
	}
}


/* ==========================================================================
   V6 timing, modal legibility and post-logo portal reveal
   ========================================================================== */

/*
 * Each intro word completes its blur/fade sequence in exactly 857ms.
 * The delays keep the words sequential and hand off directly to the logo.
 */
 .splash__intro {
 	position: fixed;
 	z-index: 22;
 	top: 50%;
 	left: 50%;
 	display: grid;
 	width: min(72rem, calc(100vw - 3rem));
 	min-height: clamp(5rem, 12vw, 9rem);
 	margin: 0;
 	place-items: center;
 	color: var(--logo-gold);
 	font-family: var(--logo-font);
 	text-align: center;
 	transform: translate(-50%, -50%);
 	opacity: 1;
 	filter: none;
 	pointer-events: none;
 	animation: none;
 }

 .splash__intro-word {
 	position: absolute;
 	inset: 0;
 	display: grid;
 	padding-inline: 1rem;
 	color: var(--logo-gold);
 	font-family: var(--logo-font);
 	font-size: clamp(1.8rem, 4.6vw, 5.2rem);
 	font-weight: 300;
 	letter-spacing: 0.22em;
 	line-height: 1;
 	text-align: center;
 	text-shadow:
 		0 0 18px rgba(237, 187, 141, 0.1),
 		0 0 44px rgba(237, 187, 141, 0.055);
 	text-transform: uppercase;
 	white-space: nowrap;
 	place-items: center;
 	opacity: 0;
 	filter: blur(26px);
 	transform: scale(0.965);
 	will-change: opacity, filter, transform;
 	animation: intro-word-sequence 2s var(--ease-in-out) both;
 }


 .splash__intro-word--exclusive {
 	animation-delay: 0.12s;
 }

 .splash__intro-word--offmarket {
 	animation-delay: 1.67s;
 }

 .splash__intro-word--opportunities {
 	animation-delay: 3.22s;
 }

 .brand-mark {
 	opacity: 0;
 	filter: blur(28px);
 	transform: scale(0.96);
 	animation: logo-resolve-v5 1.8s 5.65s var(--ease-out) forwards;
 }

 .splash__copy {
 	opacity: 0;
 	animation: simple-fade-up 1.05s 6.85s var(--ease-out) forwards;
 }

@keyframes logo-resolve-v6 {
	from {
		opacity: 0;
		filter: blur(24px);
		transform: scale(0.97);
	}

	to {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
}

/*
 * Keep the orbiting background hidden and paused until the main logo has
 * completed its reveal. JavaScript adds .intro-complete on animation end.
 */
.portal {
	opacity: 0 !important;
	animation-play-state: paused !important;
	transition:
		opacity 1050ms ease,
		filter 1050ms ease;
	filter: blur(8px);
}

body.intro-complete .portal {
	opacity: 0.56 !important;
	animation-play-state: running !important;
	filter: blur(0);
}

body.intro-complete .portal--inner {
	opacity: 0.48 !important;
}

body.modal-open.intro-complete .portal {
	opacity: 0.78 !important;
}

/*
 * Lift modal copy out of the dark surface while retaining the logo's refined
 * gold palette.
 */
.login-card {
	color: rgba(246, 211, 174, 0.96);
}

.login-card__eyebrow {
	color: rgba(246, 211, 174, 0.84);
}

.login-card__header h2 {
	position: relative;
	display: inline-block;
	color: transparent;
	background:
		linear-gradient(
			105deg,
			#b97747 0%,
			#efbd90 30%,
			#fff0d7 48%,
			#efbd90 62%,
			#b97747 100%
		);
	background-size: 230% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	text-shadow:
		0 0 22px rgba(239, 189, 144, 0.12),
		0 0 52px rgba(239, 189, 144, 0.06);
	animation: modal-title-shine 3.6s ease-in-out infinite;
}

.login-card__header h2::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -0.55rem;
	left: 0;
	height: 1px;
	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(246, 211, 174, 0.54),
			transparent
		);
	opacity: 0.72;
	transform: scaleX(0.86);
}

.login-card__header p {
	color: rgba(246, 225, 202, 0.76);
}

.form-field label,
.form-field__label-row {
	color: rgba(246, 220, 193, 0.86);
}

.text-link {
	color: rgba(246, 207, 169, 0.82);
}

.form-field input {
	color: rgba(255, 239, 221, 0.96);
}

.form-field input::placeholder {
	color: rgba(246, 220, 193, 0.46);
}

.form-field__control > svg,
.form-field__control:focus-within > svg {
	stroke: rgba(246, 211, 174, 0.74);
}

.password-toggle {
	color: rgba(246, 211, 174, 0.66);
}

.checkbox {
	color: rgba(246, 220, 193, 0.72);
}

.login-form__status {
	color: rgba(246, 211, 174, 0.84);
}

.login-card__footer {
	color: rgba(246, 220, 193, 0.52);
}

@keyframes modal-title-shine {
	0%,
	20% {
		background-position: 100% 50%;
	}

	55% {
		background-position: 0% 50%;
	}

	100% {
		background-position: -100% 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.portal {
		opacity: 0.56 !important;
		animation-play-state: paused !important;
		filter: none;
	}

	.login-card__header h2 {
		animation: none;
		background-position: 50% 50%;
	}
}

/* ==========================================================================
   V8 authentication states
   ========================================================================== */

.auth-view[hidden] {
	display: none;
}

.text-link--button {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.login-button:disabled {
	cursor: wait;
	opacity: 0.62;
	transform: none;
}

.login-button[aria-busy="true"]::before {
	display: none;
}

.login-button[aria-busy="true"]::after {
	content: "";
	width: 0.85rem;
	height: 0.85rem;
	border: 1px solid rgba(246, 211, 174, 0.28);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: auth-button-spin 700ms linear infinite;
}

.login-button[aria-busy="true"] > svg {
	display: none;
}

.auth-back {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	justify-self: center;
	gap: 0.45rem;
	padding: 0.2rem;
	border: 0;
	background: transparent;
	color: rgba(246, 207, 169, 0.72);
	cursor: pointer;
	font-family: var(--logo-font);
	font-size: 0.68rem;
	font-weight: 300;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: color 200ms ease;
}

.auth-back:hover {
	color: var(--logo-gold-pale);
}

.auth-back svg {
	width: 0.95rem;
	height: 0.95rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.login-form__status[data-state="error"] {
	color: rgba(255, 174, 145, 0.92);
}

.login-form__status[data-state="success"] {
	color: rgba(222, 211, 157, 0.92);
}

.form-field__control.is-invalid {
	border-color: rgba(255, 143, 112, 0.58);
	box-shadow: 0 0 0 3px rgba(183, 74, 49, 0.08);
}

@keyframes auth-button-spin {
	to {
		transform: rotate(1turn);
	}
}

/* ==========================================================================
   V9 mobile logo alignment
   ========================================================================== */

@media (max-width: 640px) {
	.splash__content {
		width: 100%;
		min-width: 0;
	}

	.brand-mark {
		width: 100%;
		max-width: 31rem;
	}
}

/* ==========================================================================
   V10 login transition
   ========================================================================== */

.splash__content {
	transform-origin: center;
	transition:
		opacity 500ms ease,
		filter 620ms ease,
		scale 680ms var(--ease-in-out);
	will-change: opacity, filter, scale;
}

body.modal-open .splash {
	filter: none;
	opacity: 1;
	transform: none;
	pointer-events: none;
}

body.modal-open .splash__content {
	opacity: 0;
	filter: blur(20px);
	scale: 0.8;
}

.modal__backdrop {
	transition-duration: 620ms;
}

.login-card {
	opacity: 0;
	filter: blur(18px);
	transform: translateY(10px) scale(0.88);
	transform-origin: center;
	transition:
		opacity 520ms ease,
		filter 620ms ease,
		transform 680ms var(--ease-out);
	will-change: opacity, filter, transform;
}

.modal.is-open .login-card {
	opacity: 1;
	filter: blur(0);
	transform: translateY(0) scale(1);
	transition-delay: 0ms;
}

.modal.is-closing .login-card {
	opacity: 0;
	filter: blur(14px);
	transform: translateY(8px) scale(0.92);
	transition-duration: 420ms, 480ms, 480ms;
	transition-delay: 0ms;
}

.modal.is-closing .modal__backdrop {
	transition-duration: 420ms;
}

/* ==========================================================================
   V11 startup-style return from login
   ========================================================================== */

body.modal-returning .splash__content {
	opacity: 1;
	filter: none;
	scale: 1;
	transition: none;
}

body.modal-returning .brand-mark {
	animation: logo-return-from-modal 1.8s var(--ease-out) both !important;
}

body.modal-returning .splash__copy {
	animation: copy-return-from-modal 1.05s 1.2s var(--ease-out) both !important;
}

@keyframes logo-return-from-modal {
	from {
		opacity: 0;
		filter: blur(28px);
		transform: scale(1);
	}

	to {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
}

@keyframes copy-return-from-modal {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   V12 mobile modal transition
   ========================================================================== */

@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
	body.modal-open .splash__content {
		scale: 1;
		animation: mobile-logo-to-modal 680ms var(--ease-in-out) both;
	}

	.modal.is-open .modal__backdrop {
		animation: mobile-modal-backdrop-in 620ms ease both;
	}

	.modal.is-open .login-card {
		animation: mobile-login-modal-in 680ms var(--ease-out) both;
	}

	.modal.is-closing .modal__backdrop {
		animation: mobile-modal-backdrop-out 420ms ease both;
	}

	.modal.is-closing .login-card {
		animation: mobile-login-modal-out 480ms var(--ease-out) both;
	}
}

@keyframes mobile-logo-to-modal {
	from {
		opacity: 1;
		-webkit-filter: blur(0);
		filter: blur(0);
		transform: translateY(-0.5rem) scale(1);
	}

	to {
		opacity: 0;
		-webkit-filter: blur(20px);
		filter: blur(20px);
		transform: translateY(-0.5rem) scale(0.8);
	}
}

@keyframes mobile-login-modal-in {
	from {
		opacity: 0;
		-webkit-filter: blur(18px);
		filter: blur(18px);
		transform: translateY(10px) scale(0.88);
	}

	to {
		opacity: 1;
		-webkit-filter: blur(0);
		filter: blur(0);
		transform: translateY(0) scale(1);
	}
}

@keyframes mobile-login-modal-out {
	from {
		opacity: 1;
		-webkit-filter: blur(0);
		filter: blur(0);
		transform: translateY(0) scale(1);
	}

	to {
		opacity: 0;
		-webkit-filter: blur(14px);
		filter: blur(14px);
		transform: translateY(8px) scale(0.92);
	}
}

@keyframes mobile-modal-backdrop-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes mobile-modal-backdrop-out {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

/* ==========================================================================
   V13 deterministic first paint
   ========================================================================== */

html:not(.portal-ready) .portal {
	visibility: hidden;
	opacity: 0 !important;
}

html.portal-ready .portal {
	visibility: visible;
}
