/* =========================
   GENERIC SECTIONS
========================= */

.section {
  padding: var(--space-lg) 0;
}

.section--muted {
  background-color: var(--colour-muted);
}

.section header {
  margin-bottom: var(--space-lg);
}

.section header h2 {
  margin-bottom: 0.75rem;
  max-width: 28ch;
}

.section header p {
  max-width: 65ch;
}


/* =========================
   HERO (LOCKED LAYOUT)
========================= */

.hero {
  background-color: var(--colour-muted);
  padding: 6rem 0;
  overflow: hidden; /* hard lock */
}

/* grid container */
.hero .container {
  align-items: center;
}

/* left column */
.hero-content {
  max-width: 600px;
}

/* LOGO — hard constrained */
.hero-logo {
  margin-bottom: 3rem;
  max-width: 360px;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

/* headline */
.hero h1 {
  font-size: clamp(2.25rem, 3vw, 3rem);
  max-width: 22ch;
  margin-bottom: 1.25rem;
}

/* intro */
.hero-intro {
  font-size: 1.125rem;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

/* bullet points */
.hero-points {
  margin-bottom: 2rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.hero-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--colour-primary);
}

/* actions */
.hero-actions {
  margin-bottom: 1.5rem;
}

/* socials */
.hero-socials a {
  margin-right: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-socials a:hover {
  text-decoration: underline;
}


/* =========================
   HERO MEDIA (DESKTOP)
========================= */

.hero-media {
  max-width: 520px;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}


/* =========================
   RESPONSIVE LOCKS
========================= */

@media (max-width: 900px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-logo {
    max-width: 280px;
  }

  .hero h1 {
    max-width: none;
  }
}


/* =========================
   MOBILE HERO BEHAVIOUR
   Image stays visible but
   becomes subtle & supportive
========================= */

@media (max-width: 768px) {
  .hero .container {
    text-align: left;
  }

  .hero-media {
    margin-top: 3rem;
    max-width: 100%;
    opacity: 0.35;          /* visual subtlety */
    pointer-events: none;  /* purely decorative */
  }

  .hero-media img {
    max-height: 240px;      /* keeps it present, not dominant */
    object-fit: cover;
  }
}
