@font-face {
  font-family: Inter;
  src: url("/login/inter.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  font: 16px/1.5 Inter, system-ui, sans-serif;
  color: #0e1f1b;
  background: #e8ece9;
  --feedback: cubic-bezier(.23, 1, .32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: clamp(20px, 4vw, 60px); }
.login {
  width: min(100%, 1136px);
  min-height: min(740px, calc(100svh - 80px));
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: #f8faf7;
  border: 1px solid #cbd6ce;
  border-radius: 8px;
  overflow: clip;
}
.login-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 44px;
  padding: clamp(30px, 3.3vw, 48px);
}
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; }
.wordmark img { object-fit: contain; }
.login-form { width: min(100%, 350px); align-self: center; justify-self: center; }
h1 { margin: 0; font-size: clamp(29px, 3.5vw, 43px); line-height: 1.12; font-weight: 650; letter-spacing: -.055em; }
.intro { margin: 12px 0 34px; color: #465a50; font-size: 15px; max-width: 29ch; }
label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 14px; }
.password-field { position: relative; }
input, button { font: inherit; }
input {
  width: 100%;
  min-height: 51px;
  background: #fff;
  color: inherit;
  border: 1px solid #849a8f;
  border-radius: 6px;
  padding: 10px 75px 10px 13px;
}
button { cursor: pointer; border: 0; border-radius: 6px; }
button:focus-visible, input:focus-visible { outline: 2px solid #2f6f63; outline-offset: 3px; }
.reveal { position: absolute; inset-inline-end: 3px; top: 3px; bottom: 3px; min-width: 64px; background: transparent; color: #285c52; font-size: 13px; font-weight: 650; }
@media (hover: hover) { .reveal:hover { background: #edf1ed; } .sign-in:hover { background: #244a3f; } }
.sign-in {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 51px; padding: 9px 15px; margin-top: 16px;
  font-weight: 650; font-size: 14px; color: #fff; background: #0e3027;
  transition: background-color 140ms var(--feedback), transform 130ms var(--feedback);
}
.sign-in:active { transform: scale(.985); }
.sign-in:disabled { opacity: .76; cursor: wait; transform: none; }
.sign-in span { font-size: 18px; line-height: 1; }
.login-error { margin: 10px 0 0; color: #9b2e26; font-size: 14px; }
.access-note { margin: 0; color: #465a50; font-size: 13px; }
.artwork { position: relative; display: grid; align-items: end; overflow: hidden; isolation: isolate; background: #0e1f1b; color: #edf1ed; }
.artwork img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.artwork::after { content: ""; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(transparent, #091c16 91%); }
.artwork-caption { padding: clamp(30px, 4vw, 55px); }
.artwork-caption p { margin: 0 0 14px; font-size: clamp(32px, 4.25vw, 59px); line-height: 1.02; font-weight: 530; letter-spacing: -.055em; }
.artwork-caption small { display: block; max-width: 33ch; color: #c2d4c9; font-size: 14px; }
@media (max-width: 680px) {
  body { display: block; padding: 0; background: #f8faf7; }
  .login { display: block; min-height: 100svh; border: 0; border-radius: 0; }
  .login-main { min-height: 475px; gap: 36px; padding: 26px max(24px, calc((100vw - 350px) / 2)); }
  .intro { margin-bottom: 24px; }
  .artwork { min-height: 250px; }
  .artwork img { object-position: 50% 43%; }
}
@media (prefers-reduced-motion: reduce) {
  .sign-in { transition: none; }
  .sign-in:active { transform: none; }
}
