/* ==========================================================================
   HOMEPAGE STYLES
   ========================================================================== */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  padding-top: 140px;
  padding-bottom: 80px;
  padding-left: 6vw;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.48);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
}
.hero .eyebrow { color: var(--color-accent); }
.hero h1 { color: var(--color-white); margin-bottom: 20px; }
.hero p {
  color: #e8e6e2;
  max-width: 480px;
  margin: 0 auto 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

/* Signature element: a waveform trace that resolves from a flat line into an
   EEG-like rhythm and back — a quiet nod to neurophysiology rather than a
   generic divider. Used once, here only. */
.hero__trace {
  width: 220px;
  height: 32px;
  margin: 0 auto 32px;
  opacity: 0.85;
}
.hero__trace path {
  stroke: var(--color-accent);
  stroke-width: 1.25;
  fill: none;
}

@media (max-width: 768px) {
  .hero {
    justify-content: center;
    padding-left: 0;
  }
  .hero__content {
    max-width: 100%;
  }
}

/* ---- Intro statement ---- */
.intro {
  text-align: center;
}
.intro__text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 19px;
  color: var(--color-primary);
  font-weight: 300;
}

/* ---- Services grid ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 56px;
}
.service {
  text-align: center;
}
.service__marker {
  width: 28px;
  height: 1px;
  background-color: var(--color-accent);
  border: none;
  margin: 0 auto 20px;
}
.service h3 { margin-bottom: 14px; }
.service p { font-size: 14px; }

@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---- Image break ---- */
.image-break {
  position: relative;
  min-height: 460px;
  background-color: #cfc9c0; /* placeholder background until real photography is added */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}
.image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.4);
}
.image-break__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 0 24px;
}
.image-break h2 { color: var(--color-white); }
.image-break p { color: #e8e6e2; margin-top: 16px; }

/* ---- Closing CTA band ---- */
.cta-band {
  text-align: center;
  background-color: var(--color-white);
}
.cta-band h2 { margin-bottom: 24px; }
