/* ──────────── Reset & base typography ──────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  display: flex;           /* enables sticky footer */
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  line-height: 1.55;
  color: #111;
  background: #fff;
}

/* ──────────── Header ──────────── */
.site-header {
  padding: 2rem 2rem 0;
}

.site-header h1 {
  font-size: 2rem;
  font-weight: 400;
}

.site-header h1 a {
  text-decoration: none;
  color: inherit;
}

.site-header h1 a:hover {
  text-decoration: none;
  color: inherit;
}

/* ──────────── Hero layout ──────────── */
.hero {
  display: flex;
  flex: 1;                 /* fill remaining height so footer stays bottom */
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 2rem 4rem;
}

/* --- Text column --- */
.hero-text {
  flex: 1 1 50ch;          /* increased width for better balance */
  max-width: 700px;
}

.hero-text h2 {
  font-size: clamp(2rem, 2vw + 1.5rem, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
}

.hero-text h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;  /* more space before list */
}

.hero-text ul {
  list-style: none;
  padding-left: 0;
}

.hero-text li {
  margin-bottom: 0.75rem;
  padding-left: 0;
}

/* --- Image column --- */
.hero-image img {
  width: 100%;   /* full width of its flex box */
  height: auto;  /* keeps original proportions */
  display: block;
  /* ✂️  delete or comment-out the two lines below if they’re still there
     aspect-ratio: 4 / 5;
     object-fit: cover;
  */
}

/* ──────────── Footer ──────────── */
.site-footer {
  background: #000;
  height: 80px;
  width: 100%;
}

/* ──────────── Responsive tweaks ──────────── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 1rem;
  }

  .hero-image {
    order: -1;             /* image first on mobile */
  }

  .hero-text h2 {
    font-size: 2rem;
  }
}
