/* ============================================================
   LIVE LIFE WRONG — the next drop (features/drop.js, js/fx-drop.js)
   A band in the black box after the rail: what opens next and when,
   counted down in the typewriter face, and the list's sign-up. With
   nothing scheduled it is only the sign-up, shorter and quieter.
   The server marks <html data-dropstate="next|list"> before the first
   paint, so the band has its final height from the start.
   ============================================================ */
.dropband { border-top: 1px solid var(--color-line); }
.dropband__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; padding: var(--space-section) var(--gutter); }
html:not([data-dropstate="next"]) .dropband__next, html[data-dropstate="next"] .dropband__quiet { display: none; }
html:not([data-dropstate="next"]) .dropband__in { align-items: center; padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.dropband .dropband__eyebrow { display: block; margin-bottom: 1.2rem; }

/* what opens next */
.dropband__title { font-family: var(--font-title); font-weight: 400; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.6rem); text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.92; color: var(--ivory); margin: 0 0 1.8rem; }
.dropband__clock { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 34rem; border-top: 1px solid var(--red); }
.dropband__cell { display: grid; gap: 0.35rem; padding: 0.9rem 0 0 0.9rem; border-left: 1px solid var(--color-line-inverse); }
.dropband__cell:first-child { padding-left: 0; border-left: 0; }
.dropband__cell b { font-family: var(--font-mono); font-weight: 400; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--ivory); }
.dropband__cell i { font-style: normal; font-size: var(--text-micro); font-weight: 500; letter-spacing: var(--track-wide); text-transform: uppercase; color: rgba(242, 240, 234, 0.55); }
/* at zero the cells give way to one line, in the same space */
.dropband__now { position: absolute; left: 0; bottom: 0.2rem; font-family: var(--font-mono); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); visibility: hidden; }
.dropband.is-now .dropband__cell { visibility: hidden; }
.dropband.is-now .dropband__now { visibility: visible; }
.dropband__when { margin-top: 1.1rem; font-family: var(--font-mono); font-size: var(--text-small); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242, 240, 234, 0.7); }
.dropband__note { margin-top: 0.9rem; max-width: 46ch; color: rgba(242, 240, 234, 0.85); }

/* nothing scheduled: the list, said once */
.dropband__line { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.2rem); text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; color: var(--ivory); max-width: 18ch; }

/* the sign-up, and the confirmation that takes its place (same cell, same height) */
.dropband__act { display: grid; }
.dropband__act > * { grid-area: 1 / 1; }
.dropband__promise, .dropband__on { font-family: var(--font-display); font-size: var(--text-h3); font-weight: 300; line-height: 1.3; letter-spacing: -0.01em; max-width: 24ch; }
.dropband__promise { margin-bottom: 1.4rem; }
.dropband__field { display: flex; border-bottom: 1px solid rgba(242, 240, 234, 0.6); max-width: 26rem; }
.dropband__field:focus-within { border-color: var(--ivory); }
.dropband__field input { flex: 1; min-width: 0; min-height: 48px; background: none; border: 0; color: var(--ivory); font: inherit; font-size: var(--text-small); letter-spacing: 0.08em; padding: 0.9em 0; outline: none; }
.dropband__field input::placeholder { color: rgba(242, 240, 234, 0.45); text-transform: uppercase; letter-spacing: var(--track-mid); font-size: var(--text-micro); }
.dropband__field button { min-height: 48px; padding-left: 1rem; font-size: var(--text-micro); font-weight: 500; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--ivory); }
.dropband__field button:hover { color: var(--red); }
.dropband__field button:focus-visible { outline-color: var(--ivory); }
.dropband__msg { min-height: 1.4em; margin-top: 0.7rem; color: rgba(242, 240, 234, 0.6); }
.dropband__msg.is-bad { color: var(--red); }
.dropband__on { align-self: start; visibility: hidden; outline: none; }
.dropband.is-on .dropband__join { visibility: hidden; }
.dropband.is-on .dropband__on { visibility: visible; }

@media (max-width: 900px) {
  .dropband__in { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 2.6rem; }
}
@media (max-width: 760px) {
  .dropband__field input { font-size: 16px; }
  .dropband__cell { padding-left: 0.6rem; }
  .dropband__cell b { font-size: clamp(1.7rem, 8.4vw, 2.4rem); }
}
