/* ---------- Coming-soon stub page ----------
   Standalone page — deliberately not sharing styles.css with the main
   landing page, since this is meant to sit on a different domain from it
   (see index.html) and should stay fully self-contained. Two fixed
   breakpoints matching the two Figma checkpoints (390px mobile frame
   805:3719, 1440px desktop frame 805:3709) rather than the main site's
   fluid clamp() scaling — a temporary placeholder doesn't need it. */

:root {
  --color-white: #ffffff;
  --color-orange: #ff6816;
  --color-orange-dark: #cc280c;
  --font-display: 'Unbounded', 'Golos Text', sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #0a0807;
  /* On both, not just body — see assets/js/viewport-fix.js. */
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.stub {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.stub__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.stub__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.stub__top-fade {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* ---------- Header: logo + contact ----------
   A real 108px-tall positioning box (44px button + 32px top/bottom —
   the Figma-implied header band), not the page viewport. .logo and
   .stub__contact both center on ITS height via top:50%, so they always
   share one vertical center regardless of actual viewport height — the
   previous version centered .logo on the *viewport's* height via a
   `calc(50% - 396.81px)` offset tuned only for a 900px-tall reference,
   which drifted out of alignment (and off both edges sideways — see
   .logo below) at any other window size. */
.stub__header {
  position: relative;
  height: 108px;
}

.logo {
  position: absolute;
  z-index: 2;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 127px;
  text-decoration: none;
  color: var(--color-white);
}

/* Single combined wordmark + "AGENCY" asset (its width/height attributes
   exactly match its own viewBox, so it scales cleanly with no aspect-ratio
   hack needed) — replaces the old mark image + separate text span. */
.logo__mark {
  display: block;
  width: 100%;
  height: auto;
}

.stub__contact {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 7px 16px 7px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.stub__contact:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Diagonal light sweep across the pill on hover — a moving highlight
   rather than a flat color change, since the button itself has no
   gradient of its own to animate. */
.stub__contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}

.stub__contact:hover::before {
  transform: translateX(120%);
  transition: transform 0.7s ease;
}

.stub__contact:not(:hover)::before {
  transition: transform 0s;
}

.stub__contact-avatar {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Content: headline / description / CTA ---------- */

.stub__content {
  position: absolute;
  left: 50%;
  bottom: 65px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 403px;
  max-width: calc(100vw - 32px);
}

.stub__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  text-align: center;
  color: var(--color-white);
}

.stub__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.48px;
  text-transform: uppercase;
  white-space: nowrap;
}

.stub__desc {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  letter-spacing: -0.32px;
}

.stub__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 100px;
  /* Extra stop + double-width background so hover can slide the gradient
     across itself (background-position) instead of just swapping colors —
     the "flowing" look asked for, using the same two brand colors. */
  background-image: linear-gradient(90deg, var(--color-orange) 0%, var(--color-orange-dark) 50%, var(--color-orange) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  transition: background-position 0.5s ease;
}

.stub__cta:hover {
  background-position: 100% 0%;
}

.lb--m {
  display: none;
}

a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Mobile (≤767px, matches Figma frame 805:3719 @ 390px) ---------- */

@media (max-width: 767px) {
  .logo {
    left: 20px;
    width: 113px;
  }

  .stub__contact {
    right: 20px;
    height: 44px;
    font-size: 12px;
  }

  .stub__content {
    bottom: 40px;
    width: 278px;
  }

  .stub__title {
    white-space: normal;
    line-height: 1.09;
  }

  .lb--m {
    display: inline;
  }

  .lb--d {
    display: none;
  }
}
