:root {
  --text: #111111;
  --background: #ffffff;
  --muted: #6d6d6d;
  --pink: #f45bc1;
  --line: #d9d9d9;
  --panel: #ffffff;
  --overlay: rgba(17, 17, 17, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
}

.coming-soon {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 7vw, 64px) 20px;
  text-align: center;
}

.logo {
  display: block;
  width: min(68vw, 330px);
  height: auto;
  margin: 0 auto clamp(34px, 6vw, 54px);
  overflow: visible;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  animation: fade-in 900ms ease-out 140ms forwards;
}

.animated-logo {
  color: var(--text);
}

.logo-c,
.logo-q-ring {
  fill: none;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.logo-c {
  stroke: var(--text);
  stroke-width: 34;
  stroke-dasharray: 318 427;
  stroke-dashoffset: 318;
  transform: rotate(54deg);
  transform-origin: 100px 100px;
  opacity: 0;
  animation:
    c-appear 1ms linear 1180ms forwards,
    c-trace 1340ms linear 1180ms forwards;
}

.logo-q {
  transform-origin: 100px 100px;
  animation: q-rotate 1800ms linear 1180ms forwards;
}

.logo-q-ring {
  stroke: var(--pink);
  stroke-width: 5;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation:
    q-ring-draw 620ms ease-out 180ms forwards,
    q-ring-weight 480ms ease-out 700ms forwards;
}

.logo-q-tail {
  fill: var(--pink);
  opacity: 0;
  transform-origin: 119.6px 145.85px;
  transform: scaleX(0);
  animation: q-tail-grow 480ms cubic-bezier(0.5, 0, 0.15, 1) 900ms forwards;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(10px);
  animation: fade-in 700ms ease-out 2850ms forwards;
}

p {
  margin: 0;
  line-height: 1.4;
}

.subtitle,
.coming-soon-text {
  position: relative;
  display: inline-grid;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  isolation: isolate;
}

.subtitle {
  --text-delay: 3180ms;
  --meter-delay: 3040ms;
  margin-bottom: 10px;
  font-size: clamp(0.95rem, 2.8vw, 1.2rem);
}

.coming-soon-text {
  --text-delay: 3430ms;
  --meter-delay: 3290ms;
  font-size: clamp(0.78rem, 2.2vw, 0.96rem);
  font-weight: 600;
  letter-spacing: 0.15em;
}

.meter-text,
.meter-bars {
  grid-area: 1 / 1;
}

.meter-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  opacity: 0;
  transform: translateY(7px);
  clip-path: inset(0 50% 0 50%);
  animation: meter-text-reveal 680ms cubic-bezier(0.16, 1, 0.3, 1) var(--text-delay) forwards;
}

.meter-bars {
  z-index: 0;
  display: inline-flex;
  align-items: flex-end;
  justify-content: space-between;
  justify-self: stretch;
  width: 100%;
  height: 1.55em;
  opacity: 0;
  transform: translateY(3px);
  animation: meter-bars-resolve 1180ms ease-out var(--meter-delay) forwards;
}

.meter-bar {
  width: clamp(2px, 0.42vw, 4px);
  height: 24%;
  background: var(--pink);
  border-radius: 999px;
  opacity: 0.72;
  animation:
    meter-bounce 360ms ease-in-out var(--meter-delay) 3 alternate,
    meter-bar-fade 360ms ease-out calc(var(--meter-delay) + 820ms) forwards;
}

.meter-bar:nth-child(2n) {
  animation-delay: calc(var(--meter-delay) + 70ms), calc(var(--meter-delay) + 840ms);
}

.meter-bar:nth-child(3n) {
  animation-delay: calc(var(--meter-delay) + 140ms), calc(var(--meter-delay) + 880ms);
}

.meter-bar:nth-child(4n) {
  animation-delay: calc(var(--meter-delay) + 210ms), calc(var(--meter-delay) + 920ms);
}

.meter-bar:nth-child(5n) {
  animation-delay: calc(var(--meter-delay) + 110ms), calc(var(--meter-delay) + 860ms);
}

.meter-bar:nth-child(7n) {
  animation-delay: calc(var(--meter-delay) + 260ms), calc(var(--meter-delay) + 940ms);
}

.dots {
  display: inline-flex;
  width: auto;
  min-width: 1.35em;
  gap: 0.16em;
  justify-content: flex-start;
  letter-spacing: 0;
  vertical-align: baseline;
}

.dots span {
  display: inline-block;
  opacity: 0;
  animation: dot-cycle 4200ms ease-in-out infinite;
}

.dots span:nth-child(1) {
  animation-delay: 3600ms;
}

.dots span:nth-child(2) {
  animation-delay: 3800ms;
}

.dots span:nth-child(3) {
  animation-delay: 4000ms;
}

.action-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: clamp(28px, 5vw, 40px);
}

.contact-link {
  padding: 0 0 4px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  animation: fade-in 600ms ease-out 3700ms forwards;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--pink);
}

.social-link {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--text);
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: color 180ms ease, transform 180ms ease;
  animation: fade-in 600ms ease-out 3820ms forwards;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--pink);
  transform: translateY(-2px);
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  visibility: hidden;
}

.modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: opacity 220ms ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: relative;
  width: min(100%, 480px);
  padding: clamp(26px, 5vw, 40px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.modal.is-open .modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--text);
}

h2 {
  margin: 0 0 24px;
  padding-right: 74px;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 10px;
  text-align: left;
}

.contact-form label {
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--text);
  outline: 2px solid rgba(244, 91, 193, 0.28);
  outline-offset: 2px;
}

.field-error {
  min-height: 18px;
  color: #b00020;
  font-size: 0.78rem;
}

.submit-button {
  min-height: 48px;
  margin-top: 8px;
  color: #ffffff;
  background: var(--text);
  border: 1px solid var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.submit-button:not(:disabled):hover,
.submit-button:not(:disabled):focus-visible {
  background: var(--pink);
  border-color: var(--pink);
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.form-status.is-success {
  color: #166534;
}

.form-status.is-error {
  color: #b00020;
}

body.modal-open {
  overflow: hidden;
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes meter-bars-resolve {
  0% {
    opacity: 0;
    transform: translateY(3px);
  }

  14%,
  72% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-2px);
  }
}

@keyframes meter-bounce {
  0% {
    height: 24%;
  }

  100% {
    height: 92%;
  }
}

@keyframes meter-bar-fade {
  to {
    opacity: 0;
    height: 10%;
  }
}

@keyframes meter-text-reveal {
  0%,
  44% {
    opacity: 0;
    transform: translateY(8px);
    clip-path: inset(0 50% 0 50%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0);
  }
}

@keyframes q-ring-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes q-ring-weight {
  to {
    stroke-width: 24;
  }
}

@keyframes q-tail-grow {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes q-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes c-appear {
  to {
    opacity: 1;
  }
}

@keyframes c-trace {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dot-cycle {
  0%,
  8% {
    opacity: 0;
    transform: translateY(2px);
  }

  22%,
  64% {
    opacity: 1;
    transform: translateY(0);
  }

  82%,
  100% {
    opacity: 0;
    transform: translateY(-1px);
  }
}

@media (max-width: 420px) {
  h1 {
    letter-spacing: 0.08em;
  }

  .modal {
    align-items: end;
    padding: 12px;
  }

  .modal-panel {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .logo,
  h1,
  .subtitle,
  .coming-soon-text,
  .contact-link,
  .social-link,
  .meter-text,
  .dots span {
    opacity: 1;
    transform: none;
  }

  .meter-text {
    clip-path: none;
  }

  .meter-bars {
    display: none;
  }

  .logo-c,
  .logo-q-ring {
    stroke-dashoffset: 0;
  }

  .logo-q-ring {
    stroke-width: 24;
  }

  .logo-q-tail {
    opacity: 1;
    transform: none;
  }
}
