/* =========================================================
   Login page — public stylesheet
   Self-contained: no dependency on styles.css. Only the
   tokens, fonts, and rules the sign-in form actually needs.
   The login page uses Inter (body) and Syne (mono) only —
   no Arizona Serif headline, so no @font-face needed here.
   ========================================================= */

:root {
  --c-bg:        #ffffff;
  --c-ink:       #15151a;
  --c-line:      #e5e5ea;
  --c-line-strong: #BFBFBF;
  --c-navy:      #363148;
  --c-slate:     #636c88;
  --c-advisory:  #720405;

  --f-body:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono:      "Syne", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease:        cubic-bezier(.2,.7,.2,1);
}

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

html, body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

/* ------------------- Login page header ------------------- */
.login-header {
  padding: 32px clamp(24px, 4vw, 48px);
  display: flex;
  justify-content: center;
}
.login-header__wordmark {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink);
  text-decoration: none;
}

/* ------------------- Status banner ------------------- */
.login-status {
  display: none;
  margin: 0 auto 1.5rem;
  max-width: 484px;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-advisory);
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-ink);
  background: #faf7f7;
  text-align: left;
}
.login-status.is-visible { display: block; }

/* ------------------- Centered sign-in section
   (mirrors the contact form on the home page so the visual
   language is consistent, but minus everything we don't need) */
.login-page__section {
  background: var(--c-bg);
  padding: clamp(6rem, 12vw, 12rem) 0;
}
.login-page__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
  text-align: center;
}
.login-page__subhead {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink);
  max-width: 484px;
  margin: 0 auto;
}

/* ------------------- Form ------------------- */
.login-form {
  max-width: 360px;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  text-align: left;
}
.login-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.login-form__label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.login-form__field input {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--c-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line-strong);
  padding: 0.5rem 0;
  outline: none;
  width: 100%;
  text-align: left;
  letter-spacing: normal;
  transition: border-color 200ms var(--ease);
}
.login-form__field input:focus {
  border-bottom-color: var(--c-ink);
}
.login-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* ------------------- Sign-in button (pill) ------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  background: var(--c-ink);
  color: #ffffff;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.pill:hover { opacity: 0.85; transform: translateY(-1px); }
.pill[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ------------------- Access copy + footer ------------------- */
.login-access {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
  max-width: 484px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-ink);
}
.login-access strong { font-weight: 500; }
.login-access a { color: var(--c-ink); text-decoration: underline; }

.login-footer {
  text-align: center;
  padding: 24px clamp(24px, 4vw, 48px) 40px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.login-footer a { color: var(--c-ink); text-decoration: none; margin: 0 8px; }
.login-footer a:hover { text-decoration: underline; }
