/* ABOUTME: Styles for the hero section on the landing page.
   ABOUTME: Handles hero layout, title, section divider, and full-width image. */

/* ===========================
   Hero Section
   =========================== */

.hero {
  height: 100vh;
  padding: 1em;
  display: flex;
  flex-direction: column;
}

/* ===========================
   Hero Title
   =========================== */

.hero__title {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  padding-top: 1em;
}

/* ===========================
   Section Divider
   =========================== */

.section-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1em;
}

.section-divider__icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  background:
    linear-gradient(var(--color-black), var(--color-black)) center / 2px 100% no-repeat,
    linear-gradient(var(--color-black), var(--color-black)) center / 100% 2px no-repeat;
}

.section-divider__label {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-black);
  padding: 0.2em 1em;
  border-radius: 999px;
}

/* ===========================
   Hero Image
   =========================== */

.hero__image {
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
