/* Caveat at weight 500, Latin only (instanced and subset from the OFL variable font). */
@font-face { font-family:'Caveat'; src:url('/fonts/Caveat-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
.murray-story__idea p { font-family:'Caveat', cursive; font-weight:500; font-size:clamp(2.2rem, 3vw, 3rem); line-height:1.12; }
.murray-story__intro { text-align:center; margin-bottom:64px; }
/* Decorative connectors sit in dedicated gaps, clear of photos and copy. */
.murray-story__grid { gap:120px; }
.murray-story__moment { position:relative; }
.murray-story__moment:not(:last-child)::after {
 content:""; position:absolute; pointer-events:none;
 width:88px; height:66px; inset-inline-start:calc(100% + 16px);
 top:calc(clamp(280px, 27vw, 360px) / 2 - 33px);
 background:url('/images/murray-step-doodle.svg') center / contain no-repeat;
}
.murray-story__moment:nth-child(2)::after { transform:scaleY(-1); }
@media(max-width:960px) {
 .murray-story__moment:not(:last-child)::after {
  top:calc(100% + 27px); inset-inline-start:calc(50% - 44px); transform:rotate(90deg);
 }
 .murray-story__moment:nth-child(2)::after { transform:rotate(90deg) scaleY(-1); }
}
/* Tablet rows put the picture beside its caption: the arrow follows the picture column. */
@media(min-width:601px) and (max-width:960px) {
 .murray-story__moment:not(:last-child)::after { inset-inline-start:calc((100% - 28px) / 4 - 44px); }
}

.murray-story__book img { object-fit:cover; }

/* Two overlapping snapshots occupy the same step footprint without a filled card. */
.murray-story__transformation {
 display:block; position:relative; padding:0; background:transparent;
 border-radius:0; overflow:visible;
}
.murray-story__transformation img {
 position:absolute; width:60%; height:auto; max-height:80%;
 aspect-ratio:3 / 4; object-fit:cover;
 border:5px solid #fffdf8; border-radius:14px;
 box-shadow:0 8px 20px #30233d18;
}
.murray-story__transformation img:first-child {
 inset-inline-start:2%; top:4%; transform:rotate(-5deg);
}
.murray-story__transformation img:last-child {
 width:48%; inset-inline-end:2%; bottom:4%; transform:rotate(5deg);
}
@media(max-width:960px) {
 .murray-story__transformation { height:280px; min-height:280px; width:100%; max-width:260px; margin-inline:auto; }
 .murray-story__transformation img { width:60%; height:auto; max-width:60%; }
}
/* On tablet, start the snapshots at the same left edge as the other two pictures. */
@media(min-width:601px) and (max-width:960px) {
 .murray-story__transformation { margin-inline:0; }
}

#murray-journey .artifact-label { font-style:normal; }

/* Keep the three story steps compact and centered on phones. */
@media(max-width:600px) {
 .homepage #murray-journey { padding-block:32px; }
 .murray-story__intro { margin-bottom:24px; }
 .murray-story__grid { gap:48px; }
 .murray-story__moment { text-align:center; }
 .murray-story__transformation { width:210px; max-width:100%; height:216px; min-height:216px; }
 .murray-story__idea { height:auto; min-height:112px; max-width:280px; margin-inline:auto; padding:20px; }
 .murray-story__idea p { font-size:2rem; }
 .murray-story__book { width:180px; max-width:100%; height:240px; margin-inline:auto; }
 .murray-story__caption { padding-top:12px; }
 .murray-story__caption h3 { font-size:1.25rem; margin-bottom:4px; }
 .murray-story__moment:not(:last-child)::after {
  width:40px; height:30px; top:calc(100% + 9px); inset-inline-start:calc(50% - 20px);
 }
}
