:root {
  color-scheme: light;
  --red: #c30f1b;
  --deep: #8f0d16;
  --ink: #251e20;
  --muted: #766b68;
  --paper: #f5f1eb;
  --line: #ded5cb;
  --white: #fffefa;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(115, 88, 68, .055) calc(100% - 1px)) 0 0 / 72px 72px,
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(115, 88, 68, .055) calc(100% - 1px)) 0 0 / 72px 72px,
    var(--paper);
  font: 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--red);
  z-index: 5;
}
a { color: inherit; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
.page-shell {
  width: min(100%, 1480px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 58px;
  display: flex;
  flex-direction: column;
}
.topbar {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; }
.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font: 700 24px/1 Georgia, serif;
  box-shadow: 5px 5px 0 rgba(195, 15, 27, .12);
}
.brand > span:last-child { display: grid; gap: 1px; }
.brand strong { font-size: 15px; letter-spacing: 1.6px; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: 2.2px; }
.edition { display: flex; gap: 26px; color: var(--muted); font: 10px/1.4 Georgia, serif; letter-spacing: 1.7px; }
.edition span + span { padding-left: 26px; border-left: 1px solid var(--line); }
.workspace {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .8fr);
  align-items: center;
  gap: clamp(50px, 8vw, 132px);
  padding: 55px 0 48px;
}
.story { position: relative; padding: 20px 0; }
.eyebrow, .card-kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}
h1 {
  margin: 0;
  font: 400 clamp(42px, 5.1vw, 73px)/1.27 var(--serif);
  letter-spacing: -.045em;
}
h1 em { color: var(--red); font-style: normal; }
.story-intro { margin: 26px 0 36px; color: var(--muted); font-size: 15px; line-height: 2; letter-spacing: .08em; }
.research-index {
  max-width: 600px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.research-index > div { position: relative; padding: 15px 10px 16px 0; }
.research-index > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.research-index span { display: block; margin-bottom: 20px; color: var(--red); font: 11px/1 Georgia, serif; }
.research-index strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; }
.research-index small { display: block; margin-top: 4px; color: #9a8e86; font: 8px/1.4 Georgia, serif; letter-spacing: .8px; }
.story-note { display: flex; align-items: center; gap: 9px; margin-top: 21px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.story-note span { width: 19px; height: 2px; background: var(--red); }
.access { width: 100%; max-width: 450px; justify-self: end; }
.access-rule { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; color: var(--muted); font-size: 9px; letter-spacing: 1.6px; }
.access-rule i { flex: 1; height: 1px; background: var(--line); }
.access-rule span:last-child { letter-spacing: 2px; }
.access-card {
  position: relative;
  padding: 39px 39px 34px;
  background: var(--white);
  border: 1px solid #e3d9d0;
  box-shadow: 18px 22px 55px rgba(75, 48, 35, .075);
}
.access-card::before { content: ""; position: absolute; inset: -1px auto auto -1px; width: 72px; height: 3px; background: var(--red); }
.card-kicker { margin-bottom: 12px; font-size: 9px; letter-spacing: 2.3px; }
h2 { margin: 0; font: 500 31px/1.4 var(--serif); letter-spacing: -.02em; }
.card-intro { margin: 11px 0 26px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.auth-form { margin-top: 4px; }
.field { margin-bottom: 19px; }
.field label, .label-row { font-size: 12px; font-weight: 600; }
.field > label, .label-row { display: flex; margin-bottom: 7px; }
.label-row { align-items: center; justify-content: space-between; gap: 12px; }
.label-row a { color: var(--muted); font-size: 10px; font-weight: 400; text-decoration: none; }
.label-row a:hover { color: var(--red); }
.field input {
  width: 100%;
  height: 49px;
  padding: 11px 13px;
  border: 1px solid #d9cec5;
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(195, 15, 27, .07); }
.field input[readonly] { background: #f4f1ec; color: #665d59; cursor: default; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 58px; }
.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 49px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}
.password-toggle:hover { color: var(--red); }
.remember { display: flex; align-items: center; gap: 8px; margin: -2px 0 18px; color: var(--muted); font-size: 11px; }
.remember input { width: 14px; height: 14px; margin: 0; accent-color: var(--red); }
.submit-button {
  width: 100%;
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 25px;
  padding: 12px 17px;
  border: 1px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.submit-button b { font: 18px/1 Georgia, serif; }
.submit-button:hover { background: var(--deep); border-color: var(--deep); transform: translateY(-1px); }
.submit-button.is-submitting { opacity: .7; pointer-events: none; }
.link-button { text-decoration: none; }
.text-link { display: inline-block; margin-top: 19px; color: var(--muted); font-size: 11px; text-decoration: none; }
.text-link:hover { color: var(--red); }
.invite-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #ebe3dc; }
.invite-note > span { flex: 0 0 auto; width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #cbbfb5; border-radius: 50%; color: var(--muted); font: 10px/1 Georgia, serif; }
.invite-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.invite-note .text-link { margin-top: 0; }
.invite-note button.text-link { border: 0; padding: 0; background: transparent; cursor: pointer; }
.signup-callout { margin-top: 23px; padding-top: 19px; border-top: 1px solid #ebe3dc; }
.signup-callout p { margin: 0 0 9px; color: var(--ink); font-size: 13px; font-weight: 600; }
.signup-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 17px;
  border: 2px solid var(--red);
  background: #fff0f1;
  color: var(--deep);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.signup-button b { font: 21px/1 Georgia, serif; }
.signup-button:hover { background: #f9dde0; border-color: var(--deep); }
.account-help { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.access-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 13px; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.page-footer { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #8b7f77; font-size: 9px; letter-spacing: 1.4px; }
.messages { margin: 0 0 19px; padding: 10px 12px; background: #f2eee8; border-left: 2px solid var(--muted); color: var(--muted); font-size: 11px; }
.messages p { margin: 0; }
.errorlist { margin: 7px 0 0; padding: 0; list-style: none; color: var(--red); font-size: 11px; line-height: 1.7; }
.form-errors { margin: 0 0 19px; padding: 11px 13px; background: #fff2f1; border-left: 2px solid var(--red); }
.form-errors .errorlist { margin: 0; }
.field-help { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.has-error input { border-color: var(--red); }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.reveal { animation: arrive .75s both cubic-bezier(.2, .75, .25, 1); }
.reveal-1 { animation-delay: .04s; }
.reveal-2 { animation-delay: .13s; }
.reveal-3 { animation-delay: .22s; }
.reveal-4 { animation-delay: .3s; }
@keyframes arrive { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1080px) {
  .page-shell { padding: 0 36px; }
  .workspace { grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); gap: 45px; }
  .research-index { grid-template-columns: repeat(2, 1fr); }
  .research-index > div:nth-child(3) { border-left: 0; }
  .research-index > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .research-index span { margin-bottom: 10px; }
}
@media (max-width: 800px) {
  .page-shell { padding: 0 25px; }
  .topbar { min-height: 88px; }
  .edition span:first-child { display: none; }
  .edition span + span { padding-left: 0; border-left: 0; }
  .workspace { grid-template-columns: 1fr; gap: 35px; padding: 38px 0; }
  .story { padding: 0; }
  h1 { font-size: clamp(39px, 8.5vw, 58px); }
  .story-intro { margin: 19px 0 25px; }
  .research-index { max-width: none; grid-template-columns: repeat(4, 1fr); }
  .research-index > div:nth-child(n+3) { border-top: 0; }
  .research-index > div:nth-child(3) { border-left: 1px solid var(--line); }
  .access { max-width: 520px; justify-self: center; }
}
@media (max-width: 520px) {
  body { background-size: 52px 52px; }
  body::before { width: 3px; }
  .page-shell { padding: 0 18px; }
  .topbar { min-height: 79px; }
  .brand { gap: 11px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 9px; letter-spacing: 1.4px; }
  .edition { display: none; }
  .workspace { gap: 29px; padding: 31px 0 34px; }
  .eyebrow { margin-bottom: 14px; font-size: 8px; letter-spacing: 2px; }
  h1 { font-size: clamp(35px, 10.5vw, 46px); line-height: 1.32; }
  .story-intro { font-size: 12px; line-height: 1.9; }
  .research-index { grid-template-columns: repeat(2, 1fr); }
  .research-index > div { padding: 11px 8px 12px 0; }
  .research-index > div + div { padding-left: 14px; }
  .research-index > div:nth-child(3) { border-left: 0; }
  .research-index > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .research-index span { margin-bottom: 8px; }
  .research-index strong { font-size: 12px; }
  .story-note { display: none; }
  .access-card { padding: 30px 24px 27px; box-shadow: 10px 14px 35px rgba(75, 48, 35, .065); }
  h2 { font-size: 27px; }
  .card-intro { margin-bottom: 22px; }
  .signup-callout { margin-top: 23px; padding-top: 19px; border-top: 1px solid #ebe3dc; }
.signup-callout p { margin: 0 0 9px; color: var(--ink); font-size: 13px; font-weight: 600; }
.signup-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 17px;
  border: 2px solid var(--red);
  background: #fff0f1;
  color: var(--deep);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.signup-button b { font: 21px/1 Georgia, serif; }
.signup-button:hover { background: #f9dde0; border-color: var(--deep); }
.account-help { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.access-foot { font-size: 8px; }
  .page-footer { min-height: 56px; font-size: 8px; letter-spacing: .4px; }
  .page-footer span:first-child { max-width: 55%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep the contact card in the footer so it never covers the sign-in form. */
.login-footer-right {
  display: grid;
  justify-items: end;
  gap: 8px;
  padding: 14px 0;
  text-align: right;
}
.login-contact-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 124px));
  gap: 9px;
  text-align: center;
}
.login-contact-media figure { margin: 0; }
.login-contact-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}
.login-contact { display: block; border-radius: 5px; }
.login-contact:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.login-contact-media figcaption { margin-top: 3px; letter-spacing: 0; }
@media (max-width: 600px) {
  .login-contact-media { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 256px); gap: 7px; }
  .login-footer-right { width: min(100%, 256px); margin-left: auto; }
  .page-footer:has(.login-contact-media) { align-items: flex-end; flex-wrap: wrap; gap: 0 10px; }
  .page-footer:has(.login-contact-media) > span:first-child { padding-bottom: 14px; }
}
