/* =====================================================================
   (sin)rumbo. — the private-preview password screen (preview.html). Loaded after site.css.
   ===================================================================== */
.gate{min-height:100dvh;display:flex;flex-direction:column}
.gate-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:20px;position:relative;z-index:2}
.gate-top .logo{font-size:22px}
.gate-main{flex:1;position:relative;display:grid;place-items:center;padding:12px var(--gutter) 32px;overflow:hidden}
.gate-card{position:relative;z-index:1;width:min(100%,480px);display:grid;justify-items:start;gap:14px;padding:clamp(22px,3.4vw,36px);
  border-radius:var(--r-xl);background:var(--glass);border:1px solid var(--glass-edge);
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);box-shadow:0 30px 60px -30px rgba(15,42,42,.4)}
.gate-card .eyebrow .icon{color:var(--coral-ink)}
.gate-card h1{font-size:clamp(32px,4vw,50px);line-height:1;letter-spacing:-.035em}
.gate-lede{color:var(--muted);font-size:15.5px;line-height:1.55;max-width:40ch}
.gate-form{display:flex;gap:8px;width:100%;margin-top:6px}
.gate-form input{flex:1;min-width:0;min-height:48px;padding:0 18px;border-radius:var(--r-pill);border:1px solid var(--line);background:rgba(255,255,255,.75);font:inherit;font-size:15px;color:var(--ink)}
.gate-form input:focus{outline:2px solid var(--coral);outline-offset:1px}
.gate-form .btn{flex:none}
.gate-msg{min-height:1.3em;margin-top:-4px;font-size:13.5px;color:var(--error)}
.gate-ig{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink);text-decoration:none}
.gate-ig:hover span{text-decoration:underline}
.gate-card.shake{animation:gateShake .4s}
@keyframes gateShake{20%,60%{translate:-6px 0}40%,80%{translate:6px 0}}
/* polaroids scattered around the card */
.gate-polas{position:absolute;inset:0;overflow:hidden;pointer-events:none}   /* out of the grid, so the card is truly centred */
.gp{position:absolute;width:clamp(120px,13vw,190px);padding:8px 8px 26px;border-radius:var(--r-md);background:#FFFDF9;
  box-shadow:0 1px 2px rgba(15,42,42,.08),0 22px 40px -18px rgba(15,42,42,.4)}
.gp img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:9px;background:var(--sand-2)}
.gp.p1{left:6%;top:8%;rotate:-8deg}
.gp.p2{left:12%;bottom:6%;rotate:5deg}
.gp.p3{right:7%;top:10%;rotate:7deg}
.gp.p4{right:12%;bottom:5%;rotate:-5deg}
.gate-foot{padding-block:18px;font-size:13px;color:var(--muted)}
.gate-foot a{color:inherit}
/* phones: all four polaroids peek out at the corners, the card sits in the middle of the screen */
@media (max-width:860px){
  .gate-main{padding:24px var(--gutter)}
  .gp{width:clamp(88px,27vw,116px);padding:6px 6px 20px}
  .gp.p1{left:-18px;top:1%;rotate:-9deg}
  .gp.p3{right:-20px;top:3%;rotate:8deg}
  .gp.p2{left:-14px;top:auto;bottom:-2%;rotate:6deg}
  .gp.p4{right:-18px;top:auto;bottom:-1%;rotate:-6deg}
}
@media (max-width:420px){.gate-form{flex-direction:column}.gate-form .btn{width:100%;justify-content:center}}
@media (prefers-reduced-motion:reduce){.gate-card.shake{animation:none}}
