:root {
  color-scheme: light;
  --red: #a40f28;
  --ink: #242020;
  --muted: #655d59;
  --panel-gutter: clamp(1.5rem, 3.2vw, 5rem);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: white;
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button,input { font: inherit; }
[hidden] { display: none !important; }

.materials-login {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, 1fr);
  min-height: 100vh;
  min-height: 100svh;
}
.materials-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  background: #45392e;
  color: white;
}
.warehouse-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47%;
}
.materials-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(29,20,15,.03) 25%, rgba(29,20,15,.1) 51%, rgba(24,18,15,.87) 100%);
}
.warehouse-caption {
  width: 100%;
  padding: clamp(1.75rem, 4.15vw, 6.5rem);
}
.industry {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: #fff7ee;
  font-size: clamp(.65rem,.68vw,.82rem);
  font-weight: 680;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .19em;
}
.industry::before { content:""; width: 2.4rem; height: 3px; background: #e64b51; }
h1 {
  margin: .75rem 0 0;
  font: 500 clamp(1.85rem,3.45vw,6rem)/1.07 Georgia, "Times New Roman", serif;
  letter-spacing: -.047em;
  text-wrap: balance;
}
.access-panel {
  min-width: 0;
  min-height: inherit;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: center;
  padding: clamp(1rem, 2.8vh, 3rem) var(--panel-gutter) clamp(1rem, 2.5vh, 2rem);
  border-top: 4px solid var(--red);
  background: radial-gradient(ellipse at 50% 0%, #fcf6f5 0, #fff 63%);
}
.access-content, footer { width: min(100%, 29rem); margin-inline: auto; }
.access-content { align-self: center; padding-block: .65rem 1.25rem; }
.business-identity { display: grid; justify-items: center; margin-bottom: clamp(1.2rem, 3.4vh, 2.7rem); }
.signin-quote {
  margin: clamp(.55rem, 1.3vh, 1rem) 0 0;
  color: #743c43;
  font: italic clamp(.95rem, 1.12vw, 1.25rem)/1.45 Georgia, "Times New Roman", serif;
  text-align: center;
  text-wrap: balance;
}
.falcon-emblem {
  display: block;
  width: auto;
  height: clamp(8.5rem, 22vh, 15.5rem);
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
h2 {
  margin: clamp(.4rem, 1.1vh, 1rem) 0 0;
  color: var(--ink);
  font: 500 clamp(2.15rem, 3.1vw, 3.65rem)/1.08 Georgia, "Times New Roman", serif;
  text-align: center;
  letter-spacing: -.045em;
}
form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .5rem; }
label { font-size: .85rem; font-weight: 660; }
input:not([type=hidden]) { appearance: none; width: 100%; min-width: 0; height: 3.1rem; padding: .55rem .85rem; color: var(--ink); background: #fff; border: 1px solid #cfc6c2; border-radius: .38rem; font-size: 1rem; }
input:hover { border-color: #a79a95; }
input:focus { outline: none; border-color:var(--red); box-shadow:0 0 0 3px rgba(164,15,40,.12); }
.password-field { position: relative; }
.password-field input { padding-right: 4.25rem; }
.password-toggle { position: absolute; top: .2rem; bottom: .2rem; right: .25rem; min-width: 3.3rem; padding-inline: .55rem; border: 0; border-radius: .25rem; background: transparent; color: var(--red); font-size: .8rem; font-weight: 650; cursor: pointer; }
.password-toggle:hover { background: #fdf0f2; }
.submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 3.12rem; padding: .75rem 1.05rem; margin-top: .3rem; border: 0; border-radius: .4rem; background: var(--red); color: #fff; font-size: .94rem; font-weight: 660; cursor: pointer; }
.submit:hover { background: #841025; }
.submit span[aria-hidden] { font-size: 1.3rem; line-height: 1; }
button:focus-visible { outline:2px solid var(--red); outline-offset:3px; }
.form-error { margin: 0; padding: .7rem .9rem; color: #82132a; background: #fff2f4; border-left: 3px solid #a40f28; font-size: .88rem; line-height: 1.4; }
footer {
  align-self: end;
  padding-block: .75rem .15rem;
  border-top: 1px solid #e9dfdc;
  text-align: center;
  color: #655952;
  font-size: .75rem;
  line-height: 1.5;
}
@media (min-width: 1800px) {
  .materials-login { grid-template-columns: minmax(0, 1.65fr) minmax(26rem, 1fr); }
  .access-content, footer { width: min(100%, 34rem); }
}
@media (min-width: 761px) and (max-height: 680px) {
  .falcon-emblem { height: clamp(6rem, 19vh, 8rem); }
  .access-panel { padding-block: .7rem; }
  .access-content { padding-block: .4rem .7rem; }
  .business-identity { margin-bottom: .85rem; }
  form { gap: .8rem; }
}
@media (max-width: 760px) {
  .materials-login { display: flex; flex-direction: column; }
  .materials-scene { min-height: clamp(8.5rem, 23svh, 13rem); }
  .warehouse-photo { object-position: 50% 56%; }
  .warehouse-caption { padding: 1.25rem max(1.35rem, 5vw); }
  h1 { font-size: clamp(1.8rem, 5.8vw, 2.7rem); }
  .access-panel { flex: 1; min-height: 0; padding: 1rem max(1.35rem, 6vw) .85rem; border-top-width: 3px; }
  .access-content { padding-block: .2rem 1rem; }
  .falcon-emblem { height: clamp(6rem, 13svh, 8.75rem); }
  .business-identity { margin-bottom: 1.25rem; }
  h2 { margin-top: .35rem; font-size: 2.15rem; }
  form { gap: .95rem; }
}

.password-help { margin-top: .9rem; font-size: .83rem; text-align: center; }
.password-help summary { display: inline-block; padding: .4rem; cursor: pointer; color: var(--red); text-decoration: underline; text-underline-offset: .24em; }
.password-help summary::-webkit-details-marker { display: none; }
.password-help summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.recovery-steps { margin: .5rem 0 0; padding: .8rem 1rem; color: var(--muted); border: 1px solid #eadfdd; border-radius: .4rem; background: #fdf9f8; text-align: left; line-height: 1.55; }
.recovery-steps p { margin: 0; }
.recovery-steps code { display: block; margin-block: .5rem; font-size: .78rem; overflow-wrap: anywhere; color: var(--ink); user-select: all; }
.recovery-steps a { display: inline-block; margin-top: .55rem; color: var(--red); font-weight: 650; text-underline-offset: .2em; }
