:root {
  --paper: #f7f6f4;
  --paper-2: #fbfaf8;
  --ink: #0b0b0c;
  --muted: #68686c;
  --line: rgba(11, 11, 12, .14);
  --violet: #0d0176;
  --purple: #4e0579;
  --magenta: #8b014b;
  --red: #e11437;
  --orange: #fe8b32;
  --max: 1460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; }
.shell { width: min(calc(100% - 9vw), var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 99;
  background: #000;
  color: #fff;
  padding: .75rem 1rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 20%, rgba(139,1,75,.045), transparent 26%),
    radial-gradient(circle at 72% 85%, rgba(13,1,118,.035), transparent 27%);
}

.hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 42%;
  background-image:
    linear-gradient(90deg, var(--paper) 0%, rgba(247,246,244,.83) 9%, rgba(247,246,244,.08) 31%, rgba(247,246,244,0) 100%),
    url("../img/hero-hands.webp");
  background-size: cover;
  background-position: center right;
  filter: saturate(.65) contrast(.98);
}

.hero-inner { position: relative; min-height: 650px; padding-top: 52px; padding-bottom: 42px; }

.brand { width: max-content; max-width: 100%; }
.wordmark {
  font-size: clamp(19px, 1.55vw, 27px);
  font-weight: 500;
  letter-spacing: .34em;
  white-space: nowrap;
}
.brand-rule {
  width: min(270px, 86%);
  height: 2px;
  margin: 12px 0 11px;
  background: linear-gradient(90deg, var(--red), var(--orange) 22%, var(--violet) 61%, var(--magenta));
  opacity: .86;
}
.brand p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.hero-copy { margin-top: 67px; width: min(570px, 46vw); }
.hero h1 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -.052em;
  font-size: clamp(56px, 5.1vw, 86px);
  line-height: .93;
}
.micro-rule {
  width: 48px;
  height: 2px;
  margin: 27px 0 22px;
  background: linear-gradient(90deg, var(--violet), var(--red), var(--orange));
  opacity: .72;
}
.sectors,
.invitation {
  margin: 0;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .28em;
  line-height: 1.8;
}
.sectors { white-space: nowrap; }
.sectors span { margin-inline: .45em; color: #8a8a8d; }
.invitation { margin-top: 24px; font-weight: 500; }

.scroll-cue {
  margin-top: 23px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,.55);
  border-radius: 50%;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.scroll-cue:hover { background: #0a0a0b; color: #fff; transform: translateY(2px); }
.scroll-cue:focus-visible,
.enter-button:focus-visible,
.password-toggle:focus-visible,
input:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.private-section { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.private-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) 1px minmax(0, 1.12fr);
  gap: clamp(52px, 6vw, 100px);
  align-items: stretch;
  padding-top: 44px;
  padding-bottom: 46px;
}
.private-copy { max-width: 480px; }
.private-copy h2 {
  font-size: clamp(29px, 2.25vw, 37px);
  font-weight: 400;
  letter-spacing: -.035em;
  margin: 0 0 24px;
}
.private-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.accent-divider {
  width: 1px;
  min-height: 205px;
  background: linear-gradient(180deg, transparent 0%, rgba(13,1,118,.45) 18%, rgba(139,1,75,.44) 55%, rgba(254,139,50,.48) 86%, transparent 100%);
}

.access-panel { width: min(100%, 520px); }
.access-panel h2 {
  margin: 4px 0 24px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .42em;
}
.login-form { display: grid; gap: 9px; }
.login-form input {
  display: block;
  width: 100%;
  height: 46px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.36);
  color: #111;
  padding: 0 15px;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color .18s ease, background .18s ease;
}
.login-form input:hover { border-color: rgba(0,0,0,.32); }
.login-form input:focus { border-color: rgba(0,0,0,.55); background: #fff; outline: none; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 68px; }
.password-toggle {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 38px;
  border: 0;
  background: transparent;
  padding: 0 10px;
  color: #737377;
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.enter-button {
  position: relative;
  overflow: hidden;
  height: 47px;
  margin-top: 3px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #09090a;
  cursor: pointer;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12px;
}
.enter-button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--violet), var(--magenta) 50%, var(--red) 76%, var(--orange));
  opacity: .86;
}
.enter-button span { position: relative; z-index: 1; }
.enter-button:hover { background: #151517; }
.secure-note {
  margin: 14px 0 0;
  color: #828286;
  font-size: 12px;
  line-height: 1.35;
}
.form-message {
  border-left: 2px solid var(--violet);
  background: rgba(13,1,118,.045);
  color: #414146;
  margin: -6px 0 13px;
  padding: 9px 11px;
  font-size: 12px;
}
.form-message.error { border-left-color: var(--red); background: rgba(225,20,55,.045); }

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
}
.site-footer p {
  margin: 0;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .24em;
  color: #7b7b7f;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .shell { width: min(calc(100% - 48px), var(--max)); }
  .hero { min-height: 720px; }
  .hero-inner { min-height: 720px; }
  .hero-visual { inset: 0 0 0 34%; opacity: .8; }
  .hero-copy { width: min(580px, 72vw); }
  .hero h1 { font-size: clamp(55px, 8vw, 78px); }
  .private-grid { gap: 38px; grid-template-columns: minmax(0,1fr) 1px minmax(0,1.15fr); }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 34px), var(--max)); }
  .hero { min-height: auto; }
  .hero-inner { min-height: 780px; padding-top: 30px; padding-bottom: 35px; }
  .wordmark { font-size: 18px; letter-spacing: .27em; }
  .brand p { font-size: 9px; }
  .hero-visual {
    inset: 260px -120px 0 8%;
    background-image:
      linear-gradient(180deg, var(--paper) 0%, rgba(247,246,244,.18) 28%, rgba(247,246,244,0) 55%),
      linear-gradient(90deg, rgba(247,246,244,.55), transparent 26%),
      url("../img/hero-hands.webp");
    background-position: center right;
    opacity: .72;
  }
  .hero-copy { width: 100%; margin-top: 58px; position: relative; z-index: 1; }
  .hero h1 { font-size: clamp(48px, 14vw, 70px); line-height: .94; }
  .sectors { white-space: normal; max-width: 330px; font-size: 9px; letter-spacing: .21em; }
  .invitation { font-size: 10px; }
  .private-grid { display: block; padding-top: 38px; padding-bottom: 38px; }
  .private-copy { max-width: none; }
  .accent-divider { width: 100%; min-height: 1px; height: 1px; margin: 30px 0 35px; background: linear-gradient(90deg, transparent, rgba(13,1,118,.38), rgba(139,1,75,.42), rgba(254,139,50,.45), transparent); }
  .access-panel { width: 100%; }
  .site-footer { min-height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
