.interactive-entry {
  min-height: 100vh;
  color: #182239;
  background: #f6f5f0;
}
.entry-header, .entrance {
  width: min(1220px, calc(100% - clamp(32px, 9vw, 144px)));
  margin-inline: auto;
}
.entry-header {
  min-height: 104px;
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.entry-header .wordmark { color: #14203b; }
.entry-header .wordmark strong { font-size: 38px; }
.entry-header .wordmark span { font-size: 7px; margin-top: 4px; }
.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  color: #29354b;
  font-size: 14px;
  font-weight: 700;
}
.home-link span { color: #425475; font-size: 20px; }
.home-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.entrance {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: clamp(460px, 65vh, 680px);
  margin-top: clamp(4px, 3vh, 30px);
  margin-bottom: clamp(24px, 7vh, 80px);
  border: 1px solid #d6d8d7;
  border-radius: 24px;
  overflow: hidden;
  background: #fffefa;
  box-shadow: 0 18px 52px -36px #1b253456;
}
.door {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  padding: clamp(26px, 4vw, 62px);
  background: #0c152a;
  color: #fff9ec;
}
.door img, .door::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.door img { object-fit: cover; object-position: 50% 42%; }
.door::after {
  content: "";
  background: linear-gradient(0deg, #071023ee 0%, #071023ad 17%, #07102310 58%);
}
.door h1 {
  font-size: clamp(47px, 5.8vw, 88px);
  line-height: .97;
  letter-spacing: -.055em;
}
.door h1 span { display: block; font-size: .51em; margin-bottom: .25em; color: #f4bb76; letter-spacing: -.03em; }
.admission { display: grid; place-items: center; padding: clamp(28px, 5vw, 76px); }
.login-box { width: min(100%, 355px); }
.login-box h2 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.045em; }
.entry-status {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 12px;
  font-size: clamp(13px, 1.25vw, 16px);
  color: #5e5140;
}
.entry-status span {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b4782e;
}
.login-box form {
  min-width: 0;
  display: grid;
  padding: 0;
  margin: clamp(24px, 4vh, 43px) 0 0;
  border: 0;
}
.login-box label { margin: 0 0 7px; color: #25324a; font-size: 14px; font-weight: 700; }
.login-box input, .login-box button {
  width: 100%;
  min-height: 47px;
  border: 1px solid #d3d6d7;
  border-radius: 9px;
  font: inherit;
  opacity: 1;
}
.login-box input { padding: 9px 14px; margin-bottom: 18px; background: #fff; color: #182239; }
.login-box :is(input,button):focus-visible { outline: 3px solid #325ec2; outline-offset: 2px; }
.entry-error { display: none; margin: -5px 0 15px; color: #972e25; font-size: 14px; font-weight: 700; }
.entry-error:target, .entry-error.is-visible { display: block; }
.login-box input[aria-invalid="true"] { border-color: #a74339; }
.login-box button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #243a60;
  color: white;
  border-color: #243a60;
  font-size: 15px;
  font-weight: 700;
}
.login-box button:hover { background: #192e51; }
@media (max-width: 720px) {
  .entry-header, .entrance { width: min(520px, calc(100% - 32px)); }
  .entry-header { min-height: 68px; padding-block: 10px; }
  .entry-header .wordmark strong { font-size: 30px; }
  .entry-header .wordmark span { font-size: 6px; }
  .entrance { grid-template-columns: 1fr; min-height: 0; margin-top: 6px; border-radius: 17px; }
  .door { min-height: clamp(155px, 42vw, 225px); padding: 21px 24px; }
  .door img { object-position: 50% 45%; }
  .door::after { background: linear-gradient(90deg, #091223e0, #09122363 59%, #09122309); }
  .door h1 { font-size: clamp(40px, 8.2vw, 56px); }
  .admission { padding: 24px; }
  .login-box { width: 100%; }
  .entry-status { margin-top: 6px; }
  .login-box form { margin-top: 19px; }
  .login-box input { margin-bottom: 13px; }
}
@media (forced-colors: active) {
  .door h1 { background: Canvas; color: CanvasText; }
  .login-box input, .login-box button { border-color: GrayText; }
}
