body { min-height: 100svh; }
body.is-intro { overflow: hidden; }
.intro { height: calc(100svh - 24px); min-height: 700px; margin-bottom: 12px; }
.intro-inner { gap: 0; }

.logo-slot { position: relative; z-index: 5; width: clamp(84px, 8vw, 116px); margin: 0 auto .35em; }
.logo-slot canvas { transform-origin: 0 0; will-change: transform; cursor: crosshair; }
body.is-intro .logo-slot { z-index: 60; }

.mega { font-size: clamp(2.8rem, 7vw, 6.4rem); }

/* glass sign-in card, same glass as the pill nav */
.login {
  position: relative; isolation: isolate; width: min(380px, 100%); margin-top: 30px;
  display: grid; gap: 12px; padding: 22px; border-radius: 24px; text-align: left;
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.login::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -30px rgba(0,0,0,.6);
}
.login-k { font-size: 14px; font-weight: 600; opacity: .85; }
.login-k em { font-family: 'Fraunces', Georgia, serif; color: var(--navy-soft); font-weight: 400; font-size: 16px; }
.login-err { font-size: 13px; font-weight: 600; color: #ffd7d2; background: rgba(123,30,38,.55); border-radius: 12px; padding: 8px 12px; }
.fld { display: grid; gap: 6px; }
.fld span { font-size: 12px; font-weight: 600; letter-spacing: .04em; opacity: .75; }
.fld input {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 0; outline: 0;
  background: rgba(10, 20, 44, .45); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  transition: box-shadow .2s, background .2s;
}
.fld input::placeholder { color: rgba(255,255,255,.35); }
.fld input:focus { background: rgba(10, 20, 44, .65); box-shadow: inset 0 0 0 1.5px var(--navy-soft), 0 0 0 4px rgba(185,205,240,.15); }
.login .btn { margin-top: 6px; width: 100%; }

@media (max-width: 640px) {
  .intro { min-height: 640px; border-radius: 22px; margin: 8px; height: calc(100svh - 16px); }
  .intro-inner { padding: 80px 16px 90px; }
  .intro-foot { left: 16px; right: 16px; bottom: 18px; }
  .intro-meta { font-size: 10px; }
  .login { padding: 18px; }
}
@media (max-height: 760px) and (min-width: 641px) {
  .mega { font-size: clamp(2.4rem, 6vw, 4.6rem); }
  .login { margin-top: 20px; }
}
