/* Leather portfolio login. Separate sheet so the splash page's
   style.css stays untouched apart from the .leather rule. */

:root {
  --bg: #f7f4ec;
  --ink: #16213e;
  --rule: #cdc4b0;
  --muted: #8a8172;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: Georgia, 'Times New Roman', serif;
}

.login-stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login {
  width: 450px;
  max-width: 100%;
}

.login h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 30px;
  letter-spacing: -0.01em;
}

.login .mark {
  width: 72px;
  height: 1px;
  background: var(--ink);
  margin-bottom: 44px;
}

.login .kicker {
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 52px;
}

.login form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.login label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.login input {
  font-family: inherit;
  font-size: 21px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.login input::placeholder {
  color: #b3ab99;
}

.login input:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}

.login button {
  font-family: inherit;
  font-size: 20px;
  padding: 24px;
  margin-top: 6px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.login button:hover,
.login button:focus-visible {
  background: var(--ink);
  color: var(--bg);
}
