/* ==========================================================
   BIM LABS — BOOK WITH US
   Homepage launch section
========================================================== */

.book-with-us {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  overflow: hidden;
  color: rgba(246, 246, 240, 0.94);
  background: #000;
  font-family: var(--work-sans, "Manrope", system-ui, sans-serif);
  isolation: isolate;
}

.book-with-us::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.035), transparent 34rem),
    linear-gradient(180deg, #000 0%, #020202 48%, #000 100%);
}

.book-with-us__shell {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, 82rem);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: clamp(6rem, 11vh, 9rem) 0 clamp(4rem, 8vh, 6rem);
}

.book-with-us__center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.book-with-us__kicker {
  margin: 0 0 1.25rem;
  color: rgba(246, 246, 240, 0.42);
  font-family: var(--work-mono, "IBM Plex Mono", monospace);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.book-with-us__title {
  max-width: 74rem;
  margin: 0;
  color: rgba(246, 246, 240, 0.96);
  font-size: clamp(4rem, 7.3vw, 9.6rem);
  font-weight: 300;
  letter-spacing: -0.09em;
  line-height: 0.88;
}

.book-with-us__intro {
  max-width: 43rem;
  margin: clamp(1.7rem, 3.5vh, 2.6rem) auto 0;
  color: rgba(246, 246, 240, 0.56);
  font-size: clamp(0.98rem, 1vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.book-with-us__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: clamp(2rem, 4vh, 3rem);
  min-width: 16.5rem;
  min-height: 3.65rem;
  padding: 0 1.55rem;
  border: 1px solid rgba(246, 246, 240, 0.22);
  border-radius: 999rem;
  color: rgba(246, 246, 240, 0.94);
  background: transparent;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  transition:
    color 280ms ease,
    background 280ms ease,
    border-color 280ms ease,
    transform 420ms cubic-bezier(0.19, 1, 0.22, 1);
}

.book-with-us__button:hover {
  color: #050505;
  background: rgba(246, 246, 240, 0.92);
  border-color: rgba(246, 246, 240, 0.92);
  transform: translateY(-2px);
}

.book-with-us__button span:last-child {
  transition: transform 420ms cubic-bezier(0.19, 1, 0.22, 1);
}

.book-with-us__button:hover span:last-child {
  transform: translateX(0.35rem);
}

.book-with-us__expectations {
  width: min(100%, 62rem);
  margin-top: clamp(3rem, 6vh, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(246, 246, 240, 0.1);
  border-bottom: 1px solid rgba(246, 246, 240, 0.1);
}

.book-with-us__expectations div {
  min-height: 9.25rem;
  padding: 1.15rem;
  text-align: left;
  border-left: 1px solid rgba(246, 246, 240, 0.08);
}

.book-with-us__expectations div:first-child {
  border-left: 0;
}

.book-with-us__expectations span {
  display: block;
  margin-bottom: 1.5rem;
  color: rgba(246, 246, 240, 0.28);
  font-family: var(--work-mono, "IBM Plex Mono", monospace);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.book-with-us__expectations strong {
  display: block;
  color: rgba(246, 246, 240, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.book-with-us__expectations p {
  max-width: 14rem;
  margin: 0.65rem 0 0;
  color: rgba(246, 246, 240, 0.42);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 900px) {
  .book-with-us {
    min-height: auto;
    overflow: visible;
  }

  .book-with-us__shell {
    width: min(100% - 2rem, 42rem);
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .book-with-us__title {
    font-size: clamp(3.5rem, 14vw, 6.8rem);
    letter-spacing: -0.078em;
    line-height: 0.92;
  }

  .book-with-us__intro {
    max-width: 34rem;
  }

  .book-with-us__expectations {
    grid-template-columns: 1fr;
  }

  .book-with-us__expectations div {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid rgba(246, 246, 240, 0.08);
  }

  .book-with-us__expectations div:first-child {
    border-top: 0;
  }

  .book-with-us__expectations p {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .book-with-us__shell {
    width: min(100% - 1.25rem, 42rem);
  }

  .book-with-us__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-with-us__button,
  .book-with-us__button span:last-child {
    transition: none !important;
  }
}
