/* ============================================================
   gate.css — Access gate overlay
   Amber Harriger Portfolio
   ============================================================ */

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26,19,16,.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: gate-fade var(--transition-slow) ease;
}

.gate-overlay.hidden { display: none; }

.gate-overlay.fading-out {
  opacity: 0;
  transition: opacity var(--transition-slow);
}

@keyframes gate-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes gate-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gate-card {
  background: var(--paper-light);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.35);
  border: 1px solid rgba(94,11,21,.1);
  animation: gate-rise 0.3s cubic-bezier(.2,.7,.3,1);
}

.gate-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.gate-close:hover { background: rgba(94,11,21,.08); color: var(--bordeaux); }

.gate-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(94,11,21,.08);
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.gate-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bronze);
  margin-bottom: 10px;
}

.gate-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--bordeaux);
  font-weight: 500;
  margin-bottom: 14px;
}

.gate-sub { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 28px; }

.gate-form { display: flex; flex-direction: column; gap: 14px; }

.gate-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
  margin-top: 18px;
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid rgba(94,11,21,.1);
}

/* ── WIP page-level overlay ────────────────────────────────── */
.wip-page-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wip-page-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.wip-page-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  padding: 6px 16px;
  border: 1px solid var(--rule);
  border-radius: 100px;
}
.wip-page-back {
  font-size: 14px;
  color: var(--bordeaux);
  text-decoration: none;
}
.wip-page-back:hover { color: var(--rose); }
