:root {
  --kelly-text-primary: #f4f5f7;
  --kelly-text-muted: #b7bec9;
  --kelly-background-page: #0b0d10;
  --kelly-action-primary: #f3f5f7;
  --kelly-action-on-primary: #111318;
  --kelly-radius-12: 12px;
  --kelly-radius-pill: 999px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--kelly-text-primary);
  background: var(--kelly-background-page);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% 0%, #20252e 0, var(--kelly-background-page) 48%); }

.accessShell {
  width: min(calc(100% - 40px), 957px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 48px 0;
  display: flex;
  align-items: center;
}
.accessCard {
  width: 100%;
  min-height: 585px;
  display: grid;
  grid-template-columns: minmax(0, 503px) 300px;
  align-items: start;
  align-content: start;
  gap: 40px;
  padding: 56px;
  background: #12161c;
  border: 1px solid #343b46;
  border-radius: 22px;
  box-shadow: 0 20px 60px #0005;
}
.accessContent { min-width: 0; }
.accessEyebrow {
  margin: 0 0 18px;
  color: #b2dcca;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.accessEyebrowMobile { display: none; }
h1 {
  width: min(444px, 100%);
  margin: 0 0 20px;
  color: var(--kelly-text-primary);
  font-size: 87px;
  line-height: 72.1px;
  font-weight: 700;
  letter-spacing: -2.4px;
}
h1 span { display: block; }
.accessIntro {
  margin: 0 0 24px;
  color: var(--kelly-text-muted);
  font-size: 18px;
  line-height: 25.6px;
  white-space: nowrap;
}
.accessCard form {
  width: min(444px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.accessField { display: flex; flex-direction: column; gap: 8px; }
.accessCard label {
  color: var(--kelly-text-primary);
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
}
.accessPasswordWrap { position: relative; }
.accessPasswordIcon {
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  width: 16px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}
.accessPasswordIcon img { display: block; width: 16px; height: 20px; }
.accessCard input {
  width: 100%;
  height: 48px;
  min-width: 0;
  padding: 0 14px 0 47px;
  border: 1px solid #4a5360;
  border-radius: var(--kelly-radius-12);
  background: var(--kelly-background-page);
  color: var(--kelly-text-primary);
  color-scheme: dark;
  font: inherit;
  font-size: 16px;
}
.accessCard input::placeholder { color: #7f8897; opacity: 1; }
.accessCard button {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--kelly-radius-pill);
  background: var(--kelly-action-primary);
  color: var(--kelly-action-on-primary);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
}
.accessCard button:hover { background: #dbe7f5; }
.accessCard a { color: #dbe7f5; text-underline-offset: 3px; font-weight: 600; }
.accessCard input:focus-visible, .accessCard button:focus-visible, .accessCard a:focus-visible {
  outline: 2px solid #bdcfef;
  outline-offset: 4px;
}
.accessRequest {
  margin: 24px 0 0;
  color: var(--kelly-text-muted);
  font-size: 14px;
  line-height: 21px;
}
.accessError { color: #ffc4bd; border: 1px solid #9a5249; border-radius: 10px; padding: 10px 13px; line-height: 1.4; }
.accessPortrait { width: 300px; height: 300px; max-width: 100%; justify-self: center; }
.accessPortraitFallback { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; border-radius: 43% 57% 62% 38% / 48% 43% 57% 52%; }
.accessPortrait .heroPortraitBlob { display: block; width: 100%; height: 100%; margin: 0; flex: none; overflow: visible; opacity: 1; transform: none; will-change: auto; }

@media (max-width: 1000px) {
  .accessCard { grid-template-columns: minmax(0, 1fr); }
  .accessIntro { white-space: normal; }
  .accessPortrait { order: -1; }
}
@media (max-width: 760px) {
  .accessShell { padding: 24px 0; align-items: flex-start; }
  .accessCard { min-height: 763px; gap: 24px; padding: 27px; }
  .accessPortrait { width: min(220px, 60vw); height: auto; aspect-ratio: 1; }
  .accessEyebrow { min-height: 20px; display: flex; align-items: center; margin-bottom: 18px; font-size: 11px; line-height: 13.2px; }
  .accessEyebrowDesktop { display: none; }
  .accessEyebrowMobile { display: inline; }
  h1 { font-size: clamp(42px, calc(19vw - 18px), 56px); line-height: .92857; letter-spacing: -1.8px; }
  .accessIntro { font-size: 16px; line-height: 25.6px; }
  .accessCard label { font-size: 13px; }
  .accessPasswordIcon, .accessPasswordIcon img { height: 16px; }
  .accessRequest span, .accessRequest a { display: block; }
}
