* {
  box-sizing: border-box;
}

:root {
  --paper: #F4EFE6;
  --paper-2: #EDE9E0;
  --ink: #17150F;
  --ink-2: #2C2A24;
  --muted: #55524A;
  --soft: #8A8475;
  --white: #FBF8F2;
  --gold: #B89253;
  --gold-deep: #7E631F;
  --line: rgba(23, 21, 15, .12);
  --line-strong: rgba(23, 21, 15, .24);
  --radius: 4px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background: url("/assets/montecito-community-event.png") center / cover;
  filter: grayscale(.35);
  transform: scale(1.03);
}

body::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .56), rgba(0, 0, 0, .74)),
    linear-gradient(90deg, rgba(23, 21, 15, .58), rgba(23, 21, 15, .18));
}

button,
input {
  font: inherit;
}

.auth-nav {
  position: relative;
  z-index: 1;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid rgba(241, 237, 230, .14);
  background: rgba(23, 21, 15, .32);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: Archivo, Inter, sans-serif;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.brand small {
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
}

.auth-main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 72px 32px 56px;
}

.auth-card {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(241, 237, 230, .16);
  border-radius: var(--radius);
  background: rgba(23, 21, 15, .42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.auth-card::before {
  content: none;
}

h1 {
  margin: 0;
  color: var(--white);
  font-family: Archivo, Inter, sans-serif;
  font-size: clamp(48px, 7vw, 70px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: 0;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.auth-input {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(241, 237, 230, .3);
  border-radius: 0;
  background: rgba(241, 237, 230, .08);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  padding: 0 14px;
  outline: none;
}

.auth-input:focus {
  border-color: rgba(251, 248, 242, .72);
  box-shadow: 0 0 0 4px rgba(251, 248, 242, .08);
}

.auth-button {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-family: Archivo, Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.auth-button:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--white);
}

.auth-button:disabled {
  cursor: wait;
  opacity: .68;
}

.auth-note,
.auth-error {
  margin: 16px 0 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.auth-note {
  color: rgba(241, 237, 230, .72);
  background: rgba(241, 237, 230, .08);
  border: 1px solid rgba(241, 237, 230, .18);
}

.auth-error {
  color: #6d1d16;
  background: rgba(255, 112, 91, .12);
  border: 1px solid rgba(255, 112, 91, .22);
}

@media (max-width: 520px) {
  .auth-nav {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand {
    font-size: 12px;
    letter-spacing: .2em;
  }

  .brand small {
    font-size: 9px;
  }

  .auth-main {
    min-height: calc(100vh - 64px);
    padding: 48px 18px;
  }

  .auth-card {
    padding: 24px 18px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 58px);
  }
}
  color: var(--white);
