html:has(body.soon),
body.soon {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
}

.soon {
  --accent: #ffc933;
  --soon-paper: #f3efe8;
  position: relative;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--soon-paper);
}

.soon__bg {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.soon__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 48%;
}

.soon__header .site-header__tag { display: none; }
.soon__header {
  grid-template-columns: 1fr auto;
}
.soon__header .logo {
  display: none;
}

.soon__status { display: none; }

.soon__main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px var(--gutter) 64px;
}

.soon__intro {
  position: relative;
  width: min(340px, 72vw);
}

.soon__intro .eyebrow {
  margin-bottom: 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.soon__title {
  font-size: clamp(52px, 13vw, 92px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.soon__dot {
  color: var(--accent);
}

.soon__lead {
  max-width: 32ch;
  margin-top: 22px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.soon__form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 300px;
  margin-top: 32px;
  padding: 5px 5px 5px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
  transition: box-shadow 0.3s var(--ease);
}
.soon__form:focus-within {
  box-shadow: 0 12px 36px rgba(20, 20, 20, 0.12);
}
.soon__form.is-invalid { box-shadow: 0 0 0 1.5px var(--accent); }

.soon__form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}
.soon__form input::placeholder { color: #b4afa6; }
.soon__form input:-webkit-autofill,
.soon__form input:-webkit-autofill:hover,
.soon__form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #141414;
  caret-color: #141414;
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 99999s ease-out;
}

.soon__form button {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.soon__form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.soon__form button:hover { background: #ffe06a; }
.soon__form button:disabled { opacity: 0.6; cursor: wait; }

.soon__message {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 10px;
  padding-left: 22px;
  font-size: 13px;
  color: var(--ink-soft);
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 901px) {
  .soon { overflow: hidden; }
  .soon__bg img { object-position: 70% 50%; }
  .soon__main { padding: 108px var(--gutter) 96px; }
  .soon__intro { width: min(640px, 58vw); }
  .soon__title {
    font-size: clamp(64px, 5.6vw, 96px);
  }
}

@media (max-width: 900px) {
  .soon__bg img { object-position: 88% 42%; }
  .soon__main {
    padding: 96px var(--gutter) 64px;
  }
  .soon__intro { width: min(300px, 68vw); }
  .soon__title { font-size: clamp(52px, 15.5vw, 72px); }
  .soon__lead { font-size: 18px; margin-top: 18px; }
  .soon__form { margin-top: 24px; max-width: none; }
}

html[data-theme="dark"] body.soon { --soon-paper: #131210; }
.soon__bg--dark { display: none; }
html[data-theme="dark"] .soon__bg--light { display: none; }
html[data-theme="dark"] .soon__bg--dark { display: block; }
html[data-theme="dark"] .soon__intro .eyebrow {
  background: var(--ink);
  color: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  .soon__form,
  .soon__form button { transition: none; }
}
