:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080a0d;
  color: #f7f2e8;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 17% 18%, rgba(200, 160, 74, .14), transparent 31rem),
    linear-gradient(135deg, #0d1015 0%, #080a0d 58%, #11100d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom right, black, transparent 72%);
}

.landing-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 4rem);
  place-items: center;
}

.landing-card {
  display: grid;
  width: min(1040px, 100%);
  min-height: min(680px, calc(100vh - 2.5rem));
  overflow: hidden;
  border: 1px solid rgba(211, 175, 96, .25);
  border-radius: 2px;
  background: rgba(12, 14, 18, .9);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .46);
  grid-template-columns: minmax(250px, .72fr) minmax(420px, 1.28fr);
}

.brand {
  display: flex;
  min-height: 240px;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-right: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(160deg, rgba(211, 175, 96, .1), transparent 52%);
  flex-direction: column;
  justify-content: flex-end;
}

.brand-mark {
  display: flex;
  width: 58px;
  height: 42px;
  margin-bottom: 1.4rem;
  align-items: end;
  gap: 5px;
}

.brand-mark i {
  display: block;
  width: 13px;
  background: #d3af60;
  transform: skew(-18deg);
}

.brand-mark i:nth-child(1) { height: 22px; }
.brand-mark i:nth-child(2) { height: 39px; }
.brand-mark i:nth-child(3) { height: 29px; }

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: .12em;
}

.brand-caption, .eyebrow {
  color: #d3af60;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.brand-caption { margin-top: .5rem; }

.landing-copy {
  display: flex;
  padding: clamp(2.25rem, 7vw, 6rem);
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.035em;
}

.intro {
  max-width: 39rem;
  margin: 2rem 0;
  color: #b9b7b1;
  font-size: 1.05rem;
  line-height: 1.7;
}

button {
  width: fit-content;
  min-width: 10.5rem;
  padding: .95rem 1.5rem;
  border: 1px solid #d3af60;
  border-radius: 2px;
  background: #d3af60;
  color: #12100b;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: .03em;
}

button:hover { background: #e3c274; }
button:focus-visible { outline: 3px solid #f7f2e8; outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .65; }

.status {
  min-height: 1.5em;
  margin: 1rem 0 0;
  color: #8e8e8a;
  font-size: .83rem;
}

@media (max-width: 760px) {
  .landing-card { grid-template-columns: 1fr; }
  .brand { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .landing-copy { padding-block: 3.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .landing-card { animation: arrive .55s ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(14px); } }
}

.hidden { display: none !important; }

.sign-in {
  display: grid;
  width: min(26rem, 100%);
  margin-top: .25rem;
  gap: .7rem;
}

.sign-in label {
  color: #d8d5ce;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sign-in input {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid rgba(211, 175, 96, .4);
  border-radius: 2px;
  background: #0a0c10;
  color: #f7f2e8;
  font: inherit;
}

.sign-in input:focus {
  border-color: #d3af60;
  outline: 2px solid rgba(211, 175, 96, .22);
}

.sign-in-actions {
  display: flex;
  margin-top: .5rem;
  gap: .75rem;
}

button.secondary {
  min-width: 7rem;
  border-color: rgba(255,255,255,.2);
  background: transparent;
  color: #d8d5ce;
}

button.secondary:hover { background: rgba(255,255,255,.06); }
