/* The story since 2002: a route of stations beside the pulled belief sentence. Paper. */
.story { background: var(--paper); color: var(--navy); padding-block: 64px; }
.story__in { display: grid; gap: 44px; }
.story__title { font-size: var(--fs-title); color: var(--navy); max-width: 20ch; }
.story__title:lang(en) { max-width: 22ch; }

/* the route: a gold line from the head office's ring to the last stop */
.story__route { position: relative; display: grid; gap: 26px; margin-top: 32px; padding-inline-start: 38px; }
.story__route::before {
	content: ""; position: absolute; inset-inline-start: 8px; top: 12px; bottom: 14px; width: 1.5px;
	background: linear-gradient(180deg, var(--gold), color-mix(in srgb, var(--gold) 55%, transparent));
	transform-origin: top;
}
.story__stop { position: relative; }
.story__mark {
	position: absolute; inset-inline-start: -36px; top: .62em;
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--paper); border: 1.5px solid var(--gold);
}
.story__stop--start .story__mark { /* the head office: a ring and its core */
	width: 18px; height: 18px; inset-inline-start: -38px; top: .5em;
	box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 9px var(--gold);
}
.story__stop--end .story__mark { background: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 18%, transparent); }
.story__text { max-width: 62ch; color: var(--steel); }
.story__stop--start .story__text { color: var(--navy); font-size: var(--fs-lede); line-height: var(--lh-lede); font-weight: 500; }

/* the pulled sentence on a raised sheet, under the logo's bowed deck */
.story__pull {
	position: relative; align-self: start;
	padding: 28px 26px 30px; border-radius: var(--r-lg);
	background: var(--surface); border: 1px solid var(--hair-paper);
	box-shadow: var(--sh-md);
}
.story__deck { width: min(100%, 260px); height: auto; margin-bottom: 18px; overflow: visible; }
.story__arc { fill: none; stroke: var(--gold); stroke-width: 2px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.story__piers { fill: none; stroke: color-mix(in srgb, var(--gold) 70%, transparent); stroke-width: 1.5px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
[dir="rtl"] .story__deck { transform: scaleX(-1); }
.story__quote { margin: 0; }
.story__quote p {
	font: 700 clamp(1.375rem, 1.15rem + 1vw, 1.875rem) / 1.6 var(--display);
	color: var(--navy); text-wrap: balance;
}
.story__quote p:lang(en) { line-height: 1.35; }

@media (min-width: 768px) {
	.story { padding-block: var(--sp-2xl); }
	.story__pull { padding: 36px 40px 40px; max-width: 600px; }
}
@media (min-width: 1100px) {
	.story__in { grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); column-gap: 88px; align-items: start; }
	.story__route { margin-top: 40px; gap: 30px; }
	.story__pull { position: sticky; top: 40px; margin-top: 96px; }
}

@media (prefers-reduced-motion: no-preference) {
	html.js .story [data-reveal]:not(.is-in) .story__route::before, html.js .story__main[data-reveal]:not(.is-in) .story__route::before { transform: scaleY(0); }
	html.js .story__route::before { transition: transform 1.1s var(--ease-in) .15s; }
	html.js .story__pull:not(.is-in) .story__arc { stroke-dashoffset: 1; }
	html.js .story__pull .story__arc { stroke-dasharray: 1; transition: stroke-dashoffset .9s var(--ease-in) .1s; }
	html.js .story__pull:not(.is-in) .story__piers { opacity: 0; }
	html.js .story__pull .story__piers { transition: opacity .4s var(--ease-in) .7s; }
}

/* the base resets a list's padding (ol[role=list]): the route keeps its own */
.story ol.story__route { padding-inline-start: 38px; }
