/* Lazy Haven — story section. Light band on mist; editorial two-column ≥1080px
   with the bedroom photo pulled down out of the section's rhythm. */

.story {
  background: var(--c-mist);
}

.story__grid {
  display: grid;
  gap: var(--space-6);
}

.story__heading {
  max-width: 14em;
}

.story__copy {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-4);
  max-width: 36em;
}

/* Mono pull-fact — a marginal note in the mineral-ledger voice */
.story__fact {
  position: relative;
  margin-top: var(--space-6);
  max-width: 36ch;
  padding-top: var(--space-3);
  border-top: 1px solid var(--c-line);
}

.story__fact::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.5rem;
  height: 1px;
  background: var(--c-amber);
}

.story__fact p {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--c-sage);
}

/* Two images from the same day: the terrace (the title's photo) large,
   the bedroom overlapping its lower-left corner. */
.story__media {
  display: grid;
  gap: var(--space-5);
}

.story__figure {
  margin: 0;
}

.story__figure img {
  width: 100%;
  border-radius: var(--radius);
}

.story__caption {
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-sage);
}

@media (min-width: 720px) {
  .story__media {
    display: block;
    position: relative;
  }

  /* Caption keeps to the right so the overlapping bedroom never covers it */
  .story__caption--terrace {
    text-align: right;
  }

  .story__figure--bedroom {
    width: 58%;
    margin-top: -20%;
    margin-left: -6%;
    position: relative;
    z-index: 2;
  }

  .story__figure--bedroom img {
    box-shadow: var(--shadow-card);
  }
}

@media (min-width: 1080px) {
  .story__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 12fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }

  /* The pair sits low in the column and hangs past the section's bottom
     padding into the deeper band beneath — offset via margins, never
     transform, so it can't fight the data-reveal transition. */
  .story__media {
    align-self: end;
    position: relative;
    z-index: 2;
    margin-bottom: calc(-1 * (var(--section-pad) + var(--space-6)));
  }
}
