/* Beta gate for the writing section. Chamber palette. Removed at public launch. */

html.bfo-locked body > *:not(.bfo-gate) { display: none !important; }
html.bfo-locked { background: #0F0E0C; }

.bfo-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F0E0C;
  color: #E8E2D6;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.bfo-gate-panel {
  width: min(400px, calc(100vw - 64px));
  padding: 48px 0;
  border-top: 1px solid #B8975A;
  border-bottom: 1px solid #2A2822;
  text-align: center;
}

.bfo-gate-firm {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #B8975A;
  margin: 0 0 28px;
}

.bfo-gate-title {
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 12px;
}

.bfo-gate-note {
  font-size: 16px;
  color: #8A8278;
  margin: 0 0 36px;
}

.bfo-gate label {
  display: block;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8A8278;
  margin: 22px 0 4px;
}

.bfo-gate input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #2A2822;
  border-radius: 0;
  color: #E8E2D6;
  font-family: inherit;
  font-size: 18px;
  padding: 6px 2px 8px;
  outline: none;
}

.bfo-gate input:focus { border-bottom-color: #B8975A; }

.bfo-gate button {
  margin-top: 36px;
  background: transparent;
  border: 1px solid #B8975A;
  color: #B8975A;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 12px 44px;
  cursor: pointer;
  transition: background 200ms, color 200ms;
}

.bfo-gate button:hover {
  background: #B8975A;
  color: #0F0E0C;
}

.bfo-gate-error {
  min-height: 24px;
  font-size: 15px;
  font-style: italic;
  color: #B8975A;
  margin: 18px 0 0;
}
