.entry {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: linear-gradient(90deg, #0e100b30, #11130f54 55%, #10120de8), url("../assets/school-wide.webp") center / cover fixed;
}
.entry-top, .entry-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.entry-top { padding-block: 1.25rem; }
.back, .entry-footer a { color: var(--cream); text-underline-offset: .24em; }
.back span { color: var(--gold); margin-right: .4rem; }
.entry-label { color: #f0d5a4; font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 760; }
.entry-main { display: grid; grid-template-columns: 1.22fr minmax(21rem, .78fr); gap: clamp(1.7rem, 6vw, 6rem); align-items: center; padding-block: 1.3rem 2.2rem; }
.entry-brand { align-self: end; padding-bottom: clamp(2rem, 7vw, 7rem); }
.entry-brand img { width: min(100%, 31rem); height: auto; filter: drop-shadow(0 12px 22px #000b); }
.entry-brand p { margin-top: .7rem; font: italic 1.35rem var(--serif); color: #f4e5c5; text-shadow: 0 2px 8px #000; }
.entry-card { border: 1px solid #857352; background: #151915f2; box-shadow: 0 1.5rem 4rem #0608069c; padding: clamp(1.4rem, 4vw, 2.45rem); }
.entry-card h1 { font-size: clamp(2.65rem, 5vw, 4.15rem); letter-spacing: -.055em; }
.entry-card .eyebrow { margin-bottom: .72rem; }
.entry-lead, .privacy { color: var(--muted); font-size: .9rem; }
.entry-lead { margin: .8rem 0 1rem; }
.status:empty { display: none; }
.status { margin: .5rem 0 .9rem; color: #f6cf9c; overflow-wrap: anywhere; font-size: .9rem; }
.status[data-error="true"] { color: #ffb6a0; }
#credentials:not([hidden]), .account-actions:not([hidden]) { display: grid; gap: .53rem; }
.entry-card label { font-size: .85rem; font-weight: 700; margin-top: .34rem; }
.entry-card input {
  min-width: 0; width: 100%; border: 1px solid #68644f; border-radius: 0;
  padding: .68rem .8rem; min-height: 45px; background: #20231b; color: var(--cream); font: inherit;
}
.entry-card :is(input, button):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.entry-card button { font-family: inherit; cursor: pointer; }
.entry-card button:disabled { opacity: .55; cursor: progress; }
.entry-card .submit { margin-top: .57rem; }
.field-help { color: var(--muted); font-size: .77rem; }
.change-mode { border: 0; background: none; color: var(--gold); text-decoration: underline; min-height: 38px; text-underline-offset: .24em; font-weight: 670; }
.guest { display: flex; justify-content: space-between; align-items: center; gap: .7rem; min-height: 44px; margin-top: .8rem; padding-top: .2rem; border-top: 1px solid var(--line); color: var(--cream); font-size: .88rem; }
.guest span { color: var(--gold); }
.privacy { font-size: .76rem; }
.entry-footer { border-top: 1px solid #655f4e80; padding-block: .85rem; color: #e2d9c5; font-size: .79rem; }
.entry-footer a { flex-shrink: 0; }
[hidden] { display: none !important; }
@media (any-pointer: coarse) {
  .change-mode { min-height: 44px; }
}
@media (max-width: 760px) {
  .entry { background-attachment: scroll; background-position: 38% center; }
  .entry-main { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; padding-top: 1.15rem; }
  .entry-brand { padding-bottom: 0; }
  .entry-brand img { width: min(80%, 21rem); }
  .entry-brand p { font-size: 1.1rem; }
}
