/* ========================================
   DEV PASSWORD GATE
   Remove this file when going live
   ======================================== */
.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #F5EDE1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.gate-overlay.unlocked { display: none; }

.gate-box {
  text-align: center;
  max-width: 440px;
  padding: 0 24px;
}

.gate-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 2.6rem;
  color: #4A3524;
  margin-bottom: 12px;
}

.gate-sub {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A6A4C;
  margin-bottom: 24px;
}

.gate-notice {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5C4630;
  margin-bottom: 0;
}

.gate-notice a {
  color: #4A3524;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s;
}

.gate-notice a:hover { opacity: 0.65; }

/* Tucked low on the page and understated on purpose — this is only for us. */
.gate-login-area {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gate-login-link {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(74,53,36,0.32);
  text-decoration: none;
  transition: color 0.3s;
}

.gate-login-link:hover { color: rgba(74,53,36,0.6); }

.gate-login-link.gate-hidden { display: none; }

.gate-input-row {
  display: none;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid rgba(74,53,36,0.25);
}

.gate-input-row.gate-visible { display: flex; }

.gate-input {
  flex: 1;
  padding: 14px 18px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  background: #FFFCF8;
  color: #4A3524;
}

.gate-input::placeholder { color: rgba(74,53,36,0.4); }

.gate-btn {
  padding: 14px 24px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #4A3524;
  color: #F5EDE1;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.gate-btn:hover { background: #3A2A1B; }

.gate-error {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.85rem;
  color: #A13E2A;
  margin-top: 14px;
  min-height: 1.2em;
}
