/* =========================
   HERO BASE
   ========================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 700px;
  background: #000;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
}

.hero__bokeh {
  position: absolute;
  inset: 0;
  background: url('../assets/bokeh-bg.png') center/cover no-repeat;
  opacity: .85;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* ===== Desktop layout fix: image sticks to bottom-left ===== */
@media (min-width: 1200px) {

  /* Make the hero area the height you designed for */
  .hero { min-height: 700px; }

  /* The grid fills the hero height so the photo can align to the bottom */
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;      /* image | text */
    align-items: stretch;                /* columns fill full height */
    min-height: 700px;
    padding: 4rem 6vw;
    gap: 3rem;
  }

  /* The image column: sit at the bottom, not centered */
  .hero__media {
    display: flex;
    align-items: flex-end;               /* bottom of the column */
  }

  /* The portrait: fill height, crop from bottom-left */
  .hero__media picture,
  .hero__media img {
    width: 100%;
    height: 100%;                        /* key */
    max-width: none;
    object-fit: cover;
    object-position: left bottom;        /* glue to bottom-left */
    border-radius: 0;
    display: block;
  }

  /* Text column stays aligned left and vertically centered by padding */
  .hero__content {
    align-self: center;
    text-align: left;
  }

  .hero__text-img {
    width: clamp(460px, 42vw, 620px);
    height: auto;
    margin: 0 0 1.5rem 0;
    display: block;
  }

  .hero__cta {
    text-align: center;            /* <-- centers inline elements */
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s, transform .08s;
  }
  .hero__cta:hover { background: #D9D9D9; color: #000; }
  .hero__cta:active { transform: translateY(1px); }
}
.hero__cta {
  display: block;          /* allows auto centering */
  margin: 1.5rem auto 0;   /* <-- centers the button horizontally */
  width: fit-content;      /* prevents it from stretching */
}


/* =========================
   TABLET (768–1199px)
   Stack, circle portrait
   ========================= */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero {
    min-height: 640px;
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 6vw;
    text-align: center;
  }
  .hero__media picture,
  .hero__media img {
    width: 444px;
    height: 444px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }
  .hero__text-img {
    width: min(546px, 90vw);
    height: auto;
    margin: 1.25rem auto 1.25rem;
  }
  .hero__cta {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
  }
}

/* =========================
   MOBILE (<768px)
   Stack, smaller circle
   ========================= */
@media (max-width: 767.98px) {
  .hero {
    min-height: 560px;
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.25rem 6vw;
    text-align: center;
  }
  .hero__media picture,
  .hero__media img {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }
  .hero__text-img {
    width: min(347px, 88vw);
    height: auto;
    margin: 1rem auto 1rem;
  }
  .hero__cta {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
  }
}