/* Client-side case-study gate — blur + password modal */
#gate-content.gate-blur {
  filter: blur(9px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.35s ease;
}

#gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 20, 25, 0.42);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  animation: gate-fade 0.3s ease;
}
@keyframes gate-fade { from { opacity: 0; } to { opacity: 1; } }

.gate-card {
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-top: 3px solid #006B6B;
  box-shadow: 0 24px 60px rgba(15, 20, 25, 0.28);
  padding: 36px 34px 32px;
}
.gate-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #006B6B;
  font-weight: 500;
  margin-bottom: 16px;
}
.gate-title {
  font-family: 'Tinos', Georgia, serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0F1419;
  margin-bottom: 12px;
}
.gate-copy {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 22px;
}
.gate-field { display: flex; gap: 10px; }
#gate-input {
  flex: 1;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: #0F1419;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#gate-input:focus {
  border-color: #006B6B;
  box-shadow: 0 0 0 3px rgba(0, 107, 107, 0.12);
}
#gate-submit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: #FFFFFF;
  background: #006B6B;
  border: none;
  border-radius: 2px;
  padding: 0 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}
#gate-submit:hover { background: #00807F; }
.gate-error {
  display: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #C2410C;
  margin-top: 14px;
}
.gate-card.shake { animation: gate-shake 0.4s ease; }
@keyframes gate-shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-7px); }
  40%,80% { transform: translateX(7px); }
}
