* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--swd-charcoal); background: var(--swd-linen); font-family: Surt, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid #76604b; outline-offset: 4px; }
.login-layout { min-height: 100svh; display: grid; grid-template-columns: 53% 47%; }
.brand-panel { position: relative; min-height: 720px; overflow: hidden; background: #393634; color: white; }
.interior { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 50% 40%; }
.brand-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.5), transparent 35%, rgba(20,17,14,.12) 55%, rgba(20,17,14,.75)); }
.brand-link { position: absolute; top: 54px; left: 56px; z-index: 1; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.wordmark { display: block; width: 154px; height: auto; }
.brand-link span, .brand-caption > span, .form-top, .eyebrow, .form-footer { font-family: 'Surt Expanded', Surt, sans-serif; font-size: 9px; letter-spacing: .12em; line-height: 1.7; font-weight: 400; }
.brand-caption { position: absolute; z-index: 1; bottom: 58px; left: 56px; right: 40px; }
.brand-caption p { font-family: Albra, Georgia, serif; font-size: clamp(42px, 4.3vw, 68px); font-weight: 400; line-height: 1.06; margin: 0 0 28px; letter-spacing: -.015em; }
.brand-caption > span { color: #e8ddd2; }
.form-panel { padding: 54px 55px 35px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.form-top { display: flex; justify-content: space-between; gap: 20px; color: #68615b; }
.form-content { width: 100%; max-width: 390px; margin: 72px auto; }
.eyebrow { display: block; font-size: 8px; color: #74675c; margin-bottom: 25px; }
h1 { font-family: Albra, Georgia, serif; font-weight: 400; font-size: clamp(40px, 3.5vw, 54px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; }
.intro { color: #69615a; font-size: 15px; line-height: 1.6; margin: 0 0 40px; }
.field { margin: 0 0 23px; }
label { display: block; margin-bottom: 10px; font-size: 13px; }
input { width: 100%; border: 1px solid #bfb5ab; border-radius: 0; background: rgba(255,255,255,.32); min-height: 53px; padding: 14px 15px; color: #393634; font-size: 16px; transition: border-color .15s, background .15s; }
input::placeholder { color: #887e74; font-size: 14px; }
input:focus { border-color: #393634; background: #fffaf6; }
.password-field { position: relative; }
.password-field input { padding-right: 70px; }
.password-field button { position: absolute; top: 1px; right: 1px; bottom: 1px; border: 0; padding: 0 17px; background: transparent; color: #5f554b; font-size: 12px; cursor: pointer; }
.sign-in { min-height: 55px; width: 100%; border: 1px solid #393634; margin-top: 9px; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; color: #fff; background: #393634; font-size: 14px; cursor: pointer; transition: background .15s; }
.sign-in:hover { background: #151515; }
.sign-in > span:last-child { font-size: 23px; line-height: 1; }
.sign-in:disabled { opacity: .65; cursor: wait; }
.access-note { margin: 27px 0 0; padding-top: 24px; border-top: 1px solid #ddd2c8; color: #756c63; font-size: 12px; line-height: 1.8; }
.login-error { font-size: 13px; line-height: 1.5; color: #9c2c21; padding: 12px 14px; background: #f9e6df; border-left: 2px solid #9c2c21; margin: 0 0 18px; }
.form-footer { display: flex; justify-content: space-between; gap: 20px; color: #786d63; font-size: 8px; }
.form-footer a { font-family: Surt, sans-serif; font-size: 12px; letter-spacing: 0; text-decoration: none; white-space: nowrap; }
.form-footer a:hover { text-decoration: underline; }
@media (min-width: 1600px) { .form-panel { padding-left: 80px; padding-right: 80px; } .form-content { max-width: 430px; } }
@media (max-width: 1000px) { .form-panel { padding: 38px 32px 28px; } .brand-link, .brand-caption { left: 32px; } .brand-link { top: 38px; } .form-top { font-size: 8px; } .form-footer > span { max-width: 160px; } }
@media (max-width: 700px) {
  .login-layout { display: block; }
  .brand-panel { min-height: 235px; }
  .brand-link { top: 26px; left: 26px; gap: 12px; }
  .wordmark { width: 110px; }
  .brand-link span { font-size: 7px; }
  .brand-caption { left: auto; right: 26px; bottom: 26px; text-align: right; }
  .brand-caption p { font-size: 31px; margin: 0; }
  .brand-caption > span { display: none; }
  .interior { object-position: 50% 38%; }
  .brand-panel::after { background: linear-gradient(120deg,rgba(20,17,14,.65),rgba(20,17,14,.12),rgba(20,17,14,.65)); }
  .form-panel { min-height: calc(100svh - 235px); padding: 26px; }
  .form-top { display: none; }
  .form-content { margin: 16px auto 40px; max-width: 430px; }
  .eyebrow { margin-bottom: 16px; font-size: 7px; }
  h1 { font-size: 42px; }
  .intro { margin-bottom: 28px; }
  .form-footer { max-width: 430px; width: 100%; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
