/* Login extends the homepage identity without changing authentication. */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-page .site-header { width: 100%; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; width: 90%; max-width: 1296px; margin: 15px auto 45px; flex: 1; gap: 65px; }
.auth-story { position: relative; min-height: 620px; overflow: hidden; border-radius: 5px 90px 5px 5px; color: #fffef9; background: var(--ink); }
.auth-story > img { position: absolute; inset: 0; height: 100%; object-position: 45% 50%; }
.auth-story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #10282045, transparent 20%, #0c272bd9 100%); pointer-events: none; }
.auth-photo-label { position: absolute; top: 30px; left: 30px; right: 40px; display: flex; justify-content: space-between; align-items: center; font-size: 8px; font-weight: 600; letter-spacing: 1.5px; z-index: 1; }
.auth-photo-label > span { font-size: 22px; }
.auth-story-copy { position: absolute; bottom: 85px; left: 35px; right: 25px; z-index: 1; }
.auth-story-copy .eyebrow { font-size: 8px; color: #fffef9; }
.auth-story-copy h2 { font-size: clamp(40px, 4.3vw, 60px); margin: 16px 0 20px; }
.auth-story-copy h2 em { color: #e4eabc; }
.auth-story-copy > p { font-size: 14px; line-height: 1.8; color: #f0f1e9; }
.auth-location { position: absolute; left: 35px; bottom: 28px; font-size: 8px; letter-spacing: 1.5px; z-index: 1; }
.auth-form-section { display: flex; align-items: center; justify-content: center; padding: 40px 0; min-width: 0; }
.auth-form-inner { width: 100%; max-width: 405px; }
.auth-form-inner > .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
.auth-form-inner h1 { font-size: clamp(44px, 4.4vw, 62px); letter-spacing: -2px; line-height: 1.1; margin: 20px 0 16px; }
.auth-form-inner h1 em { display: inline; font-size: 1em; letter-spacing: -2px; color: #b74c2d; }
.auth-intro { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 340px; margin-bottom: 30px; }
.auth-field { margin-bottom: 22px; }
.auth-field label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 9px; }
.auth-field input { width: 100%; border: 1px solid #bdc4b5; border-radius: 5px; background: #fffef9; min-height: 50px; padding: 12px 14px; color: var(--ink); font-size: 16px; }
.auth-password-label { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.auth-password-label a { font-size: 11px; border-bottom: 1px solid var(--line); }
.auth-password-label a:hover { color: #ac4327; }
.auth-password-input { position: relative; }
.auth-password-input input { padding-right: 70px; }
.auth-password-input button { position: absolute; right: 8px; top: 5px; bottom: 5px; padding: 0 10px; border: 0; border-radius: 3px; background: transparent; color: var(--ink); font-size: 11px; font-weight: 600; }
.auth-password-input button:hover { background: #e9eddf; }
.auth-submit { width: 100%; }
.auth-register-page .auth-form-section { padding-top: 25px; padding-bottom: 25px; }
.auth-register-page .auth-form-inner h1 { font-size: clamp(40px, 3.6vw, 51px); }
.auth-register-page .auth-field { margin-bottom: 17px; }
.auth-register-page .auth-intro { margin-bottom: 24px; }
.auth-field-hint { font-size: 11px; color: var(--muted); margin-top: 7px; }
.auth-register-page .auth-bottom-note { margin-top: 25px; }
.auth-register { padding-top: 25px; margin-top: 25px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--muted); }
.auth-register a { color: var(--ink); border-bottom: 1px solid var(--ink); font-weight: 650; margin-left: 5px; }
.auth-bottom-note { display: flex; gap: 15px; align-items: center; margin-top: 36px; color: var(--muted); }
.auth-bottom-note > span { color: #b74c2d; font-size: 32px; }
.auth-bottom-note p { font-size: 10px; line-height: 1.8; }
.auth-bottom-note strong { color: var(--ink); font-weight: 500; }
.auth-error, .auth-success { padding: 13px 15px; margin-bottom: 20px; font-size: 13px; line-height: 1.6; border-radius: 5px; }
.auth-error { background: #fae4db; border: 1px solid #dfb6a7; color: #8a281b; }
.auth-success { background: #e4e9d8; border: 1px solid #bac9a8; color: var(--ink); }
.auth-footer { width: 90%; max-width: 1296px; margin: auto auto 0; border-top: 1px solid var(--line); padding: 23px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--muted); font-size: 10px; }
.auth-footer > span:nth-child(2) { font-size: 17px; color: var(--ink); }
.auth-footer a { font-weight: 600; }
@media (max-width: 1000px) { .auth-layout { gap: 40px; } .auth-story-copy { left: 25px; } .auth-story-copy h2 { font-size: 43px; } }
@media (max-width: 700px) {
    .auth-page .site-header { flex-wrap: wrap; gap: 12px; }
    .auth-page .desktop-nav { display: none; }
    .auth-page .account-nav { gap: 10px; }
    .auth-layout { grid-template-columns: 1fr; max-width: 440px; margin: 15px auto 35px; gap: 0; }
    .auth-story { display: none; }
    .auth-form-section { padding: 25px 0 15px; }
    .auth-form-inner h1 { font-size: 51px; }
    .auth-footer { flex-wrap: wrap; gap: 14px; }
    .auth-footer > span:nth-child(2) { width: 100%; order: -1; }
}
@media (max-width: 360px) { .auth-page .wordmark { font-size: 21px; } .auth-page .brand-symbol { font-size: 27px; } .auth-form-inner h1 { font-size: 44px; } }
