/* The drop — a full-screen takeover with the mark forming out of its own
   particle field and a countdown in the instrument face.

   Its own token set, mirroring .entry2033's, because it sits on the same
   ground and has to follow the same light override. Dark is the default;
   the light block redeclares only what changes. */
#drop{
  --d-bg:#0A0A08; --d-fg:#fff; --d-mute:#A8A8A8; --d-faint:#6b6b68;
  --d-line:#1F1F1F; --d-accent:#E6FA24;
}
:root[data-bts="light"] #drop{
  --d-bg:#F2F2F0; --d-fg:#0A0A08; --d-mute:#5C5C57; --d-faint:#5C5C54;
  --d-line:#D6D6D2; --d-accent:#5E6260;
}

/* Nothing scrolls behind it. A takeover you can scroll past is a banner. */
html.drop-locked, html.drop-locked body{height:100%;overflow:hidden}

/* Arrival: the ground comes first, the words a beat behind it. Both at
   once reads as a page loading; staggered reads as something opening. */
#drop{position:fixed;inset:0;z-index:9000;background:var(--d-bg);color:var(--d-fg);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:0 var(--gut);opacity:0;transition:opacity 700ms var(--ease)}
#drop.on{opacity:1}

/* Release: the content goes first and alone, then the ground follows it
   out. Slow on purpose — 900ms then 1100ms — because the whole point is
   that nothing announces itself. The site is simply there afterwards. */
/* Only the words leave. The ground is held deliberately — /enroll shares
   this exact --bg, so holding it through the navigation means the colour
   never breaks and the swap reads as one movement, not two pages. */
#drop.releasing .dinner{opacity:0;transform:translateY(-6px)}
#drop.releasing #dropcanvas{opacity:0;transition:opacity 700ms var(--ease)}
#drop.gone{opacity:0;pointer-events:none;transition:opacity 1100ms var(--ease)}

/* The mark, drawn as particles — the same animation the site gate uses, so
   the two never drift apart. Sits behind the type, never competing. */
#dropcanvas{position:absolute;inset:0;display:block;width:100%;height:100%}

.dinner{position:relative;z-index:2;text-align:center;max-width:640px;
  opacity:0;transform:translateY(8px);
  transition:opacity 900ms var(--ease) 260ms,transform 900ms var(--ease) 260ms}
#drop.on .dinner{opacity:1;transform:none}
#drop.releasing .dinner{transition:opacity 900ms var(--ease),transform 900ms var(--ease)}

.dkicker{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:10px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--d-faint);margin:0 0 20px}
.dhead{font-family:var(--disp);font-weight:700;font-size:clamp(28px,5.6vw,52px);line-height:1.04;
  letter-spacing:-.02em;margin:0 0 30px;color:var(--d-fg)}

/* The counter. Same instrument face as the HUD and the corners — tabular
   figures so the digits do not jitter as they tick. */
.dclock{display:flex;justify-content:center;gap:clamp(16px,4vw,40px);margin:0 0 26px}
.dcell{display:flex;flex-direction:column;align-items:center;gap:7px}
.dcell b{font-family:var(--disp);font-weight:700;font-size:clamp(34px,7.5vw,64px);line-height:1;
  letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-feature-settings:'tnum' 1}
.dcell i{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:9.5px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--d-faint);font-style:normal}

.dwhen{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:10.5px;letter-spacing:.05em;
  text-transform:uppercase;color:var(--d-faint);margin:0}

@media(prefers-reduced-motion:reduce){
  #drop,#drop.on,#drop.gone,.dinner,#drop.on .dinner,#drop.releasing .dinner{transition:none}
}
