/* The page itself stays editable with WordPress Group, Image and Paragraph blocks. */
.wp-site-blocks:has(.jq-coming-soon) {
  padding: 0;
}

.wp-block-post-content:has(> .jq-coming-soon) {
  margin: 0;
}

.jq-coming-soon {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 !important;
  padding: 64px 32px;
  overflow: hidden;
  background: #fff;
  color: #111;
}

.jq-coming-soon > .jq-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1000px;
  margin: 0;
  text-align: center;
}

.jq-coming-soon .wp-block-image {
  flex: 0 0 auto;
  max-width: 100%;
  margin: 0;
}

.jq-coming-soon .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.jq-coming-soon .jq-logo {
  width: 100%;
  transform-origin: 50% 75%;
  animation: jq-logo-pop 900ms 100ms both;
}

.jq-coming-soon .jq-subtitle {
  width: 62%;
  margin-top: 18px;
  animation: jq-subtitle-slide 650ms 1050ms both;
}

.jq-coming-soon .jq-signature {
  width: 216px;
  margin-top: 34px;
  transform-origin: 50% 80%;
  animation: jq-signature-swing 750ms 1750ms both;
}

.jq-coming-soon .jq-status {
  margin: 48px 0 0;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-align: center;
  text-indent: 0.24em;
  animation: jq-status-arrive 600ms 2550ms both;
}

body.admin-bar .jq-coming-soon {
  min-height: calc(100vh - 32px);
  min-height: calc(100svh - 32px);
}

@keyframes jq-logo-pop {
  0% { opacity: 0; transform: translateY(40px) scale(0.84) rotate(-4deg); }
  55% { opacity: 1; transform: translateY(-12px) scale(1.025) rotate(1deg); }
  77% { transform: translateY(5px) scale(0.99) rotate(-0.5deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes jq-subtitle-slide {
  0% { opacity: 0; transform: translateX(-30px) rotate(-2deg); }
  65% { opacity: 1; transform: translateX(6px) rotate(0.5deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes jq-signature-swing {
  0% { opacity: 0; transform: translateY(20px) scale(0.88) rotate(-9deg); }
  55% { opacity: 1; transform: translateY(-5px) scale(1.04) rotate(3deg); }
  78% { transform: translateY(2px) scale(0.99) rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes jq-status-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .jq-coming-soon {
    padding: 40px 24px;
  }

  .jq-coming-soon .jq-subtitle {
    width: 88%;
    margin-top: 16px;
  }

  .jq-coming-soon .jq-signature {
    width: 176px;
    margin-top: 30px;
  }

  .jq-coming-soon .jq-status {
    margin-top: 42px;
    font-size: 12px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .jq-coming-soon {
    min-height: calc(100vh - 46px);
    min-height: calc(100svh - 46px);
  }
}

/* Keep all blocks visible and selectable while editing. */
.editor-styles-wrapper .jq-coming-soon .jq-logo,
.editor-styles-wrapper .jq-coming-soon .jq-subtitle,
.editor-styles-wrapper .jq-coming-soon .jq-signature,
.editor-styles-wrapper .jq-coming-soon .jq-status {
  animation: none;
}

@media (prefers-reduced-motion: reduce), print {
  .jq-coming-soon .jq-logo,
  .jq-coming-soon .jq-subtitle,
  .jq-coming-soon .jq-signature,
  .jq-coming-soon .jq-status {
    animation: none;
  }
}
