:root {
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  color: #202e2c;
  background: #f7f7f4;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button:focus-visible, input:focus-visible { outline: 3px solid #b69157; outline-offset: 3px; }

.login-layout { display: grid; grid-template-columns: minmax(390px, 49%) 1fr; min-height: 100svh; }
.login-story { position: relative; min-height: 670px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px clamp(34px, 5vw, 86px) 44px; background: #203936; color: #f7f3eb; isolation: isolate; }
.login-story::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: linear-gradient(#77918a 1px, transparent 1px), linear-gradient(90deg, #77918a 1px, transparent 1px); background-size: 82px 82px; mask-image: linear-gradient(to bottom, transparent 8%, black 56%, transparent 100%); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 800; letter-spacing: .17em; white-space: nowrap; }
.wordmark-light { color: #f6f2e9; }
.brand-symbol { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 50%; font: 24px/1 Georgia, serif; }
.story-art { position: absolute; width: 460px; height: 460px; top: 29%; left: 50%; transform: translate(-50%, -50%); opacity: .9; pointer-events: none; }
.story-orbit { position: absolute; border: 1px solid rgba(220, 203, 163, .2); border-radius: 50%; }
.orbit-one { inset: 18px; }
.orbit-two { inset: 82px; border-color: rgba(220, 203, 163, .32); }
.story-center { position: absolute; inset: 150px; display: grid; place-items: center; border: 1px solid rgba(220, 203, 163, .42); border-radius: 50%; color: #d8c092; font: 94px/1 Georgia, serif; }
.story-copy { position: relative; margin-top: auto; margin-bottom: 66px; max-width: 500px; }
.micro-label { color: #c8ad78; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.story-copy h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 5vw, 78px); font-weight: 400; line-height: 1.03; letter-spacing: -.055em; margin: 19px 0 21px; }
.story-copy p { color: #c7d1cb; line-height: 1.65; font-size: 16px; max-width: 360px; margin: 0; }
.story-foot { display: flex; align-items: center; gap: 13px; color: #aebeb7; font-size: 12px; letter-spacing: .04em; }
.foot-rule { display: inline-block; width: 23px; height: 1px; background: #b9955f; }
.login-main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 54px 48px 30px; background: #f8f7f4; }
.login-form-wrap { width: min(420px, 100%); margin: auto 0; padding: 54px 0; }
.login-index { display: flex; align-items: center; gap: 12px; color: #8c9a94; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.login-index span { display: block; width: 30px; height: 1px; background: #c9cdc5; }
.login-form-wrap h2 { font: 400 clamp(44px, 4.5vw, 64px)/1.08 Georgia, serif; letter-spacing: -.055em; margin: 26px 0 13px; color: #1d302d; }
.login-lead { margin: 0 0 42px; color: #74817c; font-size: 15px; }
.login-form-wrap form { display: flex; flex-direction: column; }
.login-form-wrap label { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #35443f; }
.login-form-wrap input { width: 100%; height: 53px; border: 1px solid #d9ded8; border-radius: 5px; background: #fff; color: #25342f; padding: 0 16px; margin: 0 0 25px; outline: none; transition: border-color .16s, box-shadow .16s; }
.login-form-wrap input:focus { border-color: #a68f67; box-shadow: 0 0 0 3px rgba(182, 145, 87, .11); }
.login-form-wrap input::placeholder { color: #aab2ac; }
.button { min-height: 51px; border: 1px solid transparent; border-radius: 5px; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 0 19px; font-size: 13px; font-weight: 750; transition: background .16s, transform .16s; }
.button:not(:disabled):hover { transform: translateY(-1px); }
.button-primary { color: #f7f5ef; background: #203936; }
.button-primary:not(:disabled):hover { background: #31504b; }
.button-arrow { font-size: 19px; font-weight: 400; line-height: 1; }
.login-submit { margin-top: 9px; }
.login-submit:disabled { opacity: .65; }
.form-error { margin: 0 0 12px; color: #a4453a; font-size: 13px; line-height: 1.4; }
.login-footer { width: 100%; text-align: right; color: #9ba6a0; font-size: 11px; }

@media (max-width: 800px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-story { min-height: 350px; padding: 26px 28px; }
  .story-art { width: 330px; height: 330px; top: 36%; left: 80%; opacity: .47; }
  .orbit-one { inset: 0; }
  .orbit-two { inset: 57px; }
  .story-center { inset: 110px; font-size: 60px; }
  .story-copy { margin: 56px 0 27px; }
  .story-copy h1 { font-size: 48px; margin: 10px 0; }
  .story-copy p { font-size: 13px; }
  .story-foot { display: none; }
  .login-main { min-height: 510px; padding: 30px 28px 22px; }
  .login-form-wrap { padding: 30px 0; }
  .login-form-wrap h2 { font-size: 44px; }
  .login-lead { margin-bottom: 28px; }
}

@media (max-width: 560px) {
  .wordmark { font-size: 11px; letter-spacing: .12em; }
  .brand-symbol { width: 29px; height: 29px; }
}
