:root {
  color-scheme: light;
  --navy: #0c1720;
  --navy-2: #13232e;
  --paper: #f4f1e9;
  --paper-2: #ebe6da;
  --ink: #16232b;
  --muted: #657078;
  --line: rgba(22, 35, 43, .17);
  --copper: #a8764b;
  --white: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; color: var(--white); background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.login-shell { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(380px, 1.08fr) minmax(420px, .92fr); }
.identity { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; padding: clamp(34px, 5vw, 74px); color: rgba(255,255,255,.94); background: var(--navy); }
.identity::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 72% 22%, rgba(88,123,139,.19), transparent 30%), linear-gradient(145deg, transparent 46%, rgba(255,255,255,.035) 46.1%, transparent 46.5%); }
.identity::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom right, black, transparent 78%); }
.brand-lockup { display: flex; align-items: center; gap: 15px; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; font-weight: 620; }
.monogram { position: relative; display: grid; grid-template-columns: repeat(3, 5px); align-items: end; gap: 3px; width: 26px; height: 27px; padding: 5px; border: 1px solid rgba(255,255,255,.38); }
.monogram i { display: block; height: 7px; background: var(--paper); }
.monogram i:nth-child(2) { height: 12px; }
.monogram i:nth-child(3) { height: 17px; background: #ba8759; }
.identity-copy { max-width: 730px; margin: auto 0; padding: 80px 0; }
.eyebrow { margin: 0 0 19px; color: var(--copper); font-size: 10px; line-height: 1.3; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }
.identity .eyebrow { color: #bd8b60; }
h1 { max-width: 720px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5.7vw, 86px); font-weight: 400; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.lede { max-width: 560px; margin: 34px 0 0; color: rgba(255,255,255,.59); font-family: Georgia, "Times New Roman", serif; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.58; }
.identity-foot { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.identity-foot .rule { width: 38px; height: 1px; background: rgba(255,255,255,.22); }
.atmosphere { position: absolute; right: clamp(30px,5vw,70px); bottom: clamp(66px,8vw,126px); width: clamp(112px,14vw,210px); height: clamp(112px,14vw,210px); opacity: .23; }
.atmosphere span { position: absolute; border: 1px solid rgba(210,223,228,.35); transform: rotate(45deg); }
.atmosphere span:nth-child(1) { inset: 0; }
.atmosphere span:nth-child(2) { inset: 18%; }
.atmosphere span:nth-child(3) { inset: 36%; border-color: rgba(186,135,89,.6); }
.atmosphere span:nth-child(4) { top: 49.5%; left: -13%; width: 126%; height: 1px; border: 0; background: rgba(255,255,255,.25); transform: none; }
.access { display: flex; flex-direction: column; min-width: 0; padding: clamp(28px, 4.5vw, 68px); background: linear-gradient(145deg, var(--paper), #f7f5ef 70%); }
.access-inner { width: min(100%, 490px); margin: auto; }
.access-number { width: 39px; padding-bottom: 8px; margin-bottom: clamp(44px,8vh,88px); border-bottom: 1px solid var(--copper); color: #7b858b; font: 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.access-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px,4vw,51px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.access-heading > p:last-child { margin: 16px 0 42px; color: var(--muted); font-size: 14px; line-height: 1.6; }
form label { display: block; margin-bottom: 9px; color: #4d5960; font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.field-wrap { display: flex; align-items: stretch; border: 1px solid #aeb4b5; background: rgba(255,255,255,.62); transition: border-color .18s, box-shadow .18s, background .18s; }
.field-wrap:focus-within { border-color: var(--navy-2); background: var(--white); box-shadow: 0 0 0 3px rgba(19,35,46,.08); }
input { min-width: 0; flex: 1; height: 56px; padding: 0 17px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 17px; letter-spacing: .06em; }
.reveal { width: 64px; border: 0; color: #6b7479; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.reveal:hover { color: var(--ink); }
.challenge[hidden] { display: none; }
.challenge { margin-top: 14px; padding: 15px 16px 13px; border: 1px solid rgba(168,118,75,.42); background: rgba(255,255,255,.48); animation: challenge-in .24s ease-out both; }
.challenge-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.challenge-heading > span { min-width: 25px; padding-top: 2px; color: var(--copper); font: 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.challenge-heading p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.challenge-heading strong { color: #35434b; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.challenge-heading small { color: #737d82; font-size: 11px; line-height: 1.4; }
.challenge-widget { min-height: 65px; overflow: hidden; }
.challenge-widget iframe { max-width: 100%; }
@keyframes challenge-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 58px; margin-top: 14px; padding: 0 19px; border: 1px solid var(--navy); color: var(--white); background: var(--navy); cursor: pointer; font-size: 11px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; transition: transform .18s, background .18s, box-shadow .18s; }
.submit svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .18s; }
.submit:hover { background: var(--navy-2); box-shadow: 0 12px 28px rgba(12,23,32,.14); transform: translateY(-1px); }
.submit:hover svg { transform: translateX(3px); }
.submit:disabled { cursor: wait; opacity: .65; transform: none; }
.status { min-height: 23px; margin: 11px 0 0; color: #9a4339; font-size: 12px; line-height: 1.45; }
.security-note { display: flex; gap: 13px; align-items: flex-start; margin-top: clamp(40px,7vh,74px); padding-top: 18px; border-top: 1px solid var(--line); }
.security-note svg { width: 17px; fill: none; stroke: var(--copper); stroke-width: 1.4; }
.security-note p { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.security-note strong { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.security-note span { color: #7a8387; font-size: 11px; line-height: 1.4; }
.access footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 40px; color: #82898c; font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 860px) {
  .login-shell { grid-template-columns: 1fr; }
  .identity { min-height: 42vh; padding: 30px; }
  .identity-copy { padding: 70px 0 58px; }
  h1 { max-width: 650px; font-size: clamp(40px,10vw,67px); }
  .lede { margin-top: 24px; }
  .atmosphere { right: 35px; bottom: 50px; }
  .access { min-height: 58vh; padding: 52px 28px 25px; }
  .access-number { display: none; }
}
@media (max-width: 520px) {
  .identity { min-height: 38vh; padding: 24px 20px; }
  .identity-copy { padding: 54px 0 38px; }
  h1 { font-size: clamp(36px,12vw,52px); }
  .lede { display: none; }
  .identity-foot { font-size: 8px; }
  .atmosphere { opacity: .14; }
  .access { min-height: 62vh; padding: 42px 20px 20px; }
  .access-heading > p:last-child { margin-bottom: 29px; }
  .access footer { margin-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}