/* Illustration and poster typography on entry screens; the live stage stays compact. */
body.page.auth-page.login-page {
  width: 100%; max-width: none; min-height: 100svh; margin: 0; padding: 0;
  background: #fffdf8; color: #171715; font-family: Arial, Helvetica, sans-serif;
}
.login-brand-header { width: min(1200px, calc(100% - 80px)); min-height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
body.login-page a.login-brand { display: inline-flex; align-items: center; gap: 10px; color: #171715; text-decoration: none; font-size: 25px; font-weight: 800; letter-spacing: -.05em; }
.login-brand > span { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid #171715; border-radius: 50%; background: #fbd744; }
body.login-page a.login-home { min-height: 44px; display: inline-flex; align-items: center; gap: 16px; color: #171715; font-size: 13px; font-weight: 700; text-decoration: none; }
body.login-page .auth-shell { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 70px; width: min(1120px, calc(100% - 80px)); min-height: calc(100svh - 136px); margin: 0 auto; padding: 28px 0 60px; }
.frontstage-kicker { margin: 0 0 18px; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.auth-story { min-width: 0; }
.auth-story h2 { margin: 0; font-size: clamp(33px, 3.5vw, 47px); font-weight: 900; letter-spacing: -.055em; line-height: 1.08; }
.auth-story h2 span { position: relative; z-index: 0; }
.auth-story h2 span::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .05em; height: .2em; background: #fbd744; border-radius: 20px; }
.auth-story > img { display: block; width: 100%; height: auto; margin-top: 26px; mix-blend-mode: multiply; }
.auth-story-caption { margin: 18px 0 0; color: #62625a; font-size: 13px; line-height: 1.6; }
body.page.auth-page.login-page .auth-card { width: 100%; max-width: 430px; justify-self: end; margin: 0; padding: 32px; background: #fff; border: 1.5px solid #171715; border-radius: 22px; box-shadow: 7px 7px 0 #fbd744; }
body.page.auth-page.login-page .auth-title { margin: 0 0 14px; font-size: 31px; line-height: 1.15; letter-spacing: -.045em; }
body.page.auth-page.login-page .auth-context { margin-bottom: 24px; font-size: 13px; line-height: 1.6; }
body.page.auth-page.login-page .auth-mode { border-radius: 10px; background: #f3f1e9; }
body.page.auth-page.login-page .auth-mode-btn { min-height: 44px; border-radius: 7px; }
body.page.auth-page.login-page .field-input { min-height: 48px; border: 1px solid #a5a59c; border-radius: 9px; background: #fffdf8; padding: 12px; color: #171715; }
body.page.auth-page.login-page .auth-btn { min-height: 48px; border: 1px solid #171715; border-radius: 9px; background: #fbd744; color: #171715; font-weight: 700; font-size: 16px; }
body.page.auth-page.login-page .auth-btn:hover { background: #ffcb18; }
body.page.auth-page.login-page .auth-secondary { margin: 8px 0 0; }
body.page.auth-page.login-page a { color: #171715; }
body.page.auth-page.login-page :focus-visible { outline: 3px solid #513994; outline-offset: 4px; }
.event-invitation { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 18px; margin: 12px 0 20px; padding: 24px; border: 1px solid #dfd9c5; border-radius: 20px; background: #fffdf8; }
.event-invitation[hidden] { display: none; }
.event-invitation .frontstage-kicker { font-size: 9px; margin-bottom: 12px; }
.event-invitation h2 { margin: 0; color: #171715; font-size: 30px; font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.event-invitation p:not(.frontstage-kicker) { margin: 12px 0 0; color: #62625a; font-size: 13px; line-height: 1.55; }
.event-invitation img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 12px; }
.event-invitation img[src^="/static/"] { mix-blend-mode: multiply; }
@media (max-width: 900px) and (min-width: 761px) {
  body.login-page .auth-shell { gap: 30px; width: calc(100% - 56px); grid-template-columns: 1fr 1fr; }
  body.page.auth-page.login-page .auth-card { padding: 24px; }
  .auth-story h2 { font-size: 33px; }
}
@media (max-width: 760px) {
  .login-brand-header { min-height: 70px; width: calc(100% - 36px); }
  body.login-page a.login-brand { font-size: 21px; } .login-brand > span { width: 34px; height: 34px; }
  body.login-page .auth-shell { display: flex; flex-direction: column; gap: 20px; width: min(430px, calc(100% - 36px)); min-height: auto; padding: 8px 0 35px; }
  .auth-story { position: relative; align-self: stretch; min-height: 103px; display: flex; align-items: center; }
  .auth-story .frontstage-kicker, .auth-story-caption { display: none; }
  .auth-story h2 { position: relative; z-index: 1; width: 58%; font-size: 24px; line-height: 1.15; }
  .auth-story h2 span::after { display: none; }
  .auth-story > img { width: 44%; height: 110px; object-fit: contain; margin: 0 0 0 auto; }
  body.page.auth-page.login-page .auth-card { max-width: none; padding: 24px; box-shadow: 5px 5px 0 #fbd744; }
  body.page.auth-page.login-page .auth-title { font-size: 28px; }
  body.page.auth-page.login-page .auth-card .frontstage-kicker { margin-bottom: 12px; }
  .event-invitation { gap: 10px; padding: 18px; }
  .event-invitation h2 { font-size: 25px; }
}
@media (max-width: 360px) {
  .auth-story h2 { font-size: 21px; } .auth-story > img { height: 85px; }
  body.page.auth-page.login-page .auth-card { padding: 20px; }
  .event-invitation { grid-template-columns: 1fr; }
  .event-invitation img { max-height: 140px; }
}
