/* ==========================================================================
   WEAR HUMAN — Coming Soon
   Inherits tokens and type from styles.css
   ========================================================================== */

.soon {
  background: var(--ink);
  color: var(--paper);
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

/* --------------------------------------------------------------------------
   Drifting artwork band
   -------------------------------------------------------------------------- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 85% at 50% 50%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 85% at 50% 50%, #000 20%, transparent 78%);
}

.veil-track {
  display: flex;
  gap: 28px;
  padding-left: 28px;
  width: max-content;
  animation: drift 120s linear infinite;
  will-change: transform;
}

.veil-tile {
  flex: 0 0 auto;
  width: clamp(180px, 26vw, 340px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 3px;
}

.veil-tile:nth-child(even) { aspect-ratio: 4 / 5; align-self: flex-start; margin-top: 8vh; }
.veil-tile:nth-child(3n)   { aspect-ratio: 1 / 1;  align-self: flex-end;   margin-bottom: 10vh; }

.veil-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(0.55) contrast(1.1) blur(7px);
  transform: scale(1.06);
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Dark wash over the band — keeps the type legible, lets the art breathe on the right */
.soon::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(19,18,17,0.96) 0%, rgba(19,18,17,0.9) 38%, rgba(19,18,17,0.62) 74%, rgba(19,18,17,0.5) 100%),
    linear-gradient(to bottom, rgba(19,18,17,0.7) 0%, rgba(19,18,17,0) 22%, rgba(19,18,17,0) 78%, rgba(19,18,17,0.75) 100%);
}

/* --------------------------------------------------------------------------
   Shell
   -------------------------------------------------------------------------- */
.soon-shell {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 4vw, 40px) var(--gutter) calc(clamp(22px, 4vw, 40px) + env(safe-area-inset-bottom));
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.soon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.soon-logo {
  height: 20px;
  width: auto;
  filter: invert(1) brightness(1.6);
}

.soon-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 245, 242, 0.5);
}

/* --------------------------------------------------------------------------
   Centre
   -------------------------------------------------------------------------- */
.soon-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 12vh, 120px) 0;
  max-width: 720px;
}

.soon-kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 245, 242, 0.55);
  margin-bottom: clamp(20px, 4vw, 30px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.soon-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.8); }
}

.soon-title {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

.soon-title .it { color: rgba(246, 245, 242, 0.72); }

.soon-lede {
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.62;
  color: rgba(246, 245, 242, 0.6);
  max-width: 48ch;
  margin-top: clamp(20px, 3vw, 28px);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Notify form
   -------------------------------------------------------------------------- */
.soon-form { margin-top: clamp(30px, 5vw, 44px); max-width: 520px; }

.soon-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 20px;
  border: 1px solid rgba(246, 245, 242, 0.22);
  border-radius: 999px;
  background: rgba(246, 245, 242, 0.04);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.soon-field:focus-within {
  border-color: rgba(246, 245, 242, 0.6);
  background: rgba(246, 245, 242, 0.07);
}

.soon-field.invalid { border-color: #E0785F; }

.soon-field input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: none;
  outline: none;
  background: none;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.soon-field input::placeholder { color: rgba(246, 245, 242, 0.4); }

/* Kill the browser's autofill wash */
.soon-field input:-webkit-autofill,
.soon-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--paper);
  transition: background-color 9999s ease-in-out 0s;
}

.soon-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.soon-submit:hover { opacity: 0.86; }
.soon-submit:disabled { opacity: 0.55; cursor: default; }

.soon-submit-arrow { transition: transform 0.3s var(--ease); }
.soon-submit:hover .soon-submit-arrow { transform: translateX(3px); }

.soon-msg {
  min-height: 20px;
  margin-top: 12px;
  padding-left: 20px;
  font-size: 0.8125rem;
  color: rgba(246, 245, 242, 0.55);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.soon-msg.visible { opacity: 1; transform: none; }
.soon-msg.error { color: #E0785F; }

.soon-fine {
  margin-top: 18px;
  font-size: 0.75rem;
  color: rgba(246, 245, 242, 0.38);
  letter-spacing: 0.02em;
}

/* Done state */
.soon-done {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.2;
  color: var(--paper);
  max-width: 22ch;
}

.soon-done span { font-style: italic; color: rgba(246, 245, 242, 0.7); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.soon-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(246, 245, 242, 0.38);
}

.soon-bottom a {
  color: rgba(246, 245, 242, 0.72);
  border-bottom: 1px solid rgba(246, 245, 242, 0.25);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.soon-bottom a:hover { color: var(--paper); border-color: var(--paper); }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  .soon-submit { padding: 0 16px; }
  .soon-submit-text { display: none; }
  .soon-submit-arrow { font-size: 1.125rem; }
  .soon-field { padding-left: 18px; }
}

@media (min-width: 700px) {
  .soon-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .veil-track { animation: none; }
  .soon-kicker::before { animation: none; }
}
