/* auth.css — the member pages on top of the theme: the split sign-in (form beside
   photography), the account form, the legal text column. Colours and controls are the
   theme's own custom properties, so a re-skinned styles.css re-skins all of this. */

/* The split shell: form pane + full-bleed photograph. */

.authsplit {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
	background: var(--paper);
}

.authpane {
	display: grid;
	grid-template-rows: auto 1fr;
	padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 6vw, 5.5rem);
}

.authbrand { color: var(--text); font-size: 1.25rem; justify-self: start; }

.authbox {
	align-self: center;
	width: 100%;
	max-width: 24rem;
	padding-block: 3rem;
}
.authbox h1 { font-size: clamp(2.1rem, 3.4vw, 2.8rem); }

.authintro { color: var(--muted); margin-top: -0.4rem; margin-bottom: 1rem; }

.authphoto {
	position: relative;
	display: grid;
	align-content: end;
	overflow: hidden;
	background:
		linear-gradient(12deg, rgba(7, 24, 32, 0.55), rgba(7, 24, 32, 0.02) 55%),
		url(/consumer/img/work.webp?v=1786797477) center / cover no-repeat;
}

.authphoto-name {
	margin: 0;
	padding: 2.2rem 2.6rem;
	font-family: var(--display);
	font-style: italic;
	font-weight: 460;
	font-size: 1.5rem;
	color: rgba(250, 246, 239, 0.92);
}

@media (max-width: 56rem) {
	.authsplit { grid-template-columns: 1fr; }
	.authphoto { display: none; }
}

/* The divider between the two ways in. */

.author {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1.6rem 0;
	color: var(--muted);
	font-size: 0.85rem;
}
.author::before, .author::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.button--google {
	width: 100%;
	background: var(--card);
	color: var(--text);
	box-shadow: inset 0 0 0 1.5px var(--line);
}
.button--google:hover { box-shadow: inset 0 0 0 1.5px #CFC6B4, var(--shadow); }
.button--google svg { width: 1.15rem; height: 1.15rem; }

.form button[type="submit"] { width: 100%; justify-self: stretch; }

.authlinks {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 1.8rem 0 0;
	font-size: 0.95rem;
}
.authlinks a { color: var(--muted); transition: color 0.15s ease; }
.authlinks a:hover { color: var(--flood-ink); }

.authnote { margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--muted); }
.authnote a { color: inherit; }

.authemail {
	border: 0 !important;
	background: transparent !important;
	padding-left: 0 !important;
	color: var(--muted);
	font-weight: 600;
}

.authemail-line { margin: 0 0 0.4rem; color: var(--muted); font-weight: 600; }

/* The account page keeps the themed band layout. */

.authwrap { max-width: 26rem; }
.authcard { padding: 2.4rem; }
.authcard h1 { font-size: 1.7rem; margin-bottom: 1rem; }

.linklike {
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	font-weight: 600;
	color: var(--flood-ink);
	cursor: pointer;
	text-decoration: underline;
}

.legal { max-width: 46rem; }
.legalbody h2 { margin-top: 2rem; font-size: 1.4rem; }
.legalbody p, .legalbody li { color: var(--text); }
