/* The sign-in page pairs a full-height frontispiece with a compact invitation. */
.entry {
  --entry-ivory: #f9f2df;
  --entry-gold: #e6cb90;
  --entry-muted: #b5bdb3;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  max-width: none;
  background: #0a100e;
}
.entry .identity-panel {
  display: grid;
  grid-template-rows: auto minmax(210px, 1fr) auto;
  align-items: center;
  padding: clamp(36px, 4.6vw, 88px);
  border-right: 1px solid #bba27163;
  background-color: #15291f;
  background-image: linear-gradient(180deg, #06110d40 0%, #07170f0d 48%, #040c0bd9 100%), url("/entry-atmosphere.jpg");
  background-size: cover;
  background-position: center;
}
.entry .identity-panel::before { content: none; }
.entry .identity-panel::after {
  inset: clamp(11px, 1.3vw, 23px);
  border-color: #e5cc9a42;
  box-shadow: none;
}
.entry .brand {
  align-self: start;
  width: fit-content;
  gap: 16px;
  color: #f9efd5;
  font-size: clamp(1.22rem, 2vw, 1.8rem);
  letter-spacing: .26em;
  text-shadow: 0 1px 8px #000a;
}
.entry .entry-emblem {
  width: 100%;
  margin: 0;
  padding: clamp(26px, 4vh, 54px) 0;
}
.entry .insignia {
  width: clamp(164px, min(22vw, 33vh), 360px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 16%, #b4cb9b27, transparent 45%),
    repeating-radial-gradient(circle, #c5d0a60a 0 1px, transparent 1px 3px),
    conic-gradient(from -40deg, #355340, #1f352b 22%, #0c2119 46%, #344b3b 76%, #355340);
  box-shadow: inset 0 2px 5px #f5e1a47a, inset 0 -6px 18px #020805ce,
    0 0 0 6px #1b251c, 0 0 0 7px #a58b58, 0 0 0 10px #23271c,
    0 18px 22px -7px #000b, 0 42px 65px -20px #000d;
}
.entry .insignia::before {
  background: conic-gradient(from 40deg, #74603a, #fce9b7 14%, #977c46 29%, #493d2b 43%, #bb9f66 63%, #f6e3b1 78%, #74603a);
}
.entry .inner {
  border-color: #e4cb90;
  box-shadow: inset 0 0 0 3px #152a20, 0 0 0 3px #cfc09222;
}
.entry .coincidence i {
  border-color: #ecd6a1;
  box-shadow: inset 0 -1px #f9edc94d, 0 1px 2px #050a06;
}
.entry .identity-copy { margin: 0; }
.entry .identity-copy .eyebrow { color: var(--entry-gold); letter-spacing: .23em; }
.entry .identity-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, min(6vw, 9vh), 7.25rem);
  letter-spacing: -.058em;
  color: var(--entry-ivory);
  text-shadow: 0 2px 24px #070e0bb3;
}
.entry .identity-copy h1 em { color: #e8cf98; }
.entry .entry-content {
  min-width: 0;
  padding: clamp(24px, 3.1vw, 80px);
  background: radial-gradient(ellipse at 18% 12%, #2233298c, transparent 65%),
    linear-gradient(150deg, #111a16, #080e0b 80%);
}
.entry .auth-card {
  max-width: 518px;
  padding: clamp(25px, 3.25vw, 56px);
  border: 1px solid #c6b58442;
  border-radius: 13px;
  background: linear-gradient(145deg, #26342bd9, #162019 63%, #151d18);
  box-shadow: inset 0 0 0 4px #0b150e5c, inset 0 1px #e5d8ab24,
    0 26px 75px -24px #020705;
}
.entry .auth-card::before { left: 7%; right: 30%; }
.entry .entry-greeting { gap: clamp(12px,1.5vw,28px); margin: 0 0 20px; }
.entry .entry-welcome { min-width: 0; }
.entry .entry-welcome .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 .8em;
  color: #cbd9c7;
  font-size: .67rem;
  letter-spacing: .18em;
}
.entry .indicator { margin: 0; background: #a3c79b; box-shadow: 0 0 0 3px #8ab38319; }
.entry .entry-greeting h2 {
  margin: 0;
  color: var(--entry-ivory);
  font-size: clamp(2.4rem, 3.85vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.portrait-mount {
  display: grid;
  flex: none;
  width: clamp(76px, 7.25vw, 108px);
  aspect-ratio: 1;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from -20deg, #e7cd92, #675237 25%, #e8d1a0 45%, #897149 65%, #f5e6bc 89%, #e7cd92);
  box-shadow: 0 0 0 4px #101c16, 0 0 0 5px #b99f6e4d, 0 9px 18px #070c0973;
}
.entry .entry-host {
  width: 100%;
  height: 100%;
  border: 2px solid #17241d;
}
.entry .subtitle { margin: 0 0 27px; color: var(--entry-muted); }
.entry #auth-form label { font-size: .88rem; font-weight: 550; color: #ede9d9; }
.entry #auth-form input {
  height: 50px;
  border: 1px solid #88948268;
  border-radius: 6px;
  background: #101a15;
  box-shadow: inset 0 2px 5px #0409064d;
}
.entry #auth-form input:focus {
  border-color: #d8be83;
  outline: 2px solid #d8be8355;
  outline-offset: 2px;
}
.entry #auth-submit {
  position: relative;
  min-height: 49px;
  justify-content: center;
  margin: 24px 0 15px;
  border: 1px solid #e1cd97;
  border-radius: 6px;
  background: linear-gradient(112deg, #c9aa6d, #eddbb0 36%, #dfc58e 77%, #cfb57c);
  box-shadow: inset 0 1px #fffae2a8, 0 6px 17px -7px #060d08b3;
  color: #1b2118;
  letter-spacing: .015em;
}
.entry #auth-submit span {
  position: absolute;
  right: 20px;
  width: 18px;
  height: 1px;
  background: currentColor;
  font-size: 0;
}
.entry #auth-submit span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
.entry .switch-method { text-align: center; color: var(--entry-muted); }
.entry .entry-signature {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .4em;
  margin: 20px 0 0;
  padding-top: 18px;
  border-color: #ab987044;
  color: #b5bdb3;
  font-size: .94rem;
}
.entry .entry-signature em {
  color: var(--entry-gold);
  font: italic 1.45em/1 var(--serif);
}

@media (max-width: 920px) and (min-width: 721px) {
  .entry { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .entry .identity-panel { padding: 36px; }
  .entry .entry-content { padding: 20px; }
  .entry .auth-card { padding: 26px; }
}
@media (max-width: 720px) {
  .entry { display: flex; flex-direction: column; }
  .entry .identity-panel {
    display: flex;
    min-height: 98px;
    padding: 22px clamp(24px, 6vw, 40px);
    border: 0;
    border-bottom: 1px solid #c1a57560;
    background-position: 50% 34%;
  }
  .entry .identity-panel::after { inset: 7px; }
  .entry .identity-copy { display: none; }
  .entry .brand { align-self: center; }
  .entry .entry-emblem { width: auto; padding: 0; margin: 0 4px 0 auto; }
  .entry .entry-emblem .insignia { width: 48px; }
  .entry .entry-content { flex: 1; padding: 24px 16px; }
  .entry .auth-card { padding: clamp(22px, 6vw, 34px); max-width: 470px; }
  .entry .entry-greeting h2 { font-size: clamp(2.35rem, 8.7vw, 3.5rem); }
  .portrait-mount { width: clamp(76px, 18vw, 92px); }
}
@media (max-width: 360px) {
  .entry .entry-content { padding: 16px 10px; }
  .entry .auth-card { padding: 20px; }
  .entry .entry-welcome .eyebrow { font-size:.62rem; letter-spacing:.1em; }
  .entry .entry-greeting h2 { font-size: 2.2rem; }
}
