/* Homepage styles - mobile first
--------------------------------------------- */

/* Hero
--------------------------------------------- */

.home-hero {
  position: relative;
  /* min-height: calc(100svh - 4.5rem); */
  overflow: hidden;
  isolation: isolate;
  background-color: var(--color-background);
}

.home-hero__media,
.home-hero__media picture,
.home-hero__overlay {
  position: absolute;
  inset: 0;
}

.home-hero__media {
  z-index: -2;
}

.home-hero__media picture {
  display: block;
}

.home-hero__image {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.home-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(
      to bottom,
      rgba(7, 8, 9, 0.12),
      rgba(7, 8, 9, 0.72) 42%,
      #08090a 86%
    ),
    linear-gradient(90deg, rgba(7, 8, 9, 0.82), rgba(7, 8, 9, 0.12));
}

.home-hero__shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(calc(100% - 1.5rem), 90rem);
  /* min-height: inherit; */
  margin-inline: auto;
  padding-block: 3rem 2rem;
}

.home-hero__content {
  width: 100%;
  max-width: 44rem;
}

.home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: clamp(0.7rem, 3vw, 0.82rem);
}

.home-hero__eyebrow::before {
  flex: 0 0 2rem;
  width: 2rem;
  height: 1px;
  background-color: var(--color-gold);
  content: "";
}

.home-hero__title {
  color: var(--color-text);
  font-size: clamp(1.6rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 0.18rem 1.6rem rgba(0, 0, 0, 0.55);
}

.home-hero__script {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-gold);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
  transform: rotate(-2deg);
}

.home-hero__script::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 22%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold) 18%,
    var(--color-gold-light),
    transparent
  );
  content: "";
  transform: rotate(-2deg);
}

.home-hero__description {
  max-width: 35rem;
  margin-top: 1.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--color-gold);
  color: var(--color-text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  text-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.75);
}

.home-hero__actions {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.home-hero__actions .button {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.75rem 0.45rem;
  font-size: clamp(0.62rem, 2.8vw, 0.8rem);
  line-height: 1.2;
  white-space: normal;
}

.home-hero__trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 165, 92, 0.2);
  border-bottom: 1px solid rgba(201, 165, 92, 0.2);
  padding-bottom: 1.25rem;
}

.home-hero__trust-item {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.home-hero__trust-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--color-gold);
}

.home-hero__trust-icon svg {
  width: 2.35rem;
  height: 2.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero__trust-title {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero__trust-text {
  margin-top: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

@media (min-width: 40rem) {
  .home-hero__shell {
    width: min(calc(100% - 2rem), 90rem);
  }

  .home-hero__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .home-hero__trust-item {
    padding-inline: 1rem;
    border-right: 1px solid rgba(201, 165, 92, 0.35);
  }

  .home-hero__trust-item:first-child {
    padding-left: 0;
  }

  .home-hero__trust-item:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

@media (min-width: 48rem) {
  .home-hero {
    min-height: max(48rem, calc(100svh - 5rem));
  }

  .home-hero__image {
    object-position: 66% center;
  }

  .home-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(6, 7, 8, 0.98) 0%,
        rgba(6, 7, 8, 0.88) 38%,
        rgba(6, 7, 8, 0.25) 70%,
        rgba(6, 7, 8, 0.05) 100%
      ),
      linear-gradient(to top, rgba(6, 7, 8, 0.82), transparent 40%);
  }

  .home-hero__shell {
    padding-block: 3.5rem 2rem;
  }

  /* .home-hero__title {
    max-width: 13ch;
    font-size: clamp(4rem, 6vw, 4.4rem);
  } */

  /* .home-hero__script {
    font-size: clamp(3.8rem, 6vw, 2.7rem);
  } */

  .home-hero__description {
    font-size: 1.05rem;
  }

  .home-hero__actions {
    gap: 1rem;
    margin-top: 2rem;
  }

  .home-hero__actions .button {
    flex: 0 0 auto;
    min-width: 15.5rem;
    padding-inline: 1.5rem;
    font-size: 0.92rem;
  }

  .home-hero__trust {
    max-width: 50rem;
    margin-top: 3rem;
  }
}

@media (min-width: 75rem) {
  .home-hero__content {
    max-width: 48rem;
  }

  .home-hero__trust {
    max-width: 52rem;
  }
}
/* Compact mobile trust bar
--------------------------------------------- */

@media (max-width: 47.99rem) {
  .home-hero__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.25rem;
    padding-top: 0.875rem;
  }

  .home-hero__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    padding-inline: 0.4rem;
    border-right: 1px solid rgba(201, 165, 92, 0.3);
    text-align: center;
  }

  .home-hero__trust-item:last-child {
    border-right: 0;
  }

  .home-hero__trust-icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .home-hero__trust-icon svg {
    width: 1.7rem;
    height: 1.7rem;
  }

  .home-hero__trust-title {
    font-size: clamp(0.52rem, 2.3vw, 0.65rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
  }

  .home-hero__trust-text {
    display: none;
  }
}
