:root {
  --red: #bd2327;
  --red-dark: #971d20;
  --ink: #272224;
  --muted: #6f686b;
  --paper: #f7f6f4;
  --line: #d9d4d3;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

button, input { font: inherit; }

.access-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
}

.access-story {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 118px);
  color: #fff;
  background: linear-gradient(145deg, #201b1d 0%, #2d2325 58%, #5d2023 100%);
}

.eyebrow, .panel-label {
  margin: 0 0 24px;
  color: #f18486;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.access-story h1 {
  max-width: 720px;
  margin: 0;
  font: 400 clamp(64px, 8vw, 116px)/.88 var(--serif);
  letter-spacing: -.065em;
}

.access-story h1 span { color: #f18486; }

.story-copy {
  max-width: 610px;
  margin: 42px 0 0;
  color: #ded5d7;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
}

.story-rule {
  width: 92px;
  height: 2px;
  margin-top: 56px;
  background: var(--red);
}

.story-note {
  margin: 18px 0 0;
  color: #bfb3b6;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.access-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(30px, 6vw, 92px);
  background: #fff;
}

.panel-inner { width: min(100%, 500px); }

.panel-label { color: var(--red); }

.access-panel h2 {
  margin: 0;
  font: 400 clamp(38px, 4vw, 58px)/1 var(--serif);
  letter-spacing: -.04em;
}

.panel-copy {
  margin: 24px 0 38px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

form label {
  display: block;
  margin-bottom: 9px;
  color: #554f51;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.password-field { position: relative; }

.password-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 74px 0 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.password-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(189, 35, 39, .12);
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding: 8px;
  border: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.form-message {
  min-height: 22px;
  margin: 10px 0 8px;
  color: var(--red-dark);
  font-size: 13px;
  line-height: 1.45;
}

.submit-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  transition: background-color .18s ease, transform .18s ease;
}

.submit-button:hover { background: var(--red-dark); transform: translateY(-1px); }
.submit-button:focus-visible { outline: 3px solid rgba(189, 35, 39, .3); outline-offset: 3px; }
.submit-button:disabled { cursor: wait; opacity: .66; transform: none; }
.submit-button svg { width: 19px; height: 19px; }

@media (max-width: 880px) {
  .access-shell { grid-template-columns: 1fr; }
  .access-story { min-height: auto; padding: 52px 28px 48px; }
  .access-story h1 { font-size: clamp(58px, 19vw, 82px); }
  .story-copy { margin-top: 28px; font-size: 16px; }
  .story-rule { margin-top: 34px; }
  .access-panel { min-height: auto; padding: 56px 24px 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
