/* ============================================
   HOMEPAGE HERO
   Editorial split: text left, illustration right.
   Paper grain over the cream background.
   Loads after style.css & components.css.
   ============================================ */

.hero2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;   /* collage pieces never cause horizontal scroll */
  /* even space above (below the 80px fixed nav) and below the content */
  padding: calc(80px + var(--space-xl)) clamp(24px, 5vw, 72px) var(--space-xl);
  background: var(--cream);
  isolation: isolate;
}

/* Paper grain: SVG noise, multiplied over the cream */
.hero2::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.5 0 0 0 0 0.42 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero2__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;   /* wide hero container */
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;   /* illustration top lines up with the text top */
  justify-content: space-between;
  gap: var(--space-lg);
}

/* ── Text column ── */
.hero2__intro { flex: 1 1 520px; }

.hero2__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

/* Diamond between name and title, as in the How I work cards */
.hero2__eyebrow-sep { margin-inline: 0.9em; }

.hero2__headline {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--text-h1);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: var(--space-md);
}
.hero2__headline em { font-style: italic; color: var(--coral); }

.hero2__lead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-h4);
  line-height: 1.6;
  color: var(--navy);
  max-width: 560px;
  margin-bottom: var(--space-lg);
}

.hero2__ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ── Collage ── */
.hero2__collage {
  position: relative;
  flex: 1 1 460px;
  max-width: 640px;
  aspect-ratio: 1 / 1.08;
}
.hero2__collage > * {
  position: absolute;
  pointer-events: none;
}

/* ── Responsive: collage stacks under the text ── */
@media (max-width: 768px) {
  .hero2 { padding-top: 116px; }
  .hero2__collage { margin-inline: auto; width: 100%; }
}

/* ── Reduced motion: no entrance animation ── */
@media (prefers-reduced-motion: reduce) {
  .hero2 .fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Hero illustration: single image replaces the layered collage pieces */
.hero2__illustration {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Homepage nav: same width and side padding as the hero, so they line up */
.nav--wide { padding-inline: clamp(24px, 5vw, 72px); }
.nav--wide .nav__inner { max-width: 1440px; }
