/* La Lesbienne — "Coming soon" countdown shown before the issue opens.
   A closed journal (the real cover's red, wordmark and type, without the artwork)
   beside a countdown. Fills its frame exactly; nothing scrolls. */
.soon { display: none; }
html.ll-locked, html.ll-locked body { height: 100%; overflow: hidden; background: #f2f2f2; margin: 0; }
html.ll-locked .reader, html.ll-locked .zoom { display: none !important; }
html.ll-locked .soon {
  display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 6rem);
  height: 100vh; height: 100dvh; padding: 2rem clamp(1.25rem, 5vw, 4rem); box-sizing: border-box;
  background: #f2f2f2; color: #303636;
  font-family: 'EB Garamond', Georgia, serif;
  perspective: 2400px;
}
.soon *, .soon *::before, .soon *::after { box-sizing: border-box; }

/* ——— the closed journal ——— */
.soon__book {
  flex: none; position: relative;
  height: min(74vh, 640px); aspect-ratio: 595 / 841;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, -8deg));
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.soon__cover {
  position: absolute; inset: 0; overflow: hidden;
  background: #fb263d;
  container-type: inline-size;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12), 0 30px 60px -24px rgba(24,22,22,0.5);
}
/* spine shading and soft light, like the reader's pages */
.soon__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(0,0,0,0.18), rgba(0,0,0,0.05) 3%, transparent 9%),
    linear-gradient(160deg, rgba(255,255,255,0.12), transparent 40%, rgba(0,0,0,0.06));
}
/* page block seen at the fore-edge of the closed book */
.soon__book::before {
  content: ""; position: absolute; top: 0.8%; bottom: 0.8%; right: -9px; width: 10px;
  background: repeating-linear-gradient(to right, #f6f3ee 0 1px, #d6cfc6 1px 2px);
  transform: translateZ(-1px); border-radius: 0 2px 2px 0;
}
.soon__wordmark {
  position: absolute; left: 50%; top: 4.5%; width: 52%; transform: translateX(-50%);
  height: auto; display: block;
}
.soon__ll { position: absolute; top: 4.5%; right: 6.5%; font-family: 'EB Garamond', Georgia, serif; font-weight: 600; font-size: 3.1cqw; color: #1b1b1b; }
.soon__foot { position: absolute; left: 6%; bottom: 4.6%; color: #1b1b1b; font-size: 3.3cqw; line-height: 1.35; }
.soon__foot b { display: block; font-weight: 600; font-size: 3.6cqw; }
/* where the artwork will be: kept veiled until the issue opens */
.soon__veil {
  position: absolute; left: 22%; right: 22%; top: 24%; bottom: 14%;
  border: 1px solid rgba(27,27,27,0.28);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 5.2cqw; color: rgba(27,27,27,0.55);
}

/* ——— the countdown ——— */
.soon__text { max-width: 34rem; }
.soon__kicker {
  margin: 0 0 0.6rem; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fb263d;
}
.soon__title {
  margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.015em; color: #303636;
}
.soon__clock { display: flex; gap: clamp(0.9rem, 2vw, 1.75rem); margin: 1.6rem 0 1.4rem; }
.soon__unit { display: flex; flex-direction: column; align-items: flex-start; }
.soon__unit b {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600;
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); line-height: 0.95;
  font-variant-numeric: lining-nums tabular-nums; color: #1b1b1b; min-width: 2ch;
}
.soon__unit span { margin-top: 0.35rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7070; }
.soon__unit--days[hidden] { display: none; }
.soon__sep { align-self: flex-start; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 0.95; color: #fb263d; }
.soon__when { margin: 0; font-size: 1.1rem; color: #303636; }
.soon__local { margin: 0.25rem 0 0; font-size: 0.95rem; color: #6b7070; min-height: 1.3em; }
.soon__note { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(48,54,54,0.18); font-size: 0.95rem; color: #6b7070; max-width: 26rem; }
.soon--opening .soon__clock { opacity: 0.35; }

/* phones and narrow frames: book above, countdown below */
@media (max-width: 760px) {
  html.ll-locked .soon { flex-direction: column; gap: 1.4rem; padding: 1.25rem; text-align: center; }
  .soon__book { height: min(40vh, 360px); --ry: 0deg; }
  .soon__text { display: flex; flex-direction: column; align-items: center; }
  .soon__clock { margin: 1rem 0 0.9rem; justify-content: center; }
  .soon__unit { align-items: center; }
  .soon__note { display: none; }
}
@media (max-height: 520px) and (max-width: 760px) { .soon__book { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .soon__book { animation: soon-float 6s ease-in-out infinite alternate; }
  @keyframes soon-float { from { translate: 0 -4px; } to { translate: 0 4px; } }
  .soon__unit b { transition: opacity 0.25s; }
}

/* the real cover on the closed journal */
.soon__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* the team's preview field (only shown with ?preview in the address) */
.soon-preview { display: none; }
html.ll-locked .soon-preview {
  display: flex; align-items: center; gap: 0.5rem; position: fixed; top: 0.75rem; right: 0.75rem; z-index: 50;
  padding: 0.4rem 0.5rem 0.4rem 0.8rem; border-radius: 999px; background: #fff;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.3); font-family: 'EB Garamond', Georgia, serif; font-size: 0.85rem; color: #6b7070;
}
.soon-preview input { width: 5.5rem; border: 1px solid rgba(48,54,54,0.25); border-radius: 999px; padding: 0.3rem 0.6rem; font: inherit; color: #303636; }
.soon-preview button { border: 0; border-radius: 999px; padding: 0.35rem 0.8rem; background: #303636; color: #fff; font: inherit; cursor: pointer; }
.soon-preview--no { animation: soon-no 0.35s; }
@keyframes soon-no { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
