/*
  Coming-soon page layout. Components and tokens live in tokens.css.
  Layout source of truth: reference/wireframe.jpg
*/

/* ---------- Frame (fixed-width portal box on the patterned page) ---------- */
.frame {
  max-width: 1120px;
  margin: 28px auto;
  background: var(--surface);
  border: 4px solid #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--navy-900), 0 18px 40px rgba(20, 26, 58, 0.35);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: linear-gradient(180deg, #f1f4f7 0%, #d6dce4 48%, #c3cbd5 52%, #d8dee6 100%);
  border-bottom: 3px solid var(--chrome-600);
}
.logo-tile {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 16px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--chrome-600), 0 4px 0 rgba(20, 26, 58, 0.2);
}
.masthead {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.masthead__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--fab-pink-deep);
  text-shadow:
    3px 0 0 #fff, -3px 0 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff,
    2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
    0 6px 0 var(--navy-900);
}
.masthead__amp {
  font-size: 0.55em;
  color: var(--navy-800);
  vertical-align: 0.2em;
}
.masthead__tagline {
  margin: 0.55rem 0 0;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.header-sticker {
  margin: 0;
  flex: none;
  font-size: 0.85rem;
  line-height: 1.1;
  text-align: center;
  transform: rotate(6deg);
}

/* ---------- Two-column body: sidebar + content ---------- */
.layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

.sidebar {
  display: flex;
  flex-direction: column;
  background: var(--chrome-200);
  border-right: 3px solid var(--chrome-600);
}
.sidebar__block {
  padding: 22px 18px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
}
.sidebar__block--dark {
  background: var(--chrome-500);
  border-bottom: 3px solid var(--chrome-600);
}
.sidebar__block--light {
  flex: 1;
}
.sidebar__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
}
.sidebar__block p {
  margin: 0;
}
.sidebar__title--big {
  font-size: 2rem;
  line-height: 1.1;
}
.construction-anim {
  aspect-ratio: 4 / 3; /* the animation is 16:9; "slice" crops its empty sides */
  margin: 1.2rem -14px 0.2rem;
}
.construction-anim--404 {
  aspect-ratio: 16 / 7; /* trims the empty space above and below the scene */
  max-width: 560px;
  margin: 0.25rem auto 0.75rem;
}
.construction-anim svg {
  display: block;
}
.sidebar__note {
  font-family: var(--font-display);
  font-weight: 600;
}

.content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Disabled tab strip, taped off */
.tab-zone {
  position: relative;
}
.tab-zone .caution-tape {
  position: relative;
  z-index: 2;
  margin: -12px -10px 0;
  transform: rotate(-1.2deg);
}
.caution-tape__track {
  animation: fab-marquee 40s linear infinite;
}

/* ---------- Main ---------- */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: start;
  gap: 28px 40px;
  padding: 36px 36px 48px;
}
/* Desktop placement: update card beside the logo, signup and about full width below */
.bubble--update {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}
.hero {
  grid-column: 2;
  grid-row: 1;
}
.bubble--signup {
  grid-column: 1 / -1;
  grid-row: 2;
}
.about {
  grid-row: 3;
}
.update__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.2;
}
.update__label {
  display: inline-block;
  padding: 0.05em 0.45em;
  margin-right: 0.15em;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--fab-pink-ink);
  font-size: 1.15em;
  text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(20, 26, 58, 0.25);
}
.bubble--update p {
  margin: 0;
  font-weight: 700;
}
.update__insta {
  margin-top: 1rem;
}

/* Sign-up */
.bubble--signup:focus {
  outline: none;
}
.signup__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
}
.signup__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.signup {
  max-width: 620px;
}
.signup .field {
  display: block;
}
/* Turnstile check on the left, Notify me on the right */
.signup__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* centred under the email field (same width as the form) */
  gap: 14px 18px;
  margin-top: 14px;
}
.signup__actions .btn-glossy {
  min-height: 60px;
  padding-inline: 2em;
}
.form-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 1.35em;
  height: 1.35em;
  margin-right: 0.5em;
  border-radius: 50%;
  background: var(--error-ink);
  color: #fff;
  font-size: 0.9em;
  line-height: 1;
  vertical-align: 0.05em;
}
.form-error {
  margin: 0 0 10px;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--error-ink);
  border-radius: 10px;
  background: #ffeef1; /* error text on this: 6.5:1 */
  color: var(--error-ink);
  font-weight: 700;
}
.form-error:empty {
  display: none;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cf-turnstile {
  min-width: 300px;
  min-height: 65px; /* reserve space so nothing jumps when the widget loads */
}
.consent {
  margin: 14px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
}
.consent a {
  font-weight: 700;
  white-space: nowrap;
}

.signup-success {
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: #fff;
  border: 3px solid var(--fab-pink);
  animation: fab-pop 0.35s ease-out;
}
.signup-success:focus {
  outline: none;
}
.signup-success:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.signup-success p {
  margin: 0;
}
.signup-success__title {
  margin-bottom: 0.3rem !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--fab-pink-ink);
}
@keyframes fab-pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---------- Hero: tilted logo sticker + COMING SOON burst ---------- */
.hero {
  position: relative;
  align-self: center;
  margin: 8px 16px 24px 36px;
}
.hero__logo {
  width: 100%;
  height: auto;
  border-radius: 34px;
  border: 6px solid #fff;
  box-shadow: 0 0 0 4px var(--navy-900), 0 14px 26px rgba(20, 26, 58, 0.3);
  transform: rotate(-8deg);
}
.hero__burst {
  --burst-size: 160px;
  position: absolute;
  left: -40px;
  bottom: -30px;
  transform: rotate(-8deg);
  animation: fab-wobble 3.5s ease-in-out infinite;
}

/* ---------- About: the Flesh and Bone statement ---------- */
.about {
  grid-column: 1 / -1;
  padding: 2rem 2.25rem 2.25rem;
  border-radius: var(--radius-bubble);
  border: var(--border-thick) solid #fff;
  box-shadow: 0 0 0 4px var(--fab-pink), var(--shadow-pop);
  background: var(--fab-maroon);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.6;
}
.about p {
  max-width: 72ch;
  margin: 0 0 1.1rem;
}
.about__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--fab-pink-soft);
  text-shadow: 3px 3px 0 #2a0414;
}
.about__lead {
  font-size: 1.15rem;
}
.about strong {
  font-size: 1.12em;
}
.about__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1;
  color: var(--fab-pink-soft);
}
.about__word--big {
  font-size: 1.8em;
}
.about__closer {
  margin-bottom: 0 !important;
  font-size: 1.2rem;
  font-weight: 700;
}
.about ::selection {
  background: var(--fab-pink-soft);
  color: var(--fab-maroon);
}
.sparkle {
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--accent-yellow);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  animation: fab-twinkle 2.4s ease-in-out infinite;
}
.sparkle--1 { top: -6px; right: 4px; }
.sparkle--2 { top: 38%; right: -14px; width: 18px; height: 18px; background: var(--fab-pink); animation-delay: 0.8s; }
.sparkle--3 { top: 20%; left: -18px; width: 20px; height: 20px; background: var(--accent-sky); animation-delay: 1.5s; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 16px 24px 18px;
  background: var(--navy-900);
  color: #fff;
  text-align: center;
  font-size: 0.875rem;
}
.site-footer p {
  margin: 0;
}
.site-footer__small {
  margin-top: 0.3rem !important;
  opacity: 0.85;
}
.site-footer :focus-visible {
  outline-color: var(--focus-ring-on-dark);
}

/* ---------- Privacy page ---------- */
.doc {
  max-width: 760px;
  background: #fff;
}
.doc::before {
  display: none;
}
.doc__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--fab-pink-ink);
}
.doc h3 {
  margin: 1.4rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.doc p,
.doc li {
  max-width: 65ch;
}
.doc ul {
  padding-left: 1.2rem;
}
.main--doc {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.main--doc .doc {
  width: 100%;
}
.back-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main {
    grid-template-columns: minmax(0, 1fr);
  }
  .bubble--update,
  .hero,
  .bubble--signup,
  .about {
    grid-column: auto;
    grid-row: auto;
  }
  .hero {
    justify-self: center;
    width: min(280px, 70%);
    margin: 12px 0 32px;
  }
}

@media (max-width: 760px) {
  .frame {
    margin: 16px 12px;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  /* The sidebar's Flesh/Bone blurbs repeat the about card, so drop them on small screens */
  .sidebar {
    display: none;
  }
  .site-header {
    gap: 14px;
    padding: 12px 16px;
  }
  .logo-tile {
    width: 68px;
    height: 68px;
    border-radius: 12px;
  }
  .masthead {
    text-align: left;
  }
  .masthead__tagline {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .main {
    padding: 28px 16px 36px;
  }
}

@media (max-width: 560px) {
  .frame {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .header-sticker {
    display: none;
  }
  .bubble {
    padding: 1.1rem 1.1rem 1.2rem;
  }
  .signup__actions .btn-glossy {
    flex: 1 1 100%;
  }
  .hero {
    width: min(220px, 62%);
  }
  .hero__burst {
    --burst-size: 112px;
    left: -36px;
    bottom: -26px;
  }
  .about {
    padding: 1.4rem 1.2rem 1.6rem;
    font-size: 1rem;
  }
}
