/* ═══════════════════════════════════════════
   COLLAGE — giant editorial type interrupted by
   photographs. Rows of huge words overlap vertically
   (negative margins, line-height .85); photos sit
   inside the flex row like one more word, slightly
   rotated; hand-written margin notes pin the whole
   thing to the runbook language.
   ═══════════════════════════════════════════ */

.collage {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  background: linear-gradient(180deg, #0b0b0e 0%, #131318 42%, var(--pole-hi) 100%);
}

.collage__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0.85;
  white-space: nowrap;
  overflow: hidden;
}
.collage__row--1 { z-index: 2; margin-bottom: -0.12em; }
.collage__row--2 { z-index: 1; margin-bottom: -0.12em; transform: translateX(-3vw); }
.collage__row--3 { z-index: 2; transform: translateX(4vw); }

.collage__word {
  flex-shrink: 0;
  padding: 0 0.14em;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 10.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f4f4f5;
}
.collage__word--outline {
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--accent-soft) 75%, transparent);
}
.collage__word--violet { color: var(--accent-soft); }
.collage__word--script {
  font-family: var(--font-italic);
  font-style: italic;
  text-transform: none;
  font-size: clamp(2.4rem, 8.5vw, 7.5rem);
  color: rgba(244, 244, 245, 0.55);
}

.collage__img {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: clamp(110px, 16vw, 230px);
  height: clamp(88px, 12vw, 170px);
  margin: 0 -0.35em;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 6px 12px 34px rgba(0, 0, 0, 0.55);
  outline: 1px solid rgba(255, 255, 255, 0.18);
  outline-offset: -1px;
}
.collage__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hand-written margin note — runbook annotation energy */
.collage__note {
  position: absolute;
  z-index: 5;
  max-width: 300px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(244, 244, 245, 0.78);
  padding: 12px 16px;
  border: 1px dashed color-mix(in srgb, var(--accent-soft) 55%, transparent);
  border-radius: 4px;
  background: rgba(11, 11, 14, 0.55);
  backdrop-filter: blur(4px);
  transform: rotate(-2deg);
}
.collage__note b { color: var(--accent-soft); font-weight: 500; }
.collage__note--tl { top: 26px; left: clamp(16px, 5vw, 90px); }
.collage__note--br {
  right: clamp(16px, 5vw, 90px);
  bottom: -26px; /* deliberately bleeds over the seam into the next section */
  transform: rotate(1.6deg);
  color: var(--ink-1);
  background: color-mix(in srgb, var(--bg-0) 82%, transparent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

@media (max-width: 719px) {
  .collage { padding: 64px 0 84px; }
  .collage__word { font-size: clamp(2.4rem, 11vw, 5rem); }
  .collage__word--script { font-size: clamp(1.8rem, 8vw, 3.6rem); }
  .collage__img { width: 30vw; height: 22vw; }
  .collage__note { position: static; margin: 26px auto 0; transform: rotate(-1.2deg); }
  .collage__note--br { display: none; }
}
