/* Index page */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-home {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0 56px;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  width: 384px;
  height: 384px;
  border-radius: 999px;
  background: rgba(224, 242, 254, 0.8);
  filter: blur(64px);
  pointer-events: none;
}

.hero-glow-left {
  top: 0;
  left: 0;
  transform: translate(-40%, -35%);
}

.hero-glow-right {
  right: 0;
  bottom: 0;
  transform: translate(35%, 35%);
  opacity: 0.75;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Split page into two equal halves */

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
}

.hero-content {
  width: 100%;
  max-width: 720px;
  justify-self: center;
  min-width: 0;
}

.hero-eyebrow {
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero-title-blue {
  color: var(--blue);
}

.hero-title-black {
  color: var(--text);
}

.hero-copy-short {
  max-width: 720px;
  margin-top: 32px;
}

.hero-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-copy-short p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.hero-bubble-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-location-bubble,
.hero-available-bubble {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 16px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--soft-shadow);
}

.hero-available-bubble {
  border-color: rgba(22, 199, 132, 0.22);
}

.hero-available-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #16c784;
  box-shadow:
    0 0 0 5px rgba(22, 199, 132, 0.12),
    0 0 14px rgba(22, 199, 132, 0.45);
}

.hero-location-icon {
  color: var(--blue);
  font-size: 17px;
  line-height: 1;
}

.hero-location-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-buttons {
  display: flex;
  width: 100%;
  max-width: 520px;
  gap: 12px;
  margin-top: 36px;
}

.hero-buttons .btn {
  flex: 1;
}

/* Right profile card */

.hero-profile-card {
  width: 100%;
  max-width: 430px;
  justify-self: center;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  padding: 34px;
  box-shadow: var(--soft-shadow);
}

.profile-card-image {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  overflow: hidden;
  border: 4px solid var(--white);
  border-radius: 999px;
  background: #f3f4f6;
  box-shadow: var(--shadow);
}

.profile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.profile-card-link {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--soft-shadow);
  transition: 0.2s ease;
}

.profile-card-link:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.profile-card-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.profile-card-logo {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
  padding: 10px;
}

.profile-card-logo img {
  max-width: 82px;
  max-height: 30px;
  object-fit: contain;
}

/* Medium screens */

@media (max-width: 1200px) {
  .hero-content {
    max-width: 620px;
  }

  .hero-profile-card {
    max-width: 380px;
    padding: 30px;
  }

  .profile-card-image {
    width: 220px;
    height: 220px;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content,
  .hero-profile-card {
    justify-self: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-copy-short {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-bubble-row {
    justify-content: center;
  }

  .hero-buttons {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: auto;
    padding: 48px 0 72px;
  }

  .hero-eyebrow {
    margin-bottom: 22px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-align: center;
  }

  .hero-title {
    font-size: 58px;
    text-align: center;
  }

  .hero-copy-short {
    margin-top: 26px;
  }

  .hero-copy-short p {
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
  }

  .hero-bubble-row {
    justify-content: center;
  }

  .hero-buttons {
    max-width: 360px;
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-profile-card {
    max-width: 360px;
    padding: 24px;
    border-radius: 22px;
  }

  .profile-card-image {
    width: 180px;
    height: 180px;
  }

  .profile-card-link {
    width: 40px;
    height: 40px;
  }

  .profile-card-logos {
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
  }

  .profile-card-logo {
    min-height: 46px;
    border-radius: 14px;
  }

  .profile-card-logo img {
    max-width: 66px;
    max-height: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-location-bubble,
  .hero-available-bubble {
    font-size: 13px;
    padding: 9px 14px;
  }

  .hero-profile-card {
    max-width: 100%;
  }
}