/* The Door: the sign-in page (Vikrant, 5 Oct 2026). The montage at the left, the box at the right.
   The house palette (house.css): cream ground, ivory box, black words, burgundy once — the button —
   and gold on the hairline. Nothing shouts; the photographs do the talking. */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.door { background: var(--paper); color: var(--ink); font-family: "Manrope", "Segoe UI", system-ui, sans-serif; font-size: 16px; line-height: 1.4; }
.door-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(400px, 5fr); min-height: 100vh; }

/* the montage */
.door-montage { position: relative; overflow: hidden; background: var(--wine-deep); }
.door-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; display: grid; place-items: center; }
.door-slide.is-on { opacity: 1; }
.door-photo { background-position: center; background-size: cover; transform: scale(1.04); }
.door-photo.is-on { animation: door-drift 9s ease-out forwards; }
@keyframes door-drift { from { transform: scale(1.04); } to { transform: scale(1.1); } }
.door-notice, .door-blank { background: var(--wine-deep); color: var(--wine-on); grid-template-rows: auto auto auto; align-content: center; justify-items: center; gap: 26px; padding: 48px; text-align: center; }
.door-notice i { display: block; width: 72px; height: 1px; background: var(--gold); }
.door-notice p, .door-blank p { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.25; max-width: 18em; }
.door-blank p { font-size: 1rem; font-family: "Manrope", system-ui, sans-serif; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }

/* the box */
.door-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px 36px; }
.door-box { width: 100%; max-width: 420px; padding: 44px 40px 36px; background: var(--surface); border: 1px solid var(--rule); border-radius: 28px; box-shadow: 0 24px 60px rgba(42, 37, 33, .08); text-align: center; }
.door-mark { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 2rem; line-height: 1; color: var(--ink); }   /* the wordmark's proportion (Vikrant, 6 Oct 2026) */
.door-mark small { display: block; font-weight: 700; font-size: .5em; letter-spacing: .32em; margin-bottom: 4px; }
.door-mark-ivory { color: var(--wine-on); }
.door-greet { margin: 30px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 2.1rem; line-height: 1.1; }
.door-date { margin: 4px 0 26px; font-size: .92rem; color: var(--soft); }
.door-error { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--wine-soft); color: var(--wine); border: 1px solid var(--wine); font-size: .9rem; text-align: left; }
.door-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.door-field { display: block; }
.door-field > span:first-child, .door-field > label { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.door-field input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); font: 500 1rem "Manrope", system-ui, sans-serif; color: var(--ink); outline: none; }
.door-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.peek { position: relative; display: block; }
.peek input { padding-right: 52px; }
.peek-eye { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--soft); cursor: pointer; display: grid; place-items: center; }
.peek-eye:hover { color: var(--wine); }
.peek.is-showing .peek-slash { display: none; }
.door-step { margin-top: 10px; min-height: 54px; border: 0; border-radius: 999px; background: var(--wine); color: var(--wine-on); font: 600 1rem "Manrope", system-ui, sans-serif; letter-spacing: .06em; cursor: pointer; }
.door-step:hover { background: var(--wine-deep); }
.door-step:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.door-forgot { align-self: center; margin-top: 8px; font-size: .86rem; color: var(--soft); text-decoration: none; border-bottom: 1px solid var(--rule); }
.door-forgot:hover { color: var(--wine); border-color: var(--wine); }
.door-foot { margin: 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--quiet); }

@media (max-width: 860px) {
  .door-page { grid-template-columns: 1fr; grid-template-rows: 38vh auto; }
  .door-side { padding: 28px 16px 36px; }
  .door-box { padding: 32px 24px 28px; }
}
